summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-08-05 18:01:36 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-08-05 18:01:36 +0000
commit6767898075ba6b5e401d68a98e87d4c80ff56e27 (patch)
tree94030abeb3387f5d2d729552a15c58b21be575d5 /modules
parent46843b041fe03b87567f9a9a4c78e807182c73f6 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use pam_modutil_getpwnam instead of getpwnam.
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_limits/pam_limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c
index eb97a266..20aa794a 100644
--- a/modules/pam_limits/pam_limits.c
+++ b/modules/pam_limits/pam_limits.c
@@ -615,7 +615,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags UNUSED,
return PAM_SESSION_ERR;
}
- pwd = getpwnam(user_name);
+ pwd = pam_modutil_getpwnam(pamh, user_name);
if (!pwd) {
if (ctrl & PAM_DEBUG_ARG)
pam_syslog(pamh, LOG_WARNING,