[Samba] Patch to Set RFC2307 attributes in samba-tool create user <username> --uid-number=501
rowlandpenny at googlemail.com
Wed Nov 13 02:26:14 MST 2013
On 12/11/13 21:32, Werthmuller, Derek wrote:
> I'm using sernet samba 4.0.11 on Centos 6 and don't see the capabilities to add some of the RFC2307 attributes that make Linux UID/GID mapping easier in the sernet version of the samba-tool.
> The patch is mentioned on this list last year under: https://lists.samba.org/archive/samba/2012-September/169300.html
> Some threads on the net refer to this capability found in newer versions of samba 4.0.9. I'm interested in creating accounts like:
> -bash-4.1$ sudo /usr/bin/samba-tool user add <usersname> --uid-number=5000 gid-number=5000 home-directory=/exports/users/<usersname> login-shell=/bin/bash
> Are different versions of the samba-tool back word compatible? I wondering if I can download the latest samba sources and just use the samba-tool components against my samba4 ADC.
> Installed version of the Samba-tool reports;
> -bash-4.1$ /usr/bin/samba-tool --version
Yes, if you do not want to upgrade, you can do what you suggest, you need:
as a minimum.
More information about the samba