Comment 2 for bug 423252

Revision history for this message
Scott Grizzard (sgrizzard) wrote : Re: NSS using LDAP on Karmic (alpha 4) breaks 'su' and 'sudo'

Workaround:

It's a bit clunky, but if it is driving you nuts, you can add the user information to the local /etc/passwd file, and the user will be able to use sudo and su.

The catch is that the user_id and the user_name must be the same in both ldap and the local /etc/passwd. It sort of defeats the purpose of ldap, but if you only have one admin user, it works fine.