Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
3801b179
Commit
3801b179
authored
Sep 29, 2009
by
Quanah Gibson-Mount
Browse files
Fix authz return code checking
parent
fbeda733
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c
View file @
3801b179
...
...
@@ -441,6 +441,7 @@ int pam_sm_acct_mgmt(
if
(
rc
!=
PAM_IGNORE
)
pam_warn
(
appconv
,
"LDAP authorization failed"
,
PAM_ERROR_MSG
,
no_warn
);
}
else
{
rc
=
ctx2
.
authz
;
if
(
ctx2
.
authzmsg
&&
ctx2
.
authzmsg
[
0
])
pam_warn
(
appconv
,
ctx2
.
authzmsg
,
PAM_TEXT_INFO
,
no_warn
);
if
(
ctx2
.
authz
==
PAM_SUCCESS
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment