[Samba] Failed to allocate new gidNumber. smbldap_modify() failed.

Armand DELCROS ADELCROS at mairie-saint-ouen.fr
Thu Aug 4 04:26:37 MDT 2011


We are using samba 3.0.37 on solaris 10

We encountered errors with winbind :

"Failed to allocate new gidNumber. smbldap_modify() failed."

and also in the samba.log :

 "could not lookup membership for group sid
 S-1-5-21-2446956985-2243763730-1737288511-3325 in domain STOUEN (error:

After some searching with google,I increase the gidnumber max and uidnumber
max but we still experienced problem with the guid allocation. so i don't
know what can i do, it is not possible for us to upgrade to a newer version
of samba.

smb.conf :
workgroup = STOUEN
server string = VMFILE01
netbios name = VMFILE01
# wins support = yes
wins server =
password server = vmdc01.stouen.local
log level = 2

log file = /var/samba/log/samba.log
max log size = 30000
unix charset = UTF-8
dos charset = CP850
#ldap ssl = no
ldap ssl = off
ldap admin dn = cn=admin,dc=stouen,dc=local
ldap suffix = dc=stouen,dc=local
encrypt passwords = yes
security = domain
load printers = no
domain master = no
local master = no
preferred master = no
os level = 0
idmap backend = ldap:ldap://

ldap idmap suffix = ou=Idmap

idmap uid = 16777216-100000000000
idmap gid = 16777216-100000000000
winbind cache time = 15
winbind enum users = yes
winbind enum groups = yes
template shell = /sbin/nologin
winbind use default domain = yes

Service système/réseau/téléphonie
Mairie de Saint-Ouen
Direction des Systèmes d'Informations
6, Place de la république
93406 Saint-Ouen Cedex.

Tel :
Fax :

Avant d'imprimer, pensez à l'environnement .....

More information about the samba mailing list