FreeBSD.cf,DragonFly.cf: disable PAM support by default
These system can support PAM, but it requires a port of the NetBSD module to do so. As a result, this support is disabled by default. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073 for a patch to add this support to the OS. Then you can set HasPamLibrary to YES in the respective .cf files, rebuild CDE, and try it out.
This commit is contained in:
@@ -190,8 +190,10 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion) (OSRelVersio
|
|||||||
# define HasZlib YES
|
# define HasZlib YES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HasPam
|
#ifndef HasPamLibrary
|
||||||
# define HasPam YES
|
XCOMM See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073
|
||||||
|
XCOMM to enable pam support
|
||||||
|
# define HasPamLibrary NO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Take from FreeBSD */
|
/* Take from FreeBSD */
|
||||||
|
|||||||
@@ -248,7 +248,9 @@ ICONVSYSLIB != if test -f /usr/local/include/iconv.h; then echo -liconv; else ec
|
|||||||
#define CDESharedRev 2
|
#define CDESharedRev 2
|
||||||
|
|
||||||
#if !defined(HasPamLibrary)
|
#if !defined(HasPamLibrary)
|
||||||
#define HasPamLibrary YES
|
XCOMM See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073
|
||||||
|
XCOMM to enable pam support
|
||||||
|
#define HasPamLibrary NO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(PamAuthenticationModule)
|
#if !defined(PamAuthenticationModule)
|
||||||
|
|||||||
Reference in New Issue
Block a user