Web lists-archives.com

Re: [Samba] wiki suggestions, part 2




Am Donnerstag, 26. April 2018, 18:29:39 CEST schrieb Klaus Hartnegg via samba:
> Is that really so difficult?
Yes, and their are other things which one should look on:
i.e. duplicate SIDs

> How about these two commands:
> 
> pdbedit -Lv  | grep "User SID" | sort | uniq -d
> net groupmap list | cut -d- -f8 | sort | uniq -d
> 
> Is it enough when these both return nothing?
No, i have created 2 users with same sid.

root@capella:~# pdbedit -Lv  | grep "User SID" | sort|uniq -d
root@capella:~# 

root@capella:~# pdbedit -L|grep Failing
ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2
ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2

root@capella:~# ldapsearch -xLLL 'sambasid=S-1-5-21-3958726613-3318811842-4132420312-21010' dn
dn: uid=zhuber,ou=new,dc=europa,dc=xx
dn: uid=zhuber,ou=people,ou=accounts,dc=europa,dc=xx



-- 

Gruss
	Harry Jede
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba