On Mon, 27 Nov 2000, Moby wrote:

> One possibility is to create an object with an attribute to hold the last
> assigned user id. Then, every time you add another user, read that
> attribute, increment it by one, and use that as the UID.  Also store the
> newly assigned UID back in that attribute.
>
> This is something along the lines of what Novell is doing with their NDS
> corporate edition product for NT domains (SIDs instead of UIDs).

Very good idea, though there is no read-and-modify LDAP api command, so
there is no reliable way to lock the record while you increment it.

thornton



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to