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

Re: LDAP operations questions

>>>>> "Kurt" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> At 03:33 PM 6/7/00 -0400, Weston Bustraan wrote:
    >> 1. Is it possible to have LDAP force an attribute to be unique?

    Kurt> The protocol has no means to do that.  Some servers do.
    Kurt> OpenLDAP doesn't (but can be hacked to do such).

    >> 2. Is there a way to get the maximum value of an attribute
    >> during a search?

    Kurt> no, but your application can maintain a separate attribute
    Kurt> which contains such a value.

Or have the client (ie, the add user script) do a search on uidNumber,
sort it, take the highest number + 1... That's how I do it...