Make sure existing entries can be found by userid
commit901d655ba7d9dd4f912508b89c6e6803ee95b843
authorCédric Schieli <cschieli@gmail.com>
Sun, 8 Aug 2010 15:23:12 +0000 (8 08:23 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Sun, 8 Aug 2010 15:23:12 +0000 (8 08:23 -0700)
tree63abd813f46b8b1b2eef9fb8baff597f4cff7e55
parent16feede517a39ddf5fe8b04aa4222deb437f7444
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>
lib/hdb/hdb-ldap.c