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

Re: how to check uniqueness of uidNumber ?

WONG_Jeffrey@seac.pf wrote:
WJsp> I'm thinking about to use openldap for users authentication. For that, I
WJsp> use person, posixAccount and shadowAccount objects to store user data
WJsp> (password, uid, ...). Now I want that no user have the same uidNumber (I
WJsp> know Unix allows multiple users to have the same uidNumber, but this is
WJsp> not compliant with my policy).
WJsp> So how can I check uniqueness of uidNumber ?

I don't think it is possible to do.  I am used to think of it as a
feature though.  Consider that having multiple userPassword attributes
for the same object in posixAccount will allow your users to use
different passwords to login! ;)

Best regards,
  Leonid Mamtchenkov, RHCE
  System Administrator
  Francoudi & Stephanou Ltd.