lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1464 - nss-pam-ldapd/nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1464 - nss-pam-ldapd/nslcd



Author: arthur
Date: Sat May 21 16:52:18 2011
New Revision: 1464
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1464

Log:
fix problem with partial attribute name matches in DN (e.g. uid vs. uidNumber) 
(thanks to Timothy White for the fix)

Modified:
   nss-pam-ldapd/nslcd/myldap.c

Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c        Fri May 13 15:11:02 2011        (r1463)
+++ nss-pam-ldapd/nslcd/myldap.c        Sat May 21 16:52:18 2011        (r1464)
@@ -1451,6 +1451,7 @@
       /* nothing here */;
     /* ensure that we found an equals sign now */
     if (exploded_rdn[i][j]!='=')
+      continue;
     j++;
     /* skip more spaces */
     for (j++;isspace(exploded_rdn[i][j]);j++)
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits