Set trans to a value that is not LDB_SUCCESS (all LDB_ constants are
commit008bb29023ed6875d4ed2def0976b55051de02bf
authorMichele Baldessari <michele@acksyn.org>
Mon, 10 Sep 2012 21:58:28 +0000 (10 14:58 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 10 Sep 2012 21:58:28 +0000 (10 14:58 -0700)
tree784a6acadb714d14af8a0003c040c838c19b9870
parentda731c1c587dc081d81f03f08920791039c47d0e
Set trans to a value that is not LDB_SUCCESS (all LDB_ constants are
positive) so that any "goto failed:" call does not end up calling
ldb_transaction_cancel() if trans is initialized to 0 (LDB_SUCCESS)
by chance.

Signed-off-by: Jeremy Allison <jra@samba.org>
source4/winbind/idmap.c