mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s4-ldb: show an error string, as well as error message
This makes it easier to track down error mismatches from the test suite
This commit is contained in:
parent
4eecfc80bc
commit
e410a91ff4
@ -121,9 +121,10 @@ int main(int argc, const char **argv)
|
||||
}
|
||||
}
|
||||
if (ret != 0) {
|
||||
printf("delete of '%s' failed - %s\n",
|
||||
ldb_dn_get_linearized(dn),
|
||||
ldb_errstring(ldb));
|
||||
printf("delete of '%s' failed - (%s) %s\n",
|
||||
ldb_dn_get_linearized(dn),
|
||||
ldb_strerror(ret),
|
||||
ldb_errstring(ldb));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user