]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth.c
merged OPENSSH_5_2P1_GSSAPI_20090831 to GPT-branch
[gssapi-openssh.git] / openssh / auth.c
index 2106dfccf8e64c61ebc21b2a60c0982e1c265e3a..010e550ac7dcdd1ce1d596c8b034442a95ecbe8a 100644 (file)
@@ -527,6 +527,10 @@ getpwnamallow(const char *user)
            get_canonical_hostname(options.use_dns), get_remote_ipaddr());
 
        pw = getpwnam(user);
+#ifdef USE_PAM
+       if (options.use_pam && options.permit_pam_user_change && pw == NULL)
+               pw = sshpam_getpw(user);
+#endif
        if (pw == NULL) {
                logit("Invalid user %.100s from %.100s",
                      (user && user[0]) ? user : "unknown",
This page took 0.058051 seconds and 4 git commands to generate.