[Samba] Samba/Winbind/LDAP connection issue.
Frank Bakhit
fbakhitb at gmail.com
Mon Mar 11 14:26:09 MDT 2013
Hi, I been having issue with my samba/winbind, since I update from samba
3.5 to 3.6. below is the error I am getting from my log file and the samba
config file. I am running Red Hat 6.4.
nmbd[2188]: [2013/03/10 13:25:14.327717, 0]
nmbd/nmbd_namequery.c:108(query_name_response)
Mar 10 13:25:14 c89005 nmbd[2188]: query_name_response: Multiple (2)
responses received for a query on subnet x.x.x.x for name MYDOMAIN<1d>.
Mar 10 13:25:14 c89005 nmbd[2188]: This response was from IP x.x.x.x,
reporting an IP address of x.x.x.x.
Mar 11 00:01:14 c89005 nslcd[1587]: [88ddb1] ldap_result() timed out
Mar 11 05:00:19 c89005 nslcd[1587]: [9be780] ldap_result() timed out
Mar 11 14:58:12 c89005 winbindd[23655]: [2013/03/11 14:58:12.385839, 0]
lib/smbldap.c:697(smbldap_store_state)
Mar 11 14:58:12 c89005 winbindd[23655]: PANIC: assert failed at
lib/smbldap.c(697): tmp_ldap_state == smbldap_state
Mar 11 14:58:12 c89005 winbindd[23655]: [2013/03/11 14:58:12.606028, 0]
winbindd/idmap.c:201(smb_register_idmap_alloc)
Mar 11 14:58:12 c89005 winbindd[23655]: idmap_alloc module tdb already
registered!
Mar 11 14:58:12 c89005 winbindd[23655]: [2013/03/11 14:58:12.606204, 0]
winbindd/idmap.c:149(smb_register_idmap)
Mar 11 14:58:12 c89005 winbindd[23655]: Idmap module passdb already
registered!
Mar 11 14:58:12 c89005 winbindd[23655]: [2013/03/11 14:58:12.606284, 0]
winbindd/idmap.c:149(smb_register_idmap)
Mar 11 14:58:12 c89005 winbindd[23655]: Idmap module nss already
registered!
Mar 11 14:58:12 c89005 winbindd[23655]: [2013/03/11 14:58:12.614752, 0]
lib/smbldap.c:1153(smbldap_connect_system)
Mar 11 14:58:12 c89005 winbindd[23655]: failed to bind to server ldap://
ldap.science.purdue.edu/ with dn="cn=SlapHappy,dc=science,dc=lcl" Error:
Invalid credentials
Mar 11 14:58:12 c89005 winbindd[23655]: #011(unknown)
Mar 11 14:58:27 c89005 winbindd[23655]: [2013/03/11 14:58:27.762968, 0]
winbindd/idmap.c:599(idmap_alloc_init)
Mar 11 14:58:27 c89005 winbindd[23655]: ERROR: Initialization failed for
alloc backend, deferred!
Mar 11 14:58:27 c89005 winbindd[23655]: [2013/03/11 14:58:27.794053, 0]
winbindd/idmap.c:201(smb_register_idmap_alloc)
Mar 11 14:58:27 c89005 winbindd[23655]: idmap_alloc module tdb already
registered!
Mar 11 14:58:27 c89005 winbindd[23655]: [2013/03/11 14:58:27.794192, 0]
winbindd/idmap.c:149(smb_register_idmap)
Mar 11 14:58:27 c89005 winbindd[23655]: Idmap module passdb already
registered!
Mar 11 14:58:27 c89005 winbindd[23655]: [2013/03/11 14:58:27.794270, 0]
winbindd/idmap.c:149(smb_register_idmap)
Mar 11 14:58:27 c89005 winbindd[23655]: Idmap module nss already
registered!
Mar 11 14:58:27 c89005 winbindd[23655]: [2013/03/11 14:58:27.803810, 0]
lib/smbldap.c:1153(smbldap_connect_system)
Mar 11 14:58:27 c89005 winbindd[23655]: failed to bind to server ldap://
ldap.science.purdue.edu/ with dn="cn=SlapHappy,dc=science,dc=lcl" Error:
Invalid credentials
Mar 11 14:58:27 c89005 winbindd[23655]: #011(unknown)
Mar 11 14:58:42 c89005 winbindd[23655]: [2013/03/11 14:58:42.950615, 0]
winbindd/idmap.c:599(idmap_alloc_init)
Mar 11 14:58:42 c89005 winbindd[23655]: ERROR: Initialization failed for
alloc backend, deferred!
[global]
netbios name = C89005
server string = Samba Server Version %v
workgroup = MYDOMAIN
realm = CENTRAL.MYDOMAN.LCL
security = ADS
password server = *
passdb backend = tdbsam
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
unix extensions = no
host msdfs = yes
socket options = TCP_NODELAY
smb ports = 445
##LOGS
# max 1MB per log file, then rotate
max log size = 1024
## WINS
domain master = no
local master = no
preferred master = no
dns proxy = no
wins server = 128.210.30.240
## PRINTING
printing = bsd
printcap name = /dev/null
load printers = no
## WINBIND
winbind use default domain = true
winbind offline logon = false
winbind enum users = no
winbind enum groups = no
winbind nested groups = yes
winbind normalize names = yes
obey pam restrictions = no
allow trusted domains = yes
template shell = /bin/bash
template homedir = /home/%D/%U
ldap ssl = start tls
ldap suffix = dc=science,dc=lcl
ldap idmap suffix = ou=idmap
ldap admin dn = cn=SlapHappy,dc=science,dc=lcl
idmap uid = 5000-200000
idmap gid = 5000-200000
idmap backend = ldap:ldap://ldap.example.edu/
idmap config:ldap_base_dn = ou=idmap,dc=science,dc=lcl
idmap config:ldap_user_dn = cn=SlapHappy,dc=science,dc=lcl
idmap alloc backend = ldap
idmap alloc config: ldap_url = ldap://ldap.example.edu/
idmap alloc config: ldap_base_dn = ou=idmap,dc=science,dc=lcl
idmap alloc config: ldap_user_dn = cn=SlapHappy,dc=science,dc=lcl
include = /etc/samba/c89.conf
Any help or idea will be appreciated.
~ Thanks
More information about the samba
mailing list