Make sure existing entries can be found by userid
commita853499395061e972f155e284c0ecea0e863503f
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:24:29 +0000 (8 08:24 -0700)
tree3cf6e5aa417db1f280786792865d9eb70ec6f897
parent3e296b261cf10f7d164feb2058b189f0d490ff6c
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