mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r20457: Print more information before asserting
(This used to be commit 0b7a5b7284
)
This commit is contained in:
parent
811397151b
commit
42fcb90e72
@ -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 = "
|
||||
|
Loading…
Reference in New Issue
Block a user