[Samba] Samba 3.0.10 ADS Setup issue Again

Jon Starbird jcstar at streamtheory.com
Wed Dec 22 23:43:02 GMT 2004


Well I spoke a bit to soon. While I was able to get to the stage of 
doing a make I get the following errors when the make ends, this is 
using Kerberos 5:

libsmb/clikrb5.c: In function `krb5_set_real_time':
libsmb/clikrb5.c:49: dereferencing pointer to incomplete type
libsmb/clikrb5.c:50: dereferencing pointer to incomplete type
libsmb/clikrb5.c: In function `create_kerberos_key_from_string_direct':
libsmb/clikrb5.c:112: syntax error before `salt'
libsmb/clikrb5.c:114: `salt' undeclared (first use in this function)
libsmb/clikrb5.c:114: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:114: for each function it appears in.)
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:209: syntax error before `hnd'
libsmb/clikrb5.c:210: `krb5_krbhst_info' undeclared (first use in this 
function)
libsmb/clikrb5.c:210: `hinfo' undeclared (first use in this function)
libsmb/clikrb5.c:211: syntax error before `rc'
libsmb/clikrb5.c:219: `rc' undeclared (first use in this function)
libsmb/clikrb5.c:219: `KRB5_KRBHST_KDC' undeclared (first use in this 
function)
libsmb/clikrb5.c:219: `hnd' undeclared (first use in this function)
libsmb/clikrb5.c:225: `num_kdcs' undeclared (first use in this function)
libsmb/clikrb5.c:236: `sa' undeclared (first use in this function)
libsmb/clikrb5.c:247: `i' undeclared (first use in this function)
libsmb/clikrb5.c:250: `ai' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/samba3/samba-3.0.10/source.

:end


I then tried heimdal and when make is run I get these errors:

/usr/heimdal/lib/libkrb5.a(crypto.o): In function `krb5_hmac':
/usr/src/heimdal/heimdal-0.6.3/lib/krb5/crypto.c(.text+0x1974): multiple 
definition of `krb5_hmac'
/usr/local/lib/libk5crypto.a(hmac.o)(.text+0x0):/usr/src/krb5/krb5-1.3.6/src/lib/crypto/hmac.c: 
first defined here
/usr/libexec/elf/ld: Warning: size of symbol `krb5_hmac' changed from 
566 to 127 in crypto.o
/usr/heimdal/lib/libkrb5.a(crypto.o): In function `krb5_derive_key':
/usr/src/heimdal/heimdal-0.6.3/lib/krb5/crypto.c(.text+0x3b14): multiple 
definition of `krb5_derive_key'
/usr/local/lib/libk5crypto.a(derive.o)(.text+0x0):/usr/src/krb5/krb5-1.3.6/src/lib/crypto/dk/derive.c: 
first defined here
/usr/libexec/elf/ld: Warning: size of symbol `krb5_derive_key' changed 
from 482 to 149 in crypto.o
/usr/libexec/elf/ld: warning: libssl.so.2, needed by 
/usr/local/lib/libcups.so, may conflict with libssl.so.3
/usr/libexec/elf/ld: warning: libcrypto.so.2, needed by 
/usr/local/lib/libcups.so, may conflict with libcrypto.so.3
*** Error code 1

Stop in /usr/src/samba3/samba-3.0.10/source.

:end


This is using Kerberos 5 version 1.3.6  and
heimdal 0.6.3 .

Any help would be appreciated.


Thanks,
Jon





More information about the samba mailing list