[Samba] Add UNIX attributes to user object automatically

Rowland Penny rpenny at samba.org
Fri Oct 5 09:28:32 UTC 2018


On Fri, 5 Oct 2018 10:45:56 +0200
William Edwards | Tuxis Internet Engineering via samba
<samba at lists.samba.org> wrote:

> I have user objects. They need UNIX attributes. Currently I have to
> set these attributes manually. Is there a way to automatically add a
> UNIX uid and gid to a user object in Samba? RFC 2307 has been setup
> and is functional. NIX Extensions are installed as well.
> 

There is no way to do this automatically, you could use the winbind
'rid' backend, this will allocate a Unix ID from the users RID.

You can use samba-tool to create your users with rfc2307 attributes,
but you need to track the uidNumber & gidNumber Attributes manually.

Rowland



More information about the samba mailing list