Comment 1 for bug 120015

Revision history for this message
João Manuel Rodrigues (jmr) wrote :

Forgot to say:
I'm using Ubuntu 6.06 but I recall similar behavior with a Mandrake 10.1 distro a few years ago. This is probably a upstream problem.

Some more info:
In my current setup, ldap is only used for the passwd DB --- Kerberos is used for authentication, so there is no need for shadow DB from nsswitch. I've installed libnss-ldap, but not libpam-ldap.

I tried creating users both with and without options specifying UID and GID:
   useradd johndoe
   useradd -u 1234 johndoe
   useradd -u 1234 -g 100 johndoe
All had the same problem. (I hoped that by specifying a UID only a single lookup would be made, but strace reveals the same behavior: fetching the full DB.)

Sorry for the typos in the previous comment.

João Rodrigues