Bug 1343 - net ads join requires the location of the account in the directory if using the non-default cn=computers container
Summary: net ads join requires the location of the account in the directory if using t...
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: net utility (show other bugs)
Version: 3.0.4
Hardware: Other other
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-05-11 09:01 UTC by Gerald (Jerry) Carter (dead mail address)
Modified: 2005-08-24 10:20 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Gerald (Jerry) Carter (dead mail address) 2004-05-11 09:01:20 UTC
even if the account already exists and the search returns it, net 
ads join forces you to pass the ou in on the command line in an
awkward syntax.  For example....

net ads join .... "america,ou=clients"
Comment 1 Guenther Deschner 2004-09-16 11:00:24 UTC
Jerry, would you mind checking if r2353 (in trunk only for now) fixes that ?

With the fix I could easily rejoin a client with an existing machine-account
located in 
ou=level1,ou=level0,dc=w2k3test,dc=sernet,dc=de with

a) net ads join, and 
b) net ads join level0/level1

If it works for you as well, I'm going to put that into 3_0.
Comment 2 Guenther Deschner 2004-10-06 09:23:35 UTC
This was only an issue with trunk until recently. Works fine now. Closing this bug.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:20:06 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.