[Samba] i can't delete groupmap

Arnold.O.Andrews at seagate.com Arnold.O.Andrews at seagate.com
Thu Jul 21 14:41:56 GMT 2005



samba-bounces+arnold.o.andrews=seagate.com at lists.samba.org wrote on
07/21/2005 09:19:03 AM:

> Hi, i can't delete groupmap in my samba 3.0.12:
>
> # 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!
>

try this:

net groupmap delete sid="S-1-5-21-3984604316-2900431957-2958281145-513"


I'm guessing that you used "net groupmap add" instead of "net groupmap
modify", so you wound up with multiple group mappings using the same
"ntgroup" name.


Regards,

Arnold Andrews
Sr. Systems Administrator
Seagate Technology



More information about the samba mailing list