summaryrefslogtreecommitdiff
path: root/testprogs/ejs/samba3sam
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/ejs/samba3sam')
-rwxr-xr-xtestprogs/ejs/samba3sam3
1 files changed, 1 insertions, 2 deletions
diff --git a/testprogs/ejs/samba3sam b/testprogs/ejs/samba3sam
index c422bce16b..6ca7592650 100755
--- a/testprogs/ejs/samba3sam
+++ b/testprogs/ejs/samba3sam
@@ -126,7 +126,7 @@ assert(msg.length == 1);
assert(msg[0].cn == "Niemand");
println("Checking for data in destination database");
-msg = s3.search("(displayName=Niemand)");
+msg = s3.search("(cn=Niemand)");
assert(msg.length >= 1);
assert(msg[0].sambaSID == "S-1-5-21-4231626423-2410014848-2360679739-2001");
assert(msg[0].displayName == "Niemand");
@@ -143,7 +143,6 @@ assert(ok);
println("Checking whether changes are still there...");
msg = s4.search("(cn=Niemand)");
assert(msg.length >= 1);
-printVars(msg);
assert(msg[0].cn == "Niemand");
assert(msg[0].description == "Blah");