Make error handling in ldb more consistant.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 11 Mar 2008 03:20:42 +0000 (14:20 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 11 Mar 2008 03:20:42 +0000 (14:20 +1100)
commit7da5ec17e666a9992cd0bd774b2360aafed8f3f3
treed61030b5aa13e9866b57d1a91aa16c6e1369651b
parentdb06d932c8f43b02d4a54d0c139310a3890160d5
Make error handling in ldb more consistant.

This change ensures we give an immidiate error if the DN won't parse.

Also clean up strcmp use to be more standard.

Andrew Bartlett
(This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
source4/lib/ldb/ldb.i