[Samba] Samba4 and discrepancies in the Wiki documentation

Ian Coetzee samba at iancoetzee.za.net
Wed Aug 3 03:25:18 MDT 2011

Hi Andrew,

On Wed, Aug 3, 2011 at 11:08 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> 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.

Ah, well that would explain everything, thank you for letting me know,
I really thought I was going around the bend :)

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

Well, that actually makes logical sense, I will keep it in mind for next time.


More information about the samba mailing list