[Samba] uidNumber. ( Was: What is --rfc2307-from-nss ??)
Greg Zartman
gzartman at koozali.org
Tue Dec 2 01:29:21 MST 2014
On Mon, Dec 1, 2014 at 2:05 AM, Lars Hanke <debian at lhanke.de> wrote:
>
> If you like to manage Unix users from the Unix side and ldbedit seems too
> awkward, you might try my Python script: https://github.com/laotse/
> SambaPosix
>
> I appreciate comments, experiences, and contributions to make it a useful
> tool.
>
Thanks Lars. I'm working on building a perl API for Samba 4 for use with
the SME Server (www.koozali.org). Your python is a great check for what
needs to go into a perl API.
I think I've finally got this all sorted out. After I setup a user using
samba-tool user create, I'll pull the RID for this new user and then set
the UID/GID = RID + 3000. I'll then set xidNumber = UIDNumber(GIDNumber),
as appropriate.
The other attributes can be set in a similar fashion as you have done.
I'm not finding where we need these though for *nix auth:
uid
msSFU30Name
msSFU30NisDomain
Can someone clarify what these are needed for? SSSD doesn't seem to use
them.
Greg
More information about the samba
mailing list