Web lists-archives.com

Re: [Samba] 4.7.4 build fails




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@xxxxxxxxxxxxxxx] Namens 
> NoelB via samba
> Verzonden: donderdag 1 februari 2018 11:32
> Aan: samba@xxxxxxxxxxxxxxx
> 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
> 
> 


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