[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LDAP authentication with PAM



>>>>> "Brian" == Brian May <bam@debian.org> writes:

    Marc> assuming you used netstat to verify that the server is
    Marc> actually listening on port 636, did you generate a
    Marc> certificate and add the TLSCertificate* options to the
    Marc> slapd.conf file?

    Brian> Ummm... No... That can't be important can it?  <evil
    Brian> grin>of course its not my fault</evil grin>.

here is progress:

[802] [snoopy:bam] ~/tmp/debian/unstable/openldap/openldap2-2.0.7 >ldapsearch
zsh: segmentation fault  ldapsearch
[803] [snoopy:bam] ~/tmp/debian/unstable/openldap/openldap2-2.0.7 >gdb ldapsearch
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) set args -x
(gdb) r
Starting program: /usr/bin/ldapsearch -x
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40027f98 in ldap_int_sasl_external () from /usr/lib/libldap.so.2
(gdb) bt
#0  0x40027f98 in ldap_int_sasl_external () from /usr/lib/libldap.so.2
#1  0x4003c435 in ldap_pvt_tls_start () from /usr/lib/libldap.so.2
#2  0x40022de3 in ldap_int_open_connection () from /usr/lib/libldap.so.2
#3  0x40032247 in ldap_new_connection () from /usr/lib/libldap.so.2
#4  0x400228d9 in ldap_open_defconn () from /usr/lib/libldap.so.2
#5  0x40031ef9 in ldap_send_initial_request () from /usr/lib/libldap.so.2
#6  0x4002bc1a in ldap_sasl_bind () from /usr/lib/libldap.so.2
#7  0x4002bcb8 in ldap_sasl_bind_s () from /usr/lib/libldap.so.2
#8  0x4002c34f in ldap_simple_bind_s () from /usr/lib/libldap.so.2
#9  0x400228a7 in ldap_bind_s () from /usr/lib/libldap.so.2
#10 0x804a7e8 in strcpy ()
#11 0x401bba42 in __libc_start_main () from /lib/libc.so.6

My slapd.conf contains:

TLSCertificateFile /etc/ldap/cert.pem
TLSCertificateKeyFile /etc/ldap/private.pem
-- 
Brian May <bam@debian.org>



Reply to: