[Bug 246578] [NEW] using "net ads join" with -S breaks if given the long domain name

gavinmc gmccullagh at gmail.com
Tue Jul 8 14:10:05 BST 2008


Public bug reported:

Binary package hint: samba

We have a windows 2003 server running active directory.  Trying to join
an up-to-date Ubuntu Hardy server to the domain would not work if we
passed "-S staff.gcd.ie" but would work if we passed "-S CENTRALADMIN"
(the old NT4 DOMAIN name) and if we dropped the -S entirely.  It should
surely work in the first case?

So, this fails (I've obscured the domain admin username):

johnm at craic:~$ sudo net ads join -S STAFF.GCD.IE -U OURADMIN
OURADMIN's password:                                                                                                                            
Failed to join domain: Duplicate name on network  

but this works:

johnm at craic:~$ sudo net ads join -S CENTRALADMIN -U OURADMIN
OURADMIN's password:
Using short domain name -- CENTRALADMIN
Joined 'CRAIC' to realm 'STAFF.GCD.IE'

johnm at craic:~$ sudo net ads leave -S CENTRALADMIN -U OURADMIN
OURADMIN's password:
Deleted account for 'CRAIC' in realm 'STAFF.GCD.IE'

and this works:

johnm at craic:~$ sudo net ads join -U OURADMIN
OURADMIN's password:
Using short domain name -- CENTRALADMIN
Joined 'CRAIC' to realm 'STAFF.GCD.IE'

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

-- 
using "net ads join" with -S breaks if given the long domain name 
https://bugs.launchpad.net/bugs/246578
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