First I compiled kerberos 5-1.2.5. Ater that I configured samba: ./configure --with-smbwrapper --with-krb5 --with-automount --with-smbmount. So far all goes well. After that I 'make' in the samba/source dir. An error pops up, displayed below. Does anyone know of either a workaround or solution? I can't install samba now!! :( Mark -- This is the error: Linking bin/smbd /usr/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/lib/libgssapi_krb5.a(accept_sec_context.o): In function `rd_and_store_for_creds': accept_sec_context.o(.text+0x7b): undefined reference to `krb5_rd_cred' accept_sec_context.o(.text+0xdb): undefined reference to `krb5_rd_cred' /usr/lib/libgssapi_krb5.a(accept_sec_context.o): In function `krb5_gss_accept_sec_context': accept_sec_context.o(.text+0x123e): undefined reference to `krb5_mk_rep' accept_sec_context.o(.text+0x17b5): undefined reference to `krb5_mk_error' /usr/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/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context': gssapi_krb5.o(.text+0xf1): undefined reference to `krb5_ser_context_init' gssapi_krb5.o(.text+0x112): undefined reference to `krb5_ser_auth_context_init' gssapi_krb5.o(.text+0x13a): undefined reference to `krb5_ser_ccache_init' gssapi_krb5.o(.text+0x15a): undefined reference to `krb5_ser_rcache_init' gssapi_krb5.o(.text+0x19a): undefined reference to `krb5_ser_auth_context_init' /usr/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/lib/libgssapi_krb5.a(init_sec_context.o): In function `make_ap_req_v1': init_sec_context.o(.text+0x240): undefined reference to `krb5_fwd_tgt_creds' /usr/lib/libgssapi_krb5.a(init_sec_context.o): In function `krb5_gss_init_sec_context': init_sec_context.o(.text+0x1252): undefined reference to `krb5_free_cksumtypes' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 root@serena:/opt/samba/source# -------------- next part -------------- Skipped content of type multipart/related
Mark van Dijk wrote:> > First I compiled kerberos 5-1.2.5. Ater that I configured samba: > ./configure --with-smbwrapper --with-krb5 --with-automount > --with-smbmount. So far all goes well. After that I 'make' in the > samba/source dir. An error pops up, displayed below. Does anyone know > of either a workaround or solution? I can't install samba now!! [:(]Why do you want krb5? Samba 2.2's krb5 support is no different to pam_krb5 - and that package actually has a maintainer. Samba HEAD has real kerberos support, for AD and the like. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net