At 05:52 AM 2/4/2003 -0500, you wrote:
>On 04-Feb-2003/17:43 +0000, Beast <[EMAIL PROTECTED]> wrote:
>>I've just setup 2 pc (rh 80), one for ldap server (openldap-2.1.12,
>>compiled from source) and one for client.  i can login from ws with user
>>in ldap, but it takes 2-3 minutes to log in.  when issue command ls -l to
>>any files/dirs owned by user-in-ldap-only, it takes arround 1 minute to
>>complete, is it normal?
>
>Try creating indices for the UID, GID, and username attributes. I've found
>that OpenLDAP works much faster when searching indexed attributes.

My knowledge of ldap is very limited :(, but i already create an index
(from slapd.conf) :

index   objectClass,uid,uidNumber,gidNumber,cn  eq

when i search from this-ldap-server:
[beast@atlantis src]$ ldapsearch -x '(uid=beast)'

It give _fast_ output, but when i did same command from client-ws, again,
it takes arround 30-60 secs.
What could be the problem?

FYI, both fqdn and ip are resolvable using dns for these pc.
Tks.







-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to