Ian Coetzee
2011-Aug-02 06:54 UTC
[Samba] Samba4 and discrepancies in the Wiki documentation
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 at 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
Ian Coetzee
2011-Aug-02 08:57 UTC
[Samba] Samba4 and discrepancies in the Wiki documentation
Hi all Got my problem solved, I just used the ALPHA16 download. That will teach me on trying out the newest and greatest. Sorry about the noise. Regards Ian
Daniel Müller
2011-Aug-02 09:00 UTC
[Samba] Samba4 and discrepancies in the Wiki documentation
Did you made: ./configure.developer ??? Before running make ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Ian Coetzee Gesendet: Dienstag, 2. August 2011 08:55 An: samba at lists.samba.org Betreff: [Samba] Samba4 and discrepancies in the Wiki documentation 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_dom ain_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 domaincontents, 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 at 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
Ian Coetzee
2011-Aug-02 09:15 UTC
[Samba] Samba4 and discrepancies in the Wiki documentation
Forgot to add the list to my reply below. Regards Ian On Tue, Aug 2, 2011 at 11:06 AM, Ian Coetzee <samba at iancoetzee.za.net> wrote:> On Tue, Aug 2, 2011 at 11:00 AM, Daniel M?ller <mueller at tropenklinik.de> wrote: >> Did you made: ./configure.developer ??? >> Before running make > > Hi Daniel, > > Yes I did and like I said in my next message to this list, I managed > to fix it by using the ALPHA16 tarball rather than using the latest > git pull. > > Regards > Ian >
Andrew Bartlett
2011-Aug-03 09:08 UTC
[Samba] Samba4 and discrepancies in the Wiki documentation
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