ldb_ildap: Map some wrong username/password errors on to LDB_ERR_INVALID_CREDENTIALS
commitbefae7f6e65add893cf24a088b93f0350b0b482e
authorAndrew Bartlett <abartlet@samba.org>
Mon, 25 Nov 2013 01:09:26 +0000 (25 14:09 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:46 +0000 (2 17:12 +0200)
treed2ec0c4515018577c0dbcdcbfd0de5561ffa19b8
parentc3baddf271b9d09819aff4ce05314f940c6f1e4d
ldb_ildap: Map some wrong username/password errors on to LDB_ERR_INVALID_CREDENTIALS

This is better than just LDB_ERR_OPERATIONS_ERROR for all errors.

Andrew Bartlett

Change-Id: Id832cf02fcd1dc0347d5ab9eb9a2db78fda39dc6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/ldb-samba/ldb_ildap.c