mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r20457: Print more information before asserting
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c353f2bb91
commit
0b7a5b7284
@ -114,7 +114,6 @@ showInAdvancedViewOnly: TRUE
|
||||
println(ldb.errstring());
|
||||
assert(ok);
|
||||
}
|
||||
assert(ok);
|
||||
|
||||
println("Checking for existence of record (local)");
|
||||
/* TODO: This record must be searched in the local database, which is currently only supported for base searches
|
||||
@ -288,7 +287,10 @@ description: y
|
||||
ldif = substitute_var(ldif, s4);
|
||||
assert(ldif != undefined);
|
||||
var ok = ldb.add(ldif);
|
||||
assert(ok);
|
||||
if (!ok) {
|
||||
println(ldb.errstring());
|
||||
assert(ok);
|
||||
}
|
||||
|
||||
/* Add a set of remote records */
|
||||
var ldif = "
|
||||
|
Reference in New Issue
Block a user