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

Re: finding the max value of an attribute

openldap wrote:
when searching values in the LDAP directory, it certainly has occured to everybody to have to find the maximum value of an attribute. e.g. when defining a new user in the directory you might specify one more than the maximum value of all uidNumber attributes as the new user's uidNumber.

For this particular use case you should rather implement assigning uid numbers by using a dedicated uid pool entry.

Also consider to use overlay slapo-unique.

Ciao, Michael.