summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-02-04 13:58:39 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-02-04 14:31:35 -0500
commit586793c2f95b574695c5520cf6f3ef019fb58519 (patch)
tree1468ee807763db3157190c61fe63930aff4763e0 /src/providers/ldap/sdap_access.c
parent82bfb315f3dbacf4a6dbfc483cf1eb87f30c015c (diff)
downloadsssd-586793c2f95b574695c5520cf6f3ef019fb58519.tar.gz
sssd-586793c2f95b574695c5520cf6f3ef019fb58519.tar.xz
sssd-586793c2f95b574695c5520cf6f3ef019fb58519.zip
Only print "no matching service rule" when appropriate
Diffstat (limited to 'src/providers/ldap/sdap_access.c')
-rw-r--r--src/providers/ldap/sdap_access.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index f5220742d..5a6b4a5d3 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -1001,13 +1001,13 @@ static struct tevent_req *sdap_access_service_send(
if (state->pam_status != PAM_SUCCESS) {
DEBUG(4, ("No matching service rule found\n"));
- }
- ret = pam_add_response(pd, SSS_PAM_SYSTEM_INFO,
- sizeof(AUTHR_SRV_NO_MATCH_MSG),
- (const uint8_t *) AUTHR_SRV_NO_MATCH_MSG);
- if (ret != EOK) {
- DEBUG(1, ("pam_add_response failed.\n"));
+ ret = pam_add_response(pd, SSS_PAM_SYSTEM_INFO,
+ sizeof(AUTHR_SRV_NO_MATCH_MSG),
+ (const uint8_t *) AUTHR_SRV_NO_MATCH_MSG);
+ if (ret != EOK) {
+ DEBUG(1, ("pam_add_response failed.\n"));
+ }
}
ret = EOK;