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