[Samba] Wither "uidNumber" and "gidNumber"? (was: Re: ldbedit: no matching records - cannot edit (newly-created user))

buhorojo buhorojo.lcb at gmail.com
Mon Sep 14 16:56:20 UTC 2015


On 14/09/15 18:32, Jim Seymour wrote:
>
> Setting gidNumber in the user's entry seems to have no effect:
>
>      The user:
>
>      dn: CN=someuser,CN=Users,DC=ad,DC=example,DC=com
>      objectClass: user
>      ...
>      gidNumber: 120
>      ...
>
>      The group:
>
>      dn: CN=users2,CN=Users,DC=ad,DC=example,DC=com
>      objectClass: group
>      cn: users2
>      name: users2
>      sAMAccountName: users2
>      gidNumber: 120
>
>      $ getent group users2
>      EXAMPLE\users2:*:120:
>
>      $ getent passwd someuser
>      EXAMPLE\someuser:*:6001:513::/home/%U:/bin/false
>
> And, indeed, things created by the user end up group 513.
>
> Regards,
> Jim
getent returns primaryGroupID, not gidNumber
HTH




More information about the samba mailing list