[Samba] same sambaSID

John H Terpstra jht at samba.org
Mon Oct 24 20:01:30 GMT 2005


On Monday 24 October 2005 13:50, Natxo Asenjo wrote:
> Hi,
>
> samba 3.14 with ldapsam, working fine.
>
> I tried this usrmngr.exe thingie because one of our admins is very
> gui-oriented, wanted to see if it worked fine.
>
> For most users, it is. I can change details, logon hours, groups,
> passwords. But for 3 of them I get this message:
>
> ldapsam_getsampwsid: More than one user with SID
> [S-1-5-21-3707708495-1570892323-1667890705-3076]. Failing. count=3
>
> I check in a dump of the ldap database, and indeed, they do have the same
> sid. To my knowledg they were added with the smbldap-tools which work fine,
> in fact I just tested it, new user, different sid.
>
> How can i fix this? Removing the users and recreating them?

That is the easy way to do it.  The other way is to change the UID of one of 
them, but the specifics of that method depends on what passdb backend you are 
using.

- John T.

>
> Thanks in advance.

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list