RID, PrimaryGID in LDAP

Ronny Bremer rbremer at future-gate.com
Wed May 7 08:09:33 GMT 2003


Chris,

is the RID formula built into Samba or do I need to populate the field
myself? And why is it not used for users, I thought the RID is used for
file ownership/rights assignment? Sorry for the confusion :)

Ronny

>>> "Chaz" <chaz at ne-worcs.ac.uk> 07.05.2003 09:28:01 >>>
"Michael Tang" <michael.tang at bullinfo.com.hk> wrote in message
news:NGBBKPCJKNGLEOLCBKMBCEFECBAA.michael.tang at bullinfo.com.hk...
> Hi,
>
> I found out two attribues in LDAP.  RID, PrimaryGID.  Could you
explain
what
> is it and what value should I should put in if I am in a very
standalone
> environment. i.e. No need to care the existing windows server. Just
one
> openldap server and one/some samba server on Linux.
>
> Regards,
>
> Michael
>
>

Michael,

RID is equal to (UID*2)+1000. This is required for machine accounts,
and is
not needed for user accounts. If the RID is incorrect, the machine will
not
be able to join the doma. PrimaryGID is the id of the primary group
the
account is in. You will need to create a group (posixGroup schema).

Regards,

Chris





More information about the samba-technical mailing list