1
0
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:
Andrew Tridgell 2009-12-30 10:53:36 +11:00
parent 4eecfc80bc
commit e410a91ff4

View File

@ -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));
}
}