summaryrefslogtreecommitdiff
path: root/package/pam/patches/patch-modules_pam_time_pam_time_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-13 21:59:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-13 21:59:33 +0200
commit37cce3a71c9359d46dc20bdb7b11ea66dd60add3 (patch)
treee67aff27a3984a048392d2ac88977d9c9aa5df17 /package/pam/patches/patch-modules_pam_time_pam_time_c
parent198c7e39ba6b920adc9c4541a2ec5d13b4d3c986 (diff)
parent025304e3d70b00ea7a91998d80a16e6183a62fad (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pam/patches/patch-modules_pam_time_pam_time_c')
-rw-r--r--package/pam/patches/patch-modules_pam_time_pam_time_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/pam/patches/patch-modules_pam_time_pam_time_c b/package/pam/patches/patch-modules_pam_time_pam_time_c
new file mode 100644
index 000000000..e57094beb
--- /dev/null
+++ b/package/pam/patches/patch-modules_pam_time_pam_time_c
@@ -0,0 +1,13 @@
+--- Linux-PAM-1.1.4.orig/modules/pam_time/pam_time.c 2011-06-21 11:04:56.000000000 +0200
++++ Linux-PAM-1.1.4/modules/pam_time/pam_time.c 2011-10-12 14:43:20.673559001 +0200
+@@ -555,7 +555,9 @@ check_account(pam_handle_t *pamh, const
+ }
+ /* If buffer starts with @, we are using netgroups */
+ if (buffer[0] == '@')
+- good &= innetgr (&buffer[1], NULL, user, NULL);
++ //good &= innetgr (&buffer[1], NULL, user, NULL);
++ pam_syslog(pamh, LOG_ERR,
++ "%s: no netgroup support in C library", PAM_TIME_CONF);
+ else
+ good &= logic_field(pamh, user, buffer, count, is_same);
+ D(("with user: %s", good ? "passes":"fails" ));