Make sure existing entries can be found by userid

A typo in LDAP__lookup_princ makes using existing LDAP entries broken,
a new entry is always created even if an entry with proper uid and
structural objectclass can be found.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Cédric Schieli
2010-08-08 08:23:12 -07:00
committed by Love Hornquist Astrand
parent 16feede517
commit 901d655ba7

View File

@@ -886,7 +886,7 @@ LDAP__lookup_princ(krb5_context context,
ldap_msgfree(*msg);
*msg = NULL;
ret = escape_value(context, princname, &quote);
ret = escape_value(context, userid, &quote);
if (ret)
goto out;