Armand DELCROS
2011-Aug-04 10:26 UTC
[Samba] Failed to allocate new gidNumber. smbldap_modify() failed.
Hello, 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: NT_STATUS_NONE_MAPPED)" 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 : -------------------------------------- [global] workgroup = STOUEN server string = VMFILE01 netbios name = VMFILE01 # wins support = yes wins server = 10.2.200.1 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://10.2.200.2 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 -------------------------------------- Armand DELCROS 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 : 01.49.45.67.60 Fax : 01.49.45.67.34 Avant d'imprimer, pensez ? l'environnement .....
Armand DELCROS
2011-Aug-04 11:15 UTC
[Samba] Failed to allocate new gidNumber. smbldap_modify() failed.
Sorry, the message about the mapping error for the group is not relevant because we have a duplicate entry in the ldap. but the message in winbindd-idmap log is still relevant, sometimes we have a another message : [2011/08/04 13:13:52, 0] lib/smbldap.c:(578) PANIC: assert failed at lib/smbldap.c(578) [2011/08/04 13:13:52, 2] lib/smbldap.c:(786) Best regards and thank you for your help. Armand DELCROS 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 : 01.49.45.67.60 Fax : 01.49.45.67.34 -----samba-bounces at lists.samba.org a ?crit : ----- A : samba at lists.samba.org De : Armand DELCROS <ADELCROS at mairie-saint-ouen.fr> Envoy? par : samba-bounces at lists.samba.org Date : 04/08/2011 12:26 Objet : [Samba] Failed to allocate new gidNumber. smbldap_modify() failed. Hello, 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: NT_STATUS_NONE_MAPPED)" 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 : -------------------------------------- [global] workgroup = STOUEN server string = VMFILE01 netbios name = VMFILE01 # wins support = yes wins server = 10.2.200.1 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://10.2.200.2 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 -------------------------------------- Armand DELCROS 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 : 01.49.45.67.60 Fax : 01.49.45.67.34 Avant d'imprimer, pensez ? l'environnement ..... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba Avant d'imprimer, pensez ? l'environnement .....