The net(8) man page described the "ads join" command either poorly or inaccurately. chug 59# man net ... [RPC|ADS] JOIN [TYPE] [-U username[%password]] [options] Join a domain. If the account already exists on the server, and [TYPE] is MEMBER, the machine will attempt to join automatically. (Assuming that the machine has been created in server manager) Otherwise, a password will be prompted for, and a new account may be created. [TYPE] may be PDC, BDC or MEMBER to specify the type of server joining the domain. chug 60# /usr/samba/bin/net help ads ... net ads join <org_unit> joins the local machine to a ADS realm In reality, it looks like the org_unit is the distinguished name that is used to bind (in the LDAP sense?) to the ADS.
(In reply to comment #0) > The net(8) man page described the "ads join" command either poorly > or inaccurately. > > chug 59# man net > ... > [RPC|ADS] JOIN [TYPE] [-U username[%password]] [options] > Join a domain. If the account already exists on the server, and [TYPE] is > MEMBER, the machine will attempt to join automatically. (Assuming that > the machine has been created in server manager) Otherwise, a password > will be prompted for, and a new account may be created. > > [TYPE] may be PDC, BDC or MEMBER to specify the type of server joining > the domain. > > chug 60# /usr/samba/bin/net help ads > ... > net ads join <org_unit> > joins the local machine to a ADS realm > > In reality, it looks like the org_unit is the distinguished name that is > used to bind (in the LDAP sense?) to the ADS. James, Please could you give me a documentation patch, or else make appropriate changes to the net command sources. - John T.
Cleaning up versions. There was no 3.0.15 so leaving it in bugzilla is causing some confusion. Moving these nuder 3.0.20. Originally files against 3.0.15preX.
looks like the syntax (and documentation) was cleared long time ago