[Samba] wiki suggestions, part 2
Harry Jede
walk2sun at arcor.de
Thu Apr 26 18:07:15 UTC 2018
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 at capella:~# pdbedit -Lv | grep "User SID" | sort|uniq -d
root at capella:~#
root at 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 at 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
More information about the samba
mailing list