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:

committed by
Love Hornquist Astrand

parent
16feede517
commit
901d655ba7
@@ -886,7 +886,7 @@ LDAP__lookup_princ(krb5_context context,
|
||||
ldap_msgfree(*msg);
|
||||
*msg = NULL;
|
||||
|
||||
ret = escape_value(context, princname, "e);
|
||||
ret = escape_value(context, userid, "e);
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
|
Reference in New Issue
Block a user