diff options
author | djm <djm> | 2002-04-23 10:28:48 +0000 |
---|---|---|
committer | djm <djm> | 2002-04-23 10:28:48 +0000 |
commit | f5e916da41041597b15816e44da245686dabfbd1 (patch) | |
tree | 46ac9c01d62d34b041b404ce4e53f8cd193cbdba /auth1.c | |
parent | 7a77c37f5d51c1c3315a2ad44ab963d0f97c222a (diff) | |
download | openssh-f5e916da41041597b15816e44da245686dabfbd1.tar.gz |
- (djm) Make privsep work with PAM (still experimental)
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -306,7 +306,8 @@ do_authloop(Authctxt *authctxt) authenticated = 0; #endif #ifdef USE_PAM - if (authenticated && !do_pam_account(pw->pw_name, client_user)) + if (!use_privsep && authenticated && + !do_pam_account(pw->pw_name, client_user)) authenticated = 0; #endif @@ -381,7 +382,7 @@ do_authentication(void) use_privsep ? " [net]" : ""); #ifdef USE_PAM - start_pam(authctxt->pw == NULL ? "NOUSER" : user); + PRIVSEP(start_pam(authctxt->pw == NULL ? "NOUSER" : user)); #endif /* |