diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-05-21 16:54:17 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-05-21 16:54:17 +0200 |
commit | 64a0e51aca91723e1a441b96c92c5b02b32e84ce (patch) | |
tree | 0b12bb34b08e8ac7866b79d44d7110576bc30b2b | |
parent | b959ed9d64a7ff43903ac1ec41463dcf891ac290 (diff) |
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
-rw-r--r-- | nslcd/myldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++) |