Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201464 Details for
Bug 281707
sys-auth/pambase: LDAP authentication support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to pambase-20090620.1 source to add support for pam_ldap
ldap.patch (text/plain), 1.81 KB, created by
Mike Nerone
on 2009-08-16 20:37:30 UTC
(
hide
)
Description:
Patch to pambase-20090620.1 source to add support for pam_ldap
Filename:
MIME Type:
Creator:
Mike Nerone
Created:
2009-08-16 20:37:30 UTC
Size:
1.81 KB
patch
obsolete
>diff -ur /var/tmp/portage/sys-auth/pambase-20090620.1-r1/work/pambase-20090620.1/Makefile pambase-20090620.1/Makefile >--- /var/tmp/portage/sys-auth/pambase-20090620.1-r1/work/pambase-20090620.1/Makefile 2009-06-20 15:59:32.000000000 -0500 >+++ pambase-20090620.1/Makefile 2009-08-16 14:09:32.000000000 -0500 >@@ -44,6 +44,10 @@ > PAMFLAGS += -DHAVE_PAM_SSH=1 > endif > >+ifeq "$(LDAP)" "yes" >+PAMFLAGS += -DHAVE_LDAP=1 >+endif >+ > ifeq "$(SHA512)" "yes" > PAMFLAGS += -DWANT_SHA512=1 > endif >diff -ur /var/tmp/portage/sys-auth/pambase-20090620.1-r1/work/pambase-20090620.1/system-auth.in pambase-20090620.1/system-auth.in >--- /var/tmp/portage/sys-auth/pambase-20090620.1-r1/work/pambase-20090620.1/system-auth.in 2009-06-20 15:59:32.000000000 -0500 >+++ pambase-20090620.1/system-auth.in 2009-08-16 14:18:26.000000000 -0500 >@@ -4,8 +4,15 @@ > #if HAVE_PAM_SSH > auth sufficient pam_ssh.so > #endif >-auth required pam_unix.so try_first_pass LIKEAUTH nullok DEBUG >+auth sufficient pam_unix.so try_first_pass LIKEAUTH nullok DEBUG >+#if HAVE_LDAP >+auth sufficient pam_ldap.so use_first_pass >+#endif >+auth required pam_deny.so > >+#if HAVE_LDAP >+auth sufficient pam_ldap.so >+#endif > account required pam_unix.so DEBUG > > #if HAVE_CRACKLIB >@@ -14,7 +21,11 @@ > #if HAVE_PASSWDQC > password required pam_passwdqc.so min=8,8,8,8,8 retry=3 > #endif >-password required pam_unix.so try_first_pass AUTHTOK nullok UNIX_EXTENDED_ENCRYPTION DEBUG >+password sufficient pam_unix.so try_first_pass AUTHTOK nullok UNIX_EXTENDED_ENCRYPTION DEBUG >+#if HAVE_LDAP >+auth sufficient pam_ldap.so use_first_pass AUTHTOK >+#endif >+password required pam_deny.so > > #if HAVE_LIMITS > session required pam_limits.so DEBUG >@@ -31,4 +42,7 @@ > #if SUPPORT_UNIX_SESSION > session required pam_unix.so DEBUG > #endif >+#if HAVE_LDAP >+auth optional pam_ldap.so >+#endif > session optional pam_permit.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281707
:
201464
|
201466
|
201473
|
201819
|
202165