[Samba] samba-tool user add --uid
Dr. Lars Hanke
lars at lhanke.de
Thu Jun 12 15:33:57 MDT 2014
Seems I need some more sleep. Found the options in the help page. I was
fooled by outdated recipes and the option auto-completion mapping
'--gid' to '--gid-number'.
Sorry!
Am 12.06.2014 22:06, schrieb Rowland Penny:
> On 12/06/14 20:31, Lars Hanke wrote:
>> Is it a bug or a feature?
>>
>> While --gid maps to the gidNumber OID of posixAccount, --uid maps to
>> uid, which is supposed to contain the textual user name. The numerical
>> uid should be in uidNumber, but there doesn't seem to be an option to
>> set this.
>>
>> Of course the aim is to migrate an existing OpenLDAP, Kerberos, Samba3
>> infrastructure to Samba4 AD.
>>
>> Thanks for your help,
>> - lars.
> Just what version of samba4 are you using and on what OS ?
>
> The version of samba-tool I am using has:
>
> --uid-number=UID_NUMBER
> User's Unix/RFC2307 numeric UID
> --gid-number=GID_NUMBER
> User's Unix/RFC2307 primary GID number
>
> Rowland
More information about the samba
mailing list