[Bug 647] Setting "UsePAM no" in sshd_config gives error if not config'ed w/ --with-pam

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 18 17:47:53 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=647





------- Additional Comments From dtucker at zip.com.au  2003-09-18 17:47 -------
Created an attachment (id=422)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=422&action=view)
Set options->use_pam to 0 if USE_PAM is not set

On a related note, options.use_pam is set even unless overridden by the UsePAM
directive, which doesn't happen if PAM support isn't compiled in.

This means, for example, that things like this (from auth.c) don't happen when
PAM support is disabled:
#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW)
	if (!options.use_pam)
		spw = getspnam(pw->pw_name);

Hey!  That might be the cause of some of our mystery segfaults on Solaris 2.6!



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list