[Samba] Winbindd log error

Leonardo Carneiro chesterman86 at gmail.com
Mon Dec 13 11:39:31 MST 2010


Hello everyone

I have a Debian Lenny running Samba 3.4.7 + OpenLDAP as PDC. I'm
having trouble with Winbind. He logs so much messages that my disk is
almost full!

here is the log:

Dec 13 16:18:14 fileserver smbd[10017]: [2010/12/13 16:18:14,  0]
lib/util_sock.c:539(read_fd_with_timeout)
Dec 13 16:18:14 fileserver smbd[10017]: [2010/12/13 16:18:14,  0]
lib/util_sock.c:1491(get_peer_addr_internal)
Dec 13 16:18:14 fileserver smbd[10017]:   getpeername failed. Error
was Transport endpoint is not connected
Dec 13 16:18:14 fileserver smbd[10017]:   read_fd_with_timeout: client
0.0.0.0 read error = Connection timed out.
Dec 13 16:18:39 fileserver winbindd[10085]: [2010/12/13 16:18:39,  0]
winbindd/idmap.c:201(smb_register_idmap_alloc)
Dec 13 16:18:39 fileserver winbindd[10085]:   idmap_alloc module tdb
already registered!
Dec 13 16:18:39 fileserver winbindd[10085]: [2010/12/13 16:18:39,  0]
winbindd/idmap.c:149(smb_register_idmap)
Dec 13 16:18:39 fileserver winbindd[10085]:   Idmap module passdb
already registered!
Dec 13 16:18:39 fileserver winbindd[10085]: [2010/12/13 16:18:39,  0]
winbindd/idmap.c:149(smb_register_idmap)
Dec 13 16:18:39 fileserver winbindd[10085]:   Idmap module nss already
registered!
Dec 13 16:18:39 fileserver winbindd[10085]: [2010/12/13 16:18:39,  0]
winbindd/idmap_ldap.c:123(get_credentials)
Dec 13 16:18:39 fileserver winbindd[10085]:   get_credentials: Unable
to fetch auth credentials for cn=root,dc=dominio,dc=com,dc=br in ALLOC
Dec 13 16:18:39 fileserver winbindd[10085]: [2010/12/13 16:18:39,  0]
winbindd/idmap.c:589(idmap_alloc_init)
Dec 13 16:18:39 fileserver winbindd[10085]:   ERROR: Initialization
failed for alloc backend, deferred!
Dec 13 16:18:41 fileserver winbindd[10085]: [2010/12/13 16:18:41,  0]
winbindd/idmap.c:201(smb_register_idmap_alloc)
Dec 13 16:18:41 fileserver winbindd[10085]:   idmap_alloc module tdb
already registered!
Dec 13 16:18:41 fileserver winbindd[10085]: [2010/12/13 16:18:41,  0]
winbindd/idmap.c:149(smb_register_idmap)
Dec 13 16:18:41 fileserver winbindd[10085]:   Idmap module passdb
already registered!
Dec 13 16:18:41 fileserver winbindd[10085]: [2010/12/13 16:18:41,  0]
winbindd/idmap.c:149(smb_register_idmap)
Dec 13 16:18:41 fileserver winbindd[10085]:   Idmap module nss already
registered!
Dec 13 16:18:41 fileserver winbindd[10085]: [2010/12/13 16:18:41,  0]
winbindd/idmap_ldap.c:123(get_credentials)
Dec 13 16:18:41 fileserver winbindd[10085]:   get_credentials: Unable
to fetch auth credentials for cn=root,dc=dominio,dc=com,dc=br in ALLOC
Dec 13 16:18:41 fileserver winbindd[10085]: [2010/12/13 16:18:41,  0]
winbindd/idmap.c:589(idmap_alloc_init)
Dec 13 16:18:41 fileserver winbindd[10085]:   ERROR: Initialization
failed for alloc backend, deferred!


Theses errors are fulling the daemon.log

Here is the idmap part of the smb.conf:

ldap passwd sync = yes
ldap ssl = off
ldap delete dn = yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=root,dc=dominio,dc=com,dc=br
ldap suffix = dc=dominio,dc=com,dc=br
ldap group suffix = ou=Grupos
ldap user suffix = ou=Usuarios
ldap machine suffix = ou=Computadores
ldap idmap suffix = ou=ldapidmapsuffix
idmap backend = ldap://127.0.0.1
idmap alloc backend = ldap
idmap alloc config : ldap_user_dn = cn=root,dc=dominio,dc=com,dc=br
idmap alloc config : ldap_base_dn = ou=Usuarios,dc=dominio,dc=com,dc=br
idmap alloc config : ldap_url = ldap://127.0.0.1
   idmap uid = 10000-20000
   idmap gid = 10000-20000

Can someone shed some light on this?

Tks in advance.


More information about the samba mailing list