[Samba] Getting UID and GID via LDAP/LDB query on a non-rfc2307 domain...
Marco Gaiarin
gaio at lilliput.linux.it
Tue Jan 6 18:12:15 UTC 2026
Mandi! Rowland Penny via samba
In chel di` si favelave...
> Can you please explain just what you require.
suppose i need to build a pure-LDAP script to query some aspect of user
data.
If i use rfc2307 and i need UID/GID, i can simply query it (uidNumber and
gidNumber).
If i use RID, i've some operational field to query UID/GID? Or i need in
script to extract SID, strip last part (RID), extract 'domain base id' from
samba conf, use standard formula to compute UID (and similar way, GID)?
I hope i was clear now. Thanks.
--
More information about the samba
mailing list