diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-29 13:30:46 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-29 18:04:42 +1100 |
commit | f8d73e466b454a63f256021ad2f353e9ad93e8f7 (patch) | |
tree | 929cc112ed8917e121da5a433ec1e144a588a30c /lib/socket_wrapper | |
parent | 0dd2152b01b93b2a09ea0332ba60e2e0338b1c15 (diff) | |
download | samba-f8d73e466b454a63f256021ad2f353e9ad93e8f7.tar.gz samba-f8d73e466b454a63f256021ad2f353e9ad93e8f7.tar.bz2 samba-f8d73e466b454a63f256021ad2f353e9ad93e8f7.zip |
s4-ldapcmp: fixed exception handling
This pattern, which is common in our code, is wrong:
except LdbError, (ERR_NO_SUCH_OBJECT, _):
what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT
to be equal to whatever ldb error occurred! This led to some really
bizarre behavior
Diffstat (limited to 'lib/socket_wrapper')
0 files changed, 0 insertions, 0 deletions