.
> if I "finger" a uid which is close to the "top" of the directory, it
> returns gratifyingly quickly.. (much faster than the wretched Solaris 8
> native LDAP client) but if the uid is "farther down" in the directory,
> Solaris immediately returns a "no such user."

Hmmm.. further insight. When I did a "listusers" on the SPARC box (no
Linux equivalent) it only returned 491 users (although my directory
contains 40000+ users).

This is disturbingly close to the "500 rows maximum returned" by OpenLDAP
server. When I increased sizelimit (in OpenLDAP slapd) to 5000 rows,
"listusers"  returned 4991 rows..

However I wrote a little program that did getpwnam() and it worked OK,
returned SAME RESULTS using PADL LDAP on Linux and Solaris SPARC with no
CPU load spikes.

I think what this means is that Solaris 8 listusers and finger are BROKEN
because they seem to force a return of all rows.

Well at least everything works fine. Oddly enough, telnet worked even if I
hadn't installed pam_ldap.. (probably was using the Solaris pam_ldap
module).


-- 
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d(-) s: a-25 C++++ UBLSI++++$ P+++ L+++>++++ E- W++ N(+)
o K? w O-- M- !V PS(++) PE- Y PGP-- t(+)@ 5(+) X++@ R(+) tv@
b++ DI++ G e++@ h--(*) r% y+
------END GEEK CODE BLOCK------


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to