[Samba] Samba4 and discrepancies in the Wiki documentation

Andrew Bartlett abartlet at samba.org
Wed Aug 3 03:08:23 MDT 2011

On Tue, 2011-08-02 at 08:54 +0200, Ian Coetzee wrote:
> Hi all,
> I am in the process of testing Samba4 Alpha (latest git pull as of 1
> Aug 2011, reports itself as Alfpha17) as an additional DC in our
> network but ran into a few problems. First of all I am using this
> guide http://wiki.samba.org/index.php/Samba4/HOWTO#Samba4_HOWTO to
> install it and on step 4 I followed the link to this guide
> http://wiki.samba.org/index.php/Samba4_joining_a_domain#Samba4_joining_a_domain_as_a_DC
> to join it to the existing DC.
> All works, the compile succeeded, no problems reported on "make
> quicktest", however following these steps in guide 2:
> > Joining the existing domain as a DC
> >
> > Run the following command as root:
> >
> >> bin/net vampire samba.example.com -Uadministrator --realm=samba.example.com
> >
> > Or, if you're using a recent checkout from GIT (later than 2010/11/10) then use samba-tool instead:
> >
> >> bin/samba-tool join samba.example.com DC -Uadministrator --realm=samba.example.com
> >
> > It should show a set of debug messages about replicating the domain contents, like this:
> >
> >> Partition[CN=Configuration,DC=sample,DC=example,DC=com] objects[1596] linked_values[1]
> >
> > then it will show a message like this:
> >
> >> Joined domain V2 (SID S-1-5-21-3565189888-2228146013-2029845409) as a DC
> >
> > at this point you have joined your Samba4 server to the existing domain, and you are ready to start your Samba domain controller.
> I try to run bin/samba-tool from the source directory, but it returns
> the following error:
> > ERROR: No such command 'join'

You correctly notice that we have been updating the structure of the
'samba-tool' command.  We are trying to both document it and give it a
logical structure.  We have not had a chance to update the wiki yet. 

'samba-tool join' has become 'samba-tool domain join'

> along with the usage of the command, next I fall back to bin/net in
> the source directory which replies with:

If you have a bin/net binary, it will be very old, and will not link
with the rest of Samba.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba mailing list