]> granicus.if.org Git - linux-pam/blobdiff - modules/pam_mkhomedir/pam_mkhomedir.c
Relevant BUGIDs:
[linux-pam] / modules / pam_mkhomedir / pam_mkhomedir.c
index 11180444332c18f1b701c2d7379f29ce2a85d76e..6814056f007682792617a1d7a066cd057d9766a9 100644 (file)
@@ -359,7 +359,7 @@ int pam_sm_open_session(pam_handle_t * pamh, int flags, int argc
    }
 
    /* Get the password entry */
-   pwd = getpwnam(user);
+   pwd = _pammodutil_getpwnam (pamh, user);
    if (pwd == NULL)
    {
       D(("couldn't identify user %s", user));