nss-pam-ldapd commit: r1868 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1868 - 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: r1868 - nss-pam-ldapd/nslcd
- Date: Thu, 20 Dec 2012 18:11:31 +0100 (CET)
Author: arthur
Date: Thu Dec 20 18:11:30 2012
New Revision: 1868
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1868&view=revision
Log:
fix logic error (use && instead of & for and)
Modified:
nss-pam-ldapd/nslcd/myldap.c
Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c Sun Dec 16 22:31:41 2012 (r1867)
+++ nss-pam-ldapd/nslcd/myldap.c Thu Dec 20 18:11:30 2012 (r1868)
@@ -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: r1868 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project