[Samba] Fwd: Re: Duplicate xidNumbers
rpenny at samba.org
Fri Jan 13 16:59:55 UTC 2017
On Fri, 13 Jan 2017 11:36:26 -0500
Bob Thomas via samba <samba at lists.samba.org> wrote:
> Thank you for the quick response.
> I have just run net cache flush no change in problem. I have dumped
> the idmap.ldp using ldbsearch -H /var/lib/samba/private/idmap.ldb >
> idmap.txt and did some sorting, that is how I found the duplicates.
> On 1/13/2017 11:09 AM, Rowland Penny via samba wrote:
> > samba-tool ntacl
> > >sysvolreset
OK, idmap.ldb contains records like this:
As you can see, it maps a user/groups SID to an xidNumber. So I see no
problem with just using the xidNumber for another SID when you have
duplicates, but I would try this instead. Stop Samba, backup idmap.ldb
and then delete both duplicates and any other records that don't match
the above sample, then restart Samba, this should recreate the records,
but with new xidNumbers.
Run 'net cache flush' and sysvolreset again.
More information about the samba