[Samba] Samba 3.0.10 ADS Setup issue Again
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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.10 ADS setup issue
I am attempting to setup Samba 3.0.10 on a Windows 2000 Active Directory domain. The problem I'm having is getting Samba to configure correctly to get the Kerberos library. I've gone through previous posts and have tried doing what others suggested but I still keep getting the error of: configure: error: libkrb5 is needed for Active Directory support The current configure params I'm using are: ./configure --with-ads=yes --with-krb5=/usr/lib I've tried many different path entries, left out the path info with just the first option, nothing works I keep getting the exact error. It just never can find the Kerberos files. I've tried installing Kerberos 5 via Pkg_add, I've also downloaded and compiled it, this latest attempt is with Heimdal 0.6.3 being complied from source. Here is dump of a find for libkrb5* on the system: ./usr/local/lib/libkrb5.so.20 ./usr/local/lib/libkrb5.so ./usr/local/lib/libkrb5.a ./usr/lib/libkrb5.a ./usr/lib/libkrb5_p.a ./usr/lib/libkrb5.so.3 ./usr/lib/libkrb5.so ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la ./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a ./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a ./usr/heimdal/lib/libkrb5.la ./usr/heimdal/lib/libkrb5.a I have pointed the configure param to all of the above, including the source ones (I'm getting desperate!). So please someone help! Let me know if you need more info. Many thanks in advance. Jon -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.10 ADS setup issue
Follow up: Sorry to have bothered all, after signing up to the list I was able to look at other archives but didn't do so until after I sent the email I found a post with the following link in it which had a helpful little piece in it. http://www.kurai.org/~gdunn/samba3-ad/fbsd_samba.html Hope all have a good holiday. Thanks, Jon Jon Starbird wrote: I am attempting to setup Samba 3.0.10 on a Windows 2000 Active Directory domain. The problem I'm having is getting Samba to configure correctly to get the Kerberos library. I've gone through previous posts and have tried doing what others suggested but I still keep getting the error of: configure: error: libkrb5 is needed for Active Directory support The current configure params I'm using are: ./configure --with-ads=yes --with-krb5=/usr/lib I've tried many different path entries, left out the path info with just the first option, nothing works I keep getting the exact error. It just never can find the Kerberos files. I've tried installing Kerberos 5 via Pkg_add, I've also downloaded and compiled it, this latest attempt is with Heimdal 0.6.3 being complied from source. Here is dump of a find for libkrb5* on the system: ./usr/local/lib/libkrb5.so.20 ./usr/local/lib/libkrb5.so ./usr/local/lib/libkrb5.a ./usr/lib/libkrb5.a ./usr/lib/libkrb5_p.a ./usr/lib/libkrb5.so.3 ./usr/lib/libkrb5.so ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la ./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a ./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a ./usr/heimdal/lib/libkrb5.la ./usr/heimdal/lib/libkrb5.a I have pointed the configure param to all of the above, including the source ones (I'm getting desperate!). So please someone help! Let me know if you need more info. Many thanks in advance. Jon -- - Jon Starbird Streamologist Stream Theory 3350 Scott Blvd. Bldg. 24 Santa Clara, CA 95054 Phone: 408-790-2913 Ext. 1069 Fax:408-790-2918 http://www.streamtheory.com Software, suddenly simple. - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.10 ADS setup issue
Jon Starbird wrote: Follow up: Sorry to have bothered all, after signing up to the list I was able to look at other archives but didn't do so until after I sent the email I found a post with the following link in it which had a helpful little piece in it. I wouldn't use that. It's gopt usefull stuff, but is wrong on several points, IMHO. Try mine http://www.fsklaw.com/fbsdconfig.html http://www.kurai.org/~gdunn/samba3-ad/fbsd_samba.html Hope all have a good holiday. Thanks, Jon Jon Starbird wrote: I am attempting to setup Samba 3.0.10 on a Windows 2000 Active Directory domain. The problem I'm having is getting Samba to configure correctly to get the Kerberos library. I've gone through previous posts and have tried doing what others suggested but I still keep getting the error of: configure: error: libkrb5 is needed for Active Directory support The current configure params I'm using are: ./configure --with-ads=yes --with-krb5=/usr/lib I've tried many different path entries, left out the path info with just the first option, nothing works I keep getting the exact error. It just never can find the Kerberos files. I've tried installing Kerberos 5 via Pkg_add, I've also downloaded and compiled it, this latest attempt is with Heimdal 0.6.3 being complied from source. Here is dump of a find for libkrb5* on the system: ./usr/local/lib/libkrb5.so.20 ./usr/local/lib/libkrb5.so ./usr/local/lib/libkrb5.a ./usr/lib/libkrb5.a ./usr/lib/libkrb5_p.a ./usr/lib/libkrb5.so.3 ./usr/lib/libkrb5.so ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.lai ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.a ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/.libs/libkrb5.la ./usr/src/heimdal/heimdal-0.6.3/lib/krb5/libkrb5.la ./usr/src/krb5/krb5-1.3.6/src/lib/krb5/libkrb5.a ./usr/src/krb5/krb5-1.3.6/src/lib/libkrb5.a ./usr/heimdal/lib/libkrb5.la ./usr/heimdal/lib/libkrb5.a I have pointed the configure param to all of the above, including the source ones (I'm getting desperate!). So please someone help! Let me know if you need more info. Many thanks in advance. Jon -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba