[Samba] i can't delete groupmap

aux aux at gawab.com
Thu Jul 21 15:21:49 GMT 2005


Paul Gienger wrote:
>># net groupmap list
>>Domain Users (S-1-5-21-3984604316-2900431957-2958281145-513) -> products
>>Domain Admins (S-1-5-21-3984604316-2900431957-2958281145-513) -> man
>>Domain Admins (S-1-5-21-3984604316-2900431957-2958281145-512) -> domadmin
>>Domain Users (S-1-5-21-3984604316-2900431957-2958281145-513) -> domuser
>>
>># net groupmap delete ntgroup="Domain Users"
>>NT Group Domain Users doesn't exist in mapping DB
>>Unable to resolve group Domain Users to a SID
>>
>># net groupmap delete ntgroup="Domain Users"
>>sid=S-1-5-21-3984604316-2900431957-2958281145-513
>>[2005/07/21 16:14:24, 0] passdb/pdb_ldap.c:ldapsam_delete_entry(276)
>>   ldapsam_delete_entry: Entry must exist exactly once!
>>
>>I deleted /var/lib/samba/group_mapping.tdb and restart the server but
>>not works.
> 
> 
> Since it seems you're using an LDAP backend, check your group objects for
> each of the groups you list above (products, man, domadmin, domuser).
> Remove the samba attributes/objectclass from those groups that are
> incorrectly mapped, I would assume those are the products and man groups.
> 
> 
> 

yes i'm using ldap backend, but i can't delete the attributes or 
objectclass, for example the sambaGroupMapping, i obtain the error:

attribute 'sambaGroupType' not allowed].

thanks


More information about the samba mailing list