[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: understanding userid .vs. uid



--On Wednesday, January 27, 2010 12:58 PM +0100 Stefan Palme <palme@kapott.org> wrote:

Hi all,

This is not a problem, just a question to understand the things
"behind the scenes".

I am just playing around with some LDAP frontends helping the user
to add the correct attributes depending on the selected objectclass(es)
when creating new LDAP entries.

A have tried to add an entry with objectclass "account", which requires
an attribute "userid" and may have some more attributes. After adding
the entry with "userid=test", the LDAP tree contained an appropriate
entry, but the attributes "userid" is named "uid" now.

userid is an alias for uid. Just like gn is an alias for givenName, etc. I suggest reading up further on schema definitions. These are all defined by RFC's, so as long as the directory server you are using is RFC compliant, you'll get the same behavior, regardless.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration