[Bug 358261] [NEW] net rpc command potentially dangerous on Windows 2003 Server

therebel22 therebel22 at gmail.com
Thu Apr 9 08:37:07 BST 2009

Public bug reported:

Binary package hint: samba

it is a request feature :

Example :
- you have a Windows 2003 Domain Controller named "dc1".
- you have a linux machine and in smb.conf,  a mistake is made : "netbios name" parameter is set to "dc1"

if you want to join machine to your domain, and if you use "net rpc"
instead of "net ads", the command will succeed. But the DC1 machine
object on your 2003 Domain Controller will be replaced by a new object
that referred  to the linux machine !

At this point, after reboot, your windows 2003 Domain Controller is
unusable (DNS down can't contact Active Directory)

Solution is to use  Microsoft tool : netdom resetpwd

It would be great if net rpc detect existing  object machine named as
linux machine ..

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

net rpc command potentially dangerous on Windows 2003 Server 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

More information about the Ubuntu-server-bugs mailing list