From 64a0e51aca91723e1a441b96c92c5b02b32e84ce Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 21 May 2011 14:54:17 +0000 Subject: fix problem with partial attribute name matches in DN (e.g. uid vs. uidNumber) (thanks to Timothy White for the fix) (r1464 from trunk) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.7@1465 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/myldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nslcd/myldap.c b/nslcd/myldap.c index 6a7da54..872764a 100644 --- a/nslcd/myldap.c +++ b/nslcd/myldap.c @@ -1448,6 +1448,7 @@ static const char *find_rdn_value(char **exploded_rdn,const char *attr) /* 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++) -- cgit v1.2.3