lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1465 - in nss-pam-ldapd-0.7: . nslcd

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

nss-pam-ldapd commit: r1465 - in nss-pam-ldapd-0.7: . nslcd



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

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

Modified:
   nss-pam-ldapd-0.7/   (props changed)
   nss-pam-ldapd-0.7/nslcd/myldap.c

Modified: nss-pam-ldapd-0.7/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/myldap.c    Sat May 21 16:52:18 2011        (r1464)
+++ nss-pam-ldapd-0.7/nslcd/myldap.c    Sat May 21 16:54:17 2011        (r1465)
@@ -1448,6 +1448,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