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

Re: automatic uidnumber overlay



On Tuesday 10 June 2008 06:30:24 Howard Chu wrote:
> Joel Reed wrote:
> > The attached uidnumber.c overlay intercepts ADD requests for entries
> > with a posixAccount objectclass that do not have a uidNumber. When such
> > ADD requests are found, the overlay searches the directory for the
> > largest uidNumber, then automatically adds a uidNumber attribute of
> > largest+1 to the entry being added.
>
> Interesting. Perhaps instead, your overlay should just maintain a fixed
> entry with a copy of the largest uidNumber in it, instead of searching the
> entire tree all the time.

It may be even nicer if it could be configured to use the sambaUnixIdPool 
method, which is supported by a number of LDAP frontend tools (such as 
smbldap-tools). Then the use of both wouldn't result in breakage.

If you don't know how this works, I can provide some details ...

However, this is quite nice ...

Regards,
Buchan