nss-pam-ldapd commit: r1869 - in nss-pam-ldapd-0.8: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1869 - in nss-pam-ldapd-0.8: . 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: r1869 - in nss-pam-ldapd-0.8: . nslcd
- Date: Thu, 20 Dec 2012 18:14:07 +0100 (CET)
Author: arthur
Date: Thu Dec 20 18:14:07 2012
New Revision: 1869
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1869&view=revision
Log:
fix logic error (use && instead of & for logical and) (r1868 from trunk)
Modified:
nss-pam-ldapd-0.8/ (props changed)
nss-pam-ldapd-0.8/nslcd/myldap.c
Modified: nss-pam-ldapd-0.8/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/myldap.c Thu Dec 20 18:11:30 2012 (r1868)
+++ nss-pam-ldapd-0.8/nslcd/myldap.c Thu Dec 20 18:14:07 2012 (r1869)
@@ -433,7 +433,7 @@
}
#endif /* LDAP_OPT_X_TLS */
/* check if the binddn and bindpw are overwritten in the session */
- if ((binddn!=NULL)&(binddn[0]!='\0'))
+ if ((binddn!=NULL)&&(binddn[0]!='\0'))
{
/* do a simple bind */
log_log(LOG_DEBUG,"ldap_simple_bind_s(\"%s\",%s) (uri=\"%s\")",binddn,
--
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: r1869 - in nss-pam-ldapd-0.8: . nslcd,
Commits of the nss-pam-ldapd project