diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-09-21 11:59:06 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-10-11 08:42:07 +0200 |
commit | 96a9f823edd9c9387d6708fa8c3a4dc5de75127d (patch) | |
tree | feebe2334fe385909eb2dadb88c556685faf1886 /lib/socket | |
parent | 7599d59d1afd0814c14953a830ba4a618187e95e (diff) | |
download | samba-96a9f823edd9c9387d6708fa8c3a4dc5de75127d.tar.gz samba-96a9f823edd9c9387d6708fa8c3a4dc5de75127d.tar.bz2 samba-96a9f823edd9c9387d6708fa8c3a4dc5de75127d.zip |
s4:ldap_backend.c/"map_ldb_error" - handle errors similar to "PyErr_SetLdbError"
If the call was done using an error string ("add_err_string"), then use that one
without an additional "ldb_strerror()" for the definitive LDAP output.
Otherwise generate one using "ldb_strerror()".
This omits redundancies in the error string generation (twice the same
information by "ldb_strerror()").
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/socket')
0 files changed, 0 insertions, 0 deletions