identical issues to trying to go from 4.6.11-> 4.6.12, 4.7.4 make fails with 3631/3915] Linking default/source4/librpc/python-dcerpc-smb-acl.so [3632/3915] Linking default/source4/librpc/python-dcerpc-xattr.so [3633/3915] Linking default/source3/smbtorture3 [3634/3915] Linking default/source4/librpc/python-auth.so [3635/3915] Linking default/source4/auth/gensec/pygensec.so [3636/3915] Linking default/source4/lib/registry/regtree [3637/3915] Linking default/source4/librpc/python-dcerpc-dnsp.so [3638/3915] Linking default/source4/libcli/wbclient/libLIBWBCLIENT-OLD-samba4.so [3639/3915] Linking default/source4/librpc/python-unixinfo.so [3640/3915] Linking default/source4/librpc/python-echo.so [3641/3915] Linking default/source3/utils/samba-regedit [3642/3915] Linking default/source3/libsmb/libsmbclient.so [3643/3915] Linking default/source3/utils/smbget [3644/3915] Linking default/examples/libsmbclient/testacl [3645/3915] Linking default/examples/libsmbclient/testctx [3646/3915] Linking default/examples/libsmbclient/teststat2 [3647/3915] Linking default/examples/libsmbclient/teststatvfs [3648/3915] Linking default/source3/pylibsmb.so [3649/3915] Linking default/examples/libsmbclient/testwrite [3650/3915] Linking default/examples/libsmbclient/testutime [3651/3915] Linking default/examples/libsmbclient/teststat [3652/3915] Linking default/examples/libsmbclient/teststat3 [3653/3915] Linking default/examples/libsmbclient/testsmbc [3654/3915] Linking default/source4/lib/policy/py-policy.so [3655/3915] Linking default/examples/libsmbclient/testbrowse [3656/3915] Linking default/examples/libsmbclient/testtruncate [3657/3915] Linking default/examples/libsmbclient/testbrowse2 [3658/3915] Linking default/examples/libsmbclient/testacl3 [3659/3915] Linking default/source3/libtrusts-util-samba4.so [3660/3915] Linking default/examples/libsmbclient/testacl2 [3661/3915] Linking default/examples/libsmbclient/testfstatvfs [3662/3915] Linking default/source4/auth/libauth-unix-token-samba4.so [3663/3915] Linking default/examples/libsmbclient/testnotify [3664/3915] Linking default/examples/libsmbclient/testchmod [3665/3915] Linking default/examples/libsmbclient/testread [3666/3915] Linking default/source4/auth/ntlm/libauth4-samba4.so [3667/3915] Linking default/source3/libads-samba4.so default/source3/libads/kerberos_keytab_63.o: In function `ads_keytab_list': kerberos_keytab.c:(.text+0x356): undefined reference to `ads_keytab_open' collect2: ld returned 1 exit status Waf: Leaving directory `/tmp/samba-4.7.4/bin' Build failed: -> task failed (err #1): {task: cc_link ldap_63.o,sasl_63.o,sasl_wrapping_63.o,krb5_setpw_63.o,kerberos_util_63.o,ldap_user_63.o,ads_struct_63.o,kerberos_keytab_63.o,disp_sec_63.o,ldap_utils_63.o,ldap_schema_63.o,util_63.o,ndr_63.o,namequery_dc_104.o,trustdom_cache_104.o,dsgetdcname_104.o -> libads-samba4.so} make: *** [all] Error 1 Our configure is: --enable-fhs --prefix=/usr --libdir=/usr/lib$ --includedir=/usr/include --bindir=/usr/bin --sbindir=/usr/sbin --mandir=/usr/man --sysconfdir=/etc --with-configdir=/etc/samba --with-piddir=/var/run --with-privatedir=/var/lib/samba/private --with-privatelibdir=/usr/lib --with-modulesdir=/usr/lib --with-lockdir=/var/cache/samba --with-logfilebase=/var/log/samba --localstatedir=/var --enable-cups --with-acl-support --with-automount --with-quotas --with-syslog --with-utmp --with-winbind --without-ldap --without-ads --without-pam --build=i586-slackware-linux Any suggestions would be greatfully appreciated :)
Is "krb5-user" installed? Not, install krb5-user And remove krb5-kdc Build in this order. ! (optional, if you want MIT kerberos on debian/ubuntu ) 0 ( krb5 1.15.1 minimal) Build order with minimal version numbers. ( for samba 4.7.4 ) 1 talloc 2.1.10 2 tevent 0.9.34 3 tdb 1.3.15 4 cmocka 1.1.1 5 ldb 1.2.3 The "wrapper" i dont know the exact versionnumbers with the minimal requerements out of my head. 6 nss-wrapper 7 revolv-wrapper 8 uid-wrapper 9 socket-wrapper 10 pam-wrapper 11 samba And you did follow.. But you can also upgrade to latest slackware, that one includes samba 4.7.4. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > NoelB via samba > Verzonden: donderdag 1 februari 2018 11:32 > Aan: samba at lists.samba.org > Onderwerp: [Samba] 4.7.4 build fails > > identical issues to trying to go from 4.6.11-> 4.6.12, 4.7.4 > make fails > with > > 3631/3915] Linking default/source4/librpc/python-dcerpc-smb-acl.so > [3632/3915] Linking default/source4/librpc/python-dcerpc-xattr.so > [3633/3915] Linking default/source3/smbtorture3 > [3634/3915] Linking default/source4/librpc/python-auth.so > [3635/3915] Linking default/source4/auth/gensec/pygensec.so > [3636/3915] Linking default/source4/lib/registry/regtree > [3637/3915] Linking default/source4/librpc/python-dcerpc-dnsp.so > [3638/3915] Linking > default/source4/libcli/wbclient/libLIBWBCLIENT-OLD-samba4.so > [3639/3915] Linking default/source4/librpc/python-unixinfo.so > [3640/3915] Linking default/source4/librpc/python-echo.so > [3641/3915] Linking default/source3/utils/samba-regedit > [3642/3915] Linking default/source3/libsmb/libsmbclient.so > [3643/3915] Linking default/source3/utils/smbget > [3644/3915] Linking default/examples/libsmbclient/testacl > [3645/3915] Linking default/examples/libsmbclient/testctx > [3646/3915] Linking default/examples/libsmbclient/teststat2 > [3647/3915] Linking default/examples/libsmbclient/teststatvfs > [3648/3915] Linking default/source3/pylibsmb.so > [3649/3915] Linking default/examples/libsmbclient/testwrite > [3650/3915] Linking default/examples/libsmbclient/testutime > [3651/3915] Linking default/examples/libsmbclient/teststat > [3652/3915] Linking default/examples/libsmbclient/teststat3 > [3653/3915] Linking default/examples/libsmbclient/testsmbc > [3654/3915] Linking default/source4/lib/policy/py-policy.so > [3655/3915] Linking default/examples/libsmbclient/testbrowse > [3656/3915] Linking default/examples/libsmbclient/testtruncate > [3657/3915] Linking default/examples/libsmbclient/testbrowse2 > [3658/3915] Linking default/examples/libsmbclient/testacl3 > [3659/3915] Linking default/source3/libtrusts-util-samba4.so > [3660/3915] Linking default/examples/libsmbclient/testacl2 > [3661/3915] Linking default/examples/libsmbclient/testfstatvfs > [3662/3915] Linking default/source4/auth/libauth-unix-token-samba4.so > [3663/3915] Linking default/examples/libsmbclient/testnotify > [3664/3915] Linking default/examples/libsmbclient/testchmod > [3665/3915] Linking default/examples/libsmbclient/testread > [3666/3915] Linking default/source4/auth/ntlm/libauth4-samba4.so > [3667/3915] Linking default/source3/libads-samba4.so > default/source3/libads/kerberos_keytab_63.o: In function > `ads_keytab_list': > kerberos_keytab.c:(.text+0x356): undefined reference to > `ads_keytab_open' > collect2: ld returned 1 exit status > Waf: Leaving directory `/tmp/samba-4.7.4/bin' > Build failed: -> task failed (err #1): > {task: cc_link > ldap_63.o,sasl_63.o,sasl_wrapping_63.o,krb5_setpw_63.o,kerbero > s_util_63.o,ldap_user_63.o,ads_struct_63.o,kerberos_keytab_63. > o,disp_sec_63.o,ldap_utils_63.o,ldap_schema_63.o,util_63.o,ndr > _63.o,namequery_dc_104.o,trustdom_cache_104.o,dsgetdcname_104.o > -> libads-samba4.so} > make: *** [all] Error 1 > > Our configure is: > > --enable-fhs --prefix=/usr --libdir=/usr/lib$ > --includedir=/usr/include > --bindir=/usr/bin --sbindir=/usr/sbin --mandir=/usr/man > --sysconfdir=/etc --with-configdir=/etc/samba --with-piddir=/var/run > --with-privatedir=/var/lib/samba/private --with-privatelibdir=/usr/lib > --with-modulesdir=/usr/lib --with-lockdir=/var/cache/samba > --with-logfilebase=/var/log/samba --localstatedir=/var --enable-cups > --with-acl-support --with-automount --with-quotas --with-syslog > --with-utmp --with-winbind --without-ldap --without-ads --without-pam > --build=i586-slackware-linux > > Any suggestions would be greatfully appreciated :) > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Am 01.02.2018 um 11:31 schrieb NoelB via samba:> [3667/3915] Linking default/source3/libads-samba4.so > default/source3/libads/kerberos_keytab_63.o: In function > `ads_keytab_list': > kerberos_keytab.c:(.text+0x356): undefined reference to > `ads_keytab_open'[...]> Any suggestions would be greatfully appreciated :)I reported this immediately after version 4.6.12 was coming out: https://lists.samba.org/archive/samba/2017-December/212930.html There is no official fix for this yet. -- der tom
Slackware doesnt use kerberos, I've never needed it to build anything before, including all previous samba's On 01/02/2018 21:10, L.P.H. van Belle via samba wrote:> Is "krb5-user" installed? Not, install krb5-user > And remove krb5-kdc > > Build in this order. > ! (optional, if you want MIT kerberos on debian/ubuntu ) > 0 ( krb5 1.15.1 minimal) > Build order with minimal version numbers. ( for samba 4.7.4 ) > > 1 talloc 2.1.10 > 2 tevent 0.9.34 > 3 tdb 1.3.15 > 4 cmocka 1.1.1 > 5 ldb 1.2.3 > The "wrapper" i dont know the exact versionnumbers with the minimal requerements out of my head. > 6 nss-wrapper > 7 revolv-wrapper > 8 uid-wrapper > 9 socket-wrapper > 10 pam-wrapper > 11 samba > > And you did follow.. > > But you can also upgrade to latest slackware, that one includes samba 4.7.4. > > Greetz, > > Louis > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> NoelB via samba >> Verzonden: donderdag 1 februari 2018 11:32 >> Aan: samba at lists.samba.org >> Onderwerp: [Samba] 4.7.4 build fails >> >> identical issues to trying to go from 4.6.11-> 4.6.12, 4.7.4 >> make fails >> with >> >> 3631/3915] Linking default/source4/librpc/python-dcerpc-smb-acl.so >> [3632/3915] Linking default/source4/librpc/python-dcerpc-xattr.so >> [3633/3915] Linking default/source3/smbtorture3 >> [3634/3915] Linking default/source4/librpc/python-auth.so >> [3635/3915] Linking default/source4/auth/gensec/pygensec.so >> [3636/3915] Linking default/source4/lib/registry/regtree >> [3637/3915] Linking default/source4/librpc/python-dcerpc-dnsp.so >> [3638/3915] Linking >> default/source4/libcli/wbclient/libLIBWBCLIENT-OLD-samba4.so >> [3639/3915] Linking default/source4/librpc/python-unixinfo.so >> [3640/3915] Linking default/source4/librpc/python-echo.so >> [3641/3915] Linking default/source3/utils/samba-regedit >> [3642/3915] Linking default/source3/libsmb/libsmbclient.so >> [3643/3915] Linking default/source3/utils/smbget >> [3644/3915] Linking default/examples/libsmbclient/testacl >> [3645/3915] Linking default/examples/libsmbclient/testctx >> [3646/3915] Linking default/examples/libsmbclient/teststat2 >> [3647/3915] Linking default/examples/libsmbclient/teststatvfs >> [3648/3915] Linking default/source3/pylibsmb.so >> [3649/3915] Linking default/examples/libsmbclient/testwrite >> [3650/3915] Linking default/examples/libsmbclient/testutime >> [3651/3915] Linking default/examples/libsmbclient/teststat >> [3652/3915] Linking default/examples/libsmbclient/teststat3 >> [3653/3915] Linking default/examples/libsmbclient/testsmbc >> [3654/3915] Linking default/source4/lib/policy/py-policy.so >> [3655/3915] Linking default/examples/libsmbclient/testbrowse >> [3656/3915] Linking default/examples/libsmbclient/testtruncate >> [3657/3915] Linking default/examples/libsmbclient/testbrowse2 >> [3658/3915] Linking default/examples/libsmbclient/testacl3 >> [3659/3915] Linking default/source3/libtrusts-util-samba4.so >> [3660/3915] Linking default/examples/libsmbclient/testacl2 >> [3661/3915] Linking default/examples/libsmbclient/testfstatvfs >> [3662/3915] Linking default/source4/auth/libauth-unix-token-samba4.so >> [3663/3915] Linking default/examples/libsmbclient/testnotify >> [3664/3915] Linking default/examples/libsmbclient/testchmod >> [3665/3915] Linking default/examples/libsmbclient/testread >> [3666/3915] Linking default/source4/auth/ntlm/libauth4-samba4.so >> [3667/3915] Linking default/source3/libads-samba4.so >> default/source3/libads/kerberos_keytab_63.o: In function >> `ads_keytab_list': >> kerberos_keytab.c:(.text+0x356): undefined reference to >> `ads_keytab_open' >> collect2: ld returned 1 exit status >> Waf: Leaving directory `/tmp/samba-4.7.4/bin' >> Build failed: -> task failed (err #1): >> {task: cc_link >> ldap_63.o,sasl_63.o,sasl_wrapping_63.o,krb5_setpw_63.o,kerbero >> s_util_63.o,ldap_user_63.o,ads_struct_63.o,kerberos_keytab_63. >> o,disp_sec_63.o,ldap_utils_63.o,ldap_schema_63.o,util_63.o,ndr >> _63.o,namequery_dc_104.o,trustdom_cache_104.o,dsgetdcname_104.o >> -> libads-samba4.so} >> make: *** [all] Error 1 >> >> Our configure is: >> >> --enable-fhs --prefix=/usr --libdir=/usr/lib$ >> --includedir=/usr/include >> --bindir=/usr/bin --sbindir=/usr/sbin --mandir=/usr/man >> --sysconfdir=/etc --with-configdir=/etc/samba --with-piddir=/var/run >> --with-privatedir=/var/lib/samba/private --with-privatelibdir=/usr/lib >> --with-modulesdir=/usr/lib --with-lockdir=/var/cache/samba >> --with-logfilebase=/var/log/samba --localstatedir=/var --enable-cups >> --with-acl-support --with-automount --with-quotas --with-syslog >> --with-utmp --with-winbind --without-ldap --without-ads --without-pam >> --build=i586-slackware-linux >> >> Any suggestions would be greatfully appreciated :) >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba
On 01/02/2018 22:07, Thomas Bork via samba wrote:> Am 01.02.2018 um 11:31 schrieb NoelB via samba: > >> [3667/3915] Linking default/source3/libads-samba4.so >> default/source3/libads/kerberos_keytab_63.o: In function >> `ads_keytab_list': >> kerberos_keytab.c:(.text+0x356): undefined reference to >> `ads_keytab_open' > [...] > >> Any suggestions would be greatfully appreciated :) > > I reported this immediately after version 4.6.12 was coming out: > > https://lists.samba.org/archive/samba/2017-December/212930.html > > There is no official fix for this yet.Hi Tom, Yeah, very suspiciously quiet on this the samba devs ;) Why would it want kerberos junk if the OS doesnt use it, surely ./configure would have found this out, so why is it looking for anything related to it, also probably unrelated but who knows, why is it trying to include "ads" code as well, when I specifically told it --without-ads. Lets hope they notice the bug and resolve it... and hope they haven't silently made it a mandatory requirement, geez almost as bad as mandating python to build.. Cheers Noel (resent - I replied this a day or so later and it never appeared, lets see if this one gets in)
On Thu, 1 Feb 2018 13:07:01 +0100 Thomas Bork via samba <samba at lists.samba.org> wrote:> Am 01.02.2018 um 11:31 schrieb NoelB via samba: > > > [3667/3915] Linking default/source3/libads-samba4.so > > default/source3/libads/kerberos_keytab_63.o: In function > > `ads_keytab_list': > > kerberos_keytab.c:(.text+0x356): undefined reference to > > `ads_keytab_open' > [...] > > Any suggestions would be greatfully appreciated :) > > I reported this immediately after version 4.6.12 was coming out: > > https://lists.samba.org/archive/samba/2017-December/212930.html > > There is no official fix for this yet. >Have you tried removing these from your configure line: --enable-cups --with-acl-support --with-automount --with-quotas --with-syslog --with-utmp --with-winbind --without-ldap --without-ads --without-pam --build=i586-slackware-linux And replace them with this: --without-ad-dc Rowland