nss-pam-ldapd commit: r1444 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1444 - nss-pam-ldapd/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1444 - nss-pam-ldapd/nslcd
- Date: Sat, 30 Apr 2011 10:39:15 +0200 (CEST)
Author: arthur
Date: Sat Apr 30 10:39:12 2011
New Revision: 1444
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1444
Log:
fix return value of try_autzsearch() when no match found
Modified:
nss-pam-ldapd/nslcd/pam.c
Modified: nss-pam-ldapd/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd/nslcd/pam.c Sat Apr 30 10:12:18 2011 (r1443)
+++ nss-pam-ldapd/nslcd/pam.c Sat Apr 30 10:39:12 2011 (r1444)
@@ -326,6 +326,8 @@
if (entry==NULL)
{
log_log(LOG_ERR,"pam_authz_search \"%s\" found no matches",filter_buffer);
+ if (rc==LDAP_SUCCESS)
+ rc=LDAP_NO_SUCH_OBJECT;
return rc;
}
log_log(LOG_DEBUG,"pam_authz_search found \"%s\"",myldap_get_dn(entry));
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1444 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project