I can confirm this on hardy. The attached patch optimizes the case where useradd is passed a valid, unique username & id.
** Attachment added: "Proposed fix" http://launchpadlibrarian.net/11719398/490_useradd_quick -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
