[Pkg-samba-maint] Bug#411042: samba -dosen't connect to OpenLDAP
Jeffrey B. Green
jeff at kikisoso.org
Sat Mar 24 12:55:07 UTC 2007
I'm getting similar issues with regards to smbd dieing and a broken
connection to slapd though I'm not using TLS; same release 3.0.24-2. I
have configured the samba on this box as a PDC. I did a test setup of
samba as a PDC about a year ago and was able to get it working okay,
ver. around 3.0.20. It basically shows up when I try to do a "net"
command that happens to require a password, e.g. net ads user. I get a
"ads_connect: Connection refused". In the log.smbd, I get things like:
[2007/03/24 07:31:49, 1] lib/smbldap.c:another_ldap_try(1150)
Connection to LDAP server failed for the 14 try!
[2007/03/24 07:31:50, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
ldap_initialize: Time limit exceeded
[2007/03/24 07:31:50, 1] lib/smbldap.c:another_ldap_try(1150)
Connection to LDAP server failed for the 15 try!
[2007/03/24 07:31:51, 0] lib/smbldap.c:smb_ldap_setup_conn(638)
ldap_initialize: Time limit exceeded
[2007/03/24 07:31:51, 0] smbd/server.c:main(960)
ERROR: failed to setup guest info.
Samba sets up okay during the run of smbldap-populate which seems to
have a bunch of interaction between samba and slapd, and the
smbldap-cmds seem to work okay.
log.nmbd doesn't seem to indicate anything relating to why smbd dies.
Also, I haven't determined exactly the pattern for smbd dieing other
than it has died frequently when I am doing a restart during this
testing period. Various debug levels to get samba (or slapd) to provide
me with the key clue hasn't done the trick so far.
-jeff
More information about the Pkg-samba-maint
mailing list