[Samba] Convert Unix GID into Samba SID

Olivier Olivier.Nicole at cs.ait.ac.th
Mon Dec 4 07:17:09 UTC 2017


Hi,

It is time I migrate from Samba 3.6 to Samba 4.

But the classicupdate fails because there is no group defined for my
LDAP users. Well, users have a group, but it is a Unix only group. I
never bothered to do any group mapping between Unix and Samba 3, I never
needed it.

I found out, a long long time ago that the relationship between UID and
SID is SID=2*UID+1000.

I am not sure of what I should do? Now.

Add and SID in my groups in LDAP? If so, how to calculate the SID?

Do some mapping?

Thanks for the help in advance,

Olivier
-- 



More information about the samba mailing list