Hello,
I've the following problem. I tried to compile samba3.0alpha20 with the ads
support option.
Before that I have installed kerberos5v1.2.6!
What is wrong! Have anyone an answer, thanks!
Compiling libsmb/trust_passwd.c
Compiling libads/ldap.c
Compiling libads/ldap_printer.c
Compiling libads/sasl.c
Compiling libads/krb5_setpw.c
Compiling libads/kerberos.c
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:80: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
Compiling libads/ldap_user.c
Compiling libads/ads_struct.c
Compiling libads/ads_status.c
Compiling libads/disp_sec.c
Compiling libads/ads_utils.c
Compiling libads/ldap_utils.c
Compiling libads/ads_ldap.c
Compiling libads/util.c
Compiling libads/kerberos_verify.c
Compiling lib/system_smbd.c
Compiling lib/util_smbd.c
Compiling registry/reg_frontend.c
Compiling registry/reg_cachehook.c
Compiling registry/reg_printing.c
Compiling registry/reg_db.c
Linking bin/smbd
/usr/local/lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new':
fcc_gennew.o(.text+0x6a): the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o): In function
`rd_and_store_for_creds':
accept_sec_context.o(.text+0x6b): undefined reference to `krb5_rd_cred'
/usr/local/lib/libgssapi_krb5.a(accept_sec_context.o): In function
`krb5_gss_accept_sec_context':
accept_sec_context.o(.text+0x108e): undefined reference to
`krb5_c_keyed_checksum_types'
accept_sec_context.o(.text+0x16be): undefined reference to `krb5_mk_rep'
accept_sec_context.o(.text+0x1c45): undefined reference to `krb5_mk_error'
/usr/local/lib/libgssapi_krb5.a(acquire_cred.o): In function
`acquire_accept_cred':
acquire_cred.o(.text+0x68): undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o): In function
`kg_get_context':
gssapi_krb5.o(.text+0x10d): undefined reference to `krb5_ser_context_init'
gssapi_krb5.o(.text+0x12e): undefined reference to
`krb5_ser_auth_context_init'
gssapi_krb5.o(.text+0x14f): undefined reference to `krb5_ser_ccache_init'
gssapi_krb5.o(.text+0x16d): undefined reference to `krb5_ser_rcache_init'
gssapi_krb5.o(.text+0x1aa): undefined reference to
`krb5_ser_auth_context_init'
/usr/local/lib/libgssapi_krb5.a(import_name.o): In function
`krb5_gss_import_name':
import_name.o(.text+0x162): undefined reference to `krb5_sname_to_principal'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o): In function
`make_ap_req_v1':
init_sec_context.o(.text+0x23b): undefined reference to `krb5_fwd_tgt_creds'
/usr/local/lib/libgssapi_krb5.a(init_sec_context.o): In function
`krb5_gss_init_sec_context':
init_sec_context.o(.text+0x147f): undefined reference to
`krb5_free_cksumtypes'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
head:/install/samba/source #
Bye + Thanks,
Thomas
--------------------------------------
Thomas Nicolai
IT Systemadministrator
Institute of Electronic Business e.V.
Institute of University of the Arts Berlin
Chausseestrasse 8 - Aufgang E
D-10115 Berlin
Tel: +49 30 726298320
Mobil: +49 160 7143427
Fax: +49 30 72629839
http://www.ieb.net