[EMAIL PROTECTED] schrieb:
>
> Imagine you have some domain with ten users. if you want to add one
> user more it`s takes 2 seconds
>
> but Imagine you have some domain with 10000 users. if you want to add
> one user (named X) more it`s takes 20 seconds aprox. because it has to
> compare with 10000 records in order to know if user X exists.
>
> I don´t know how I have to make the ldap tree: Deep or Wide?
I think you should have another look at ldap and then use ldap search to
find out if the user already exists (like in
http://lists.roaringpenguin.com/pipermail/mimedefang/2004-April/021559.html
)
Sounds like you are reading all user records from ldap and then look at
one after the other to see if the new username is already taken - but
that is just really bad application design on your side.

Greetings,

Timm

Reply via email to