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'

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

root@Samba4Test:/usr/src/samba-master# bin/net vampire <realm>
-Uadministrator --realm=<realm>
bin/net: /usr/src/samba-master/bin/shared/private/libflag_mapping.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libndr-samba.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libsocket_wrapper.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libutil_reg.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libads.so: version
`SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libCHARSET3.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libutil_sec.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/liberrors.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libmsrpc3.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libdbwrap.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libUTIL_TDB.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libpopt_samba3.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/liblibcli_lsa3.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libcliauth.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libcli_spoolss.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libsamba-sockets.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libutil_str.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libprinting_migrate.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libsmbregistry.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/librpccommon.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/liblibsmb.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libreplace.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libsecurity.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libnss_wrapper.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libutil_malloc.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libdcerpc-samba.so:
version `SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by
bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libaddns.so: version
`SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by bin/net)
bin/net: /usr/src/samba-master/bin/shared/private/libpdb.so: version
`SAMBA_4.0.0ALPHA17_DEVELOPERBUILD' not found (required by bin/net)

Looks to be a linked library issue, but for the life of me I forgotten
the command to check the version of the library.

So my questions is,

[1] Am I missing something or do I have a mis-compile here?
[2] Why does bin/samba-tool not work?
[3] Did I assume correct in trying to run this from the source directory?

Regards
Ian
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to