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

Michael W. Lucas mwlucas at blackhelicopters.org
Mon Mar 8 15:25:03 EST 2010


On Mon, Mar 08, 2010 at 12:00:07PM -0500, Todd C. Miller wrote:
> 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.

Behavior doesn't change with this, thanks.

As you suspect PAM, I'll look back in that direction.

Thanks,
==ml


-- 
Michael W. Lucas 	mwlucas at BlackHelicopters.org
http://www.MichaelWLucas.com/
Latest book:  Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.com/



More information about the sudo-users mailing list