[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: problems compiling with kerberos support



Hi again,

thanks for the help so far (Kurt). I'm a bit of a newbie to LDAP, Kerberos and SASL, so
you'll have to excuse the rather lame questions (the learning curve is pretty steep at the
mo:-).


Okay, I''ve not got Heimdal 0.3a, OpenLDAP v2.06 and Cyrus SASL v1.5.24 installed and
am trying to search the LDAP db using GSSAPI authentication:


51 alexs@bernard% ldapsearch -Y GSSAPI -b '' -s base '(objectclass=*)' namingContexts -d 255
ldap_create
ldap_interactive_sasl_bind_s: user selected: GSSAPI
ldap_int_sasl_bind: GSSAPI
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_connect_timeout: fd: 3 tm: -1 async: 0
ldap_ndelay_on: 3
ldap_is_sock_ready: 3
ldap_ndelay_off: 3
ldap_int_sasl_open: bernard.bluewave.com
ldap_perror
ldap_sasl_interactive_bind_s: Unknown authentication method
52 alexs@bernard%


I'm finding the documentation a little, so any help, examples or pointers would be greatly
appreciated.


Cheers,

Alex.

At 05:55 PM 10/20/00 +0100, Alex Stepney wrote:

Well, I've made a little further with my problem. If I remove SSL support the
code compiles, but if I try an ldapseach with -k (for Kerberos authentication)
I get the message:

ldapsearch: not compiled with Kerberos support

Any ideas as to what is going on? I've been going round in circles.

Thanks

Alex.

Hi,

I'm having a few problems compiling OpenLDAP (2.0.x) with Kerberos
support on RedHat 6.2 (kernel 2.2.17). My Kerberos is Heimdal 0.3c.

The compilation fails on slapd with the following warning messages re-
garding libdes and libcrypto (OpenSSL 0.9.6):

/usr/local/lib/libcrypto.a(set_key.o)(.data+0x0): multiple definition of `des_check_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set _ k ey.c:80: first defined here
/usr/local/lib/libcrypto.a(set_key.o): In function `des_set_odd_parity':
set_key.o(.text+0x340): multiple definition of `des_set_odd_parity'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set _ k ey.c:80: first defined here
/usr/bin/ld: Warning: size of symbol `des_set_odd_parity' changed from 34 to 49 in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_is_weak_key':
set_key.o(.text+0x3c0): multiple definition of `des_is_weak_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set _ k ey.c:132: first defined here
/usr/bin/ld: Warning: size of symbol `des_is_weak_key' changed from 56 to 69 in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_set_key':
set_key.o(.text+0x410): multiple definition of `des_set_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set _ k ey.c:161: first defined here
/usr/bin/ld: Warning: size of symbol `des_set_key' changed from 676 to 62 in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_key_sched':
set_key.o(.text+0x450): multiple definition of `des_key_sched'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set _ k ey.c:242: first defined here
/usr/bin/ld: Warning: size of symbol `des_key_sched' changed from 16 to 62 in set_key.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt':
dx86-elf.o(.text+0x0): multiple definition of `des_encrypt'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des _ e nc.c:65: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt' changed from 4947 to 4157 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt2':
dx86-elf.o(.text+0x1040): multiple definition of `des_encrypt2'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des _ e nc.c:166: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt2' changed from 4753 to 3999 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt3':
dx86-elf.o(.text+0x1fe0): multiple definition of `des_encrypt3'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des _ e nc.c:261: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt3' changed from 271 to 292 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_decrypt3':
dx86-elf.o(.text+0x2110): multiple definition of `des_decrypt3'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des _ e nc.c:284: first defined here
/usr/bin/ld: Warning: size of symbol `des_decrypt3' changed from 271 to 292 in dx86-elf.o
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1
make[2]: Leaving directory `/usr/local/src/openldap-2.0.6/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/local/src/openldap-2.0.6/servers'
make: *** [all-common] Error 1


Anyone got any ideas?

Many thanks

Alex - Systems Engineer
alex.stepney@bluewave.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bluewave Ltd - Online Creations
http://www.bluewave.com
Tel. +44 (0)20 7706 3500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Alex - Systems Engineer alex.stepney@bluewave.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bluewave Ltd - Online Creations http://www.bluewave.com Tel. +44 (0)20 7706 3500 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Alex - Systems Engineer alex.stepney@bluewave.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bluewave Ltd - Online Creations http://www.bluewave.com Tel. +44 (0)20 7706 3500 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~