Hi, I am using Samba 3.0.20 on Mandriva 2006 x86_64. I am trying to set up Samba to use OpenLDAP backend, I have OpenLDAP configured and running. I used smbpasswd -w [password] to store the password for the LDAP admin dn. My OpenLDAP version is 2.3.6. When I add passwd backend = ldapsam:ldap://myserver to my smb.conf and restart Samba, smbd fails. I turned the logging up to 10 to see what is going on, it finds the ldap server, searches for sambaDomain, then the connection is closed. Then it opens a new connection, establishes TLS, tries to do a bind and then panics. [2006/02/04 11:57:29, 0] lib/fault.c:fault_report(36) ==============================================================[2006/02/04 11:57:29, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 15126 (3.0.20) Please read the appendix Bugs of the Samba HOWTO collection [2006/02/04 11:57:29, 0] lib/fault.c:fault_report(39) ==============================================================[2006/02/04 11:57:29, 0] lib/util.c:smb_panic2(1548) PANIC: internal error [2006/02/04 11:57:29, 0] lib/util.c:smb_panic2(1556) BACKTRACE: 25 stack frames: #0 smbd(smb_panic2+0x189) [0x555555734383] #1 smbd(smb_panic+0xe) [0x5555557341f8] #2 smbd [0x55555571dbbc] #3 smbd [0x55555571dc14] #4 /lib64/tls/libc.so.6 [0x2aaaac1a1b60] #5 /usr/lib64/libldap-2.3.so.0(ldap_count_values+0xb) [0x2aaaaabdeeab] #6 smbd [0x5555557ba2fd] #7 smbd(smbldap_has_control+0x2a) [0x5555557ba410] #8 smbd [0x5555557b8a80] #9 smbd [0x5555557b8cfa] #10 smbd [0x5555557b8ef1] #11 smbd [0x5555557b924b] #12 smbd(smbldap_search+0x2f) [0x5555557b92d3] #13 smbd(smbldap_search_suffix+0x49) [0x5555557b9ba9] #14 smbd(smbldap_search_domain_info+0xcf) [0x5555557bac62] #15 smbd(pdb_init_ldapsam+0xe3) [0x555555709bd1] #16 smbd [0x5555556f9d99] #17 smbd(make_pdb_context_list+0x14e) [0x5555556fa331] #18 smbd [0x5555556fa5df] #19 smbd(pdb_getsampwsid+0x1c) [0x5555556fa72a] #20 smbd [0x5555557779ce] #21 smbd(init_guest_info+0x1f) [0x555555777bd7] #22 smbd(main+0x2dd) [0x5555557bc655] #23 /lib64/tls/libc.so.6(__libc_start_main+0xda) [0x2aaaac18f4fa] #24 smbd [0x5555555a92ca] Can someone tell me what I am doing wrong?