[sudo-users] problems with sudo, ldap, and passwords

Todd C. Miller Todd.Miller at courtesan.com
Mon Mar 8 12:00:07 EST 2010

This sounds more like a PAM issue than an LDAP issue.  One FreeBSD
user has reported problems caused by the following in auth/pam.c:

     * Set PAM_RUSER to the invoking user (the "from" user).
     * We set PAM_RHOST to avoid a bug in Solaris 7 and below.
    (void) pam_set_item(pamh, PAM_RUSER, user_name);
    (void) pam_set_item(pamh, PAM_RHOST, user_host);

You could try commenting that bit out and see if the behavior changes.

 - todd

More information about the sudo-users mailing list