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 -- useradd too slow with LDAP nsswitch https://bugs.launchpad.net/bugs/120015 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs