RID, PrimaryGID in LDAP

Andrew Bartlett abartlet at samba.org
Wed May 7 12:18:46 GMT 2003


On Wed, 2003-05-07 at 17:28, Chaz wrote:
> "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).

This is a bit confused.  This is a mandatory attributes in LDAP, for all
types of user.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030507/64a2e5b2/attachment.bin


More information about the samba-technical mailing list