[Samba] samba_3_0+ldapsam: Bug?
Dariush Forouher
dariush at forouher.de
Fri Apr 4 17:01:20 GMT 2003
Hi,
after upgrading samba 3.0 from ~ Jan. 03 cvs -> today's cvs, samba
crashes while contacting an LDAP server.
If I try:
$ smbclient -L localhost -Udariush%pass
smbd logs the following:
[2003/04/04 18:20:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(648)
ldapsam_search_one_user: searching
for:[(&(uid=dariush)(objectclass=sambaAccount))]
[2003/04/04 18:20:39, 10] passdb/pdb_ldap.c:ldapsam_open_connection(171)
ldapsam_open_connection: ldap://ldap1.brgs.org
[2003/04/04 18:20:39, 2] passdb/pdb_ldap.c:ldapsam_open_connection(262)
ldapsam_open_connection: connection opened
[2003/04/04 18:20:39, 10] passdb/pdb_ldap.c:ldapsam_connect_system(389)
ldap_connect_system: Binding to ldap server ldap://ldap1.brgs.org as
"cn=Samba,dc=brgs,dc=org"
[2003/04/04 18:20:39, 0] passdb/pdb_ldap.c:ldapsam_connect_system(416)
failed to bind to server with dn= cn=Samba,dc=brgs,dc=org Error: Invalid
credentials
[2003/04/04 18:20:39, 0] passdb/pdb_ldap.c:ldapsam_retry_open(509)
Connection to LDAP Server failed for the 1 try!
[2003/04/04 18:20:39, 0] passdb/pdb_ldap.c:ldapsam_search_one_user(657)
[2003/04/04 18:20:39, 0] lib/fault.c:fault_report(36)
===============================================================
[2003/04/04 18:20:39, 0] lib/fault.c:fault_report(37) INTERNAL ERROR:
Signal 11 in pid 21485 (3.0alpha24) Please read the file BUGS.txt in the
distribution
[2003/04/04 18:20:39, 0] lib/fault.c:fault_report(39)
===============================================================
[2003/04/04 18:20:39, 0] lib/util.c:smb_panic(1429) PANIC: internal
error
The LDAP DN+Password are Ok. I've tried to delete all tdb files and
recreate secrets.tdb without any effect. Two BDCs run parallel without
any problem, so the ldap server can't be the problem (even it would be,
samba shouldn't crash)
Can anyone reproduce this?
ciao
Dariush
smb.conf:
[global]
workgroup = BRGS
netbios name = ALDEBARAN
server string = PDC (samba %v)
encrypt passwords = true
security = user
log level = 50
syslog = 0
max log size = 200000
unix charset = CP850
logon path = \\einstein\profiles\%U
logon script = sonstige.bat
logon drive = h:
logon home = \\sirius\%U
domain logons = Yes
os level = 32
preferred master = yes
domain master = yes
local master = yes
wins support = yes
#wins partners = galilei
passdb backend = ldapsam_nua:ldap://ldap1.brgs.org
ldapsam_nua:ldap://ldap2.brgs.org
ldap ssl = no
ldap admin dn = cn=Samba,dc=brgs,dc=org
ldap suffix = dc=brgs,dc=org
ldap user suffix = ou=People
ldap machine suffix = ou=Machines
non unix account range = 8000-8999
ldap trust ids = yes
ldap passwd sync = yes
unix password sync = yes
passwd chat = *enter*password* %n\n %n*ok*
passwd program = /usr/local/bin/cracklib_check %u
[netlogon]
path = /netlogon
read only = no
create mask = 0664
directory mask = 0775
locking = No
More information about the samba
mailing list