Rework hdb-samba4 to remove useless abstractions.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 Jun 2009 00:29:30 +0000 (10:29 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Jun 2009 00:29:30 +0000 (10:29 +1000)
commit684a03e7f90c9d987cdd2b34b1c02f1dfe089827
tree9556cc69b6036dd874c9db56a2d94e7206f30021
parentdb89b42c3b813fd4ae059f9cc51291eaf5356602
Rework hdb-samba4 to remove useless abstractions.

The function LDB_lookup_principal() has been eliminated, and it's
contents spread back to it's callers.  Removing the abstraction makes
the code clearer.

Also ensure we never pass unescaped user input to a LDB search
function.

Andrew Bartlett
source4/kdc/hdb-samba4.c