summaryrefslogtreecommitdiff
path: root/testprogs/ejs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-01 20:28:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:21 -0500
commit08f630be8230ce061badd84bef952d5753afdff0 (patch)
tree8dd8cfa1dc17f7b2ca35cdac92c12414e9d8d5bc /testprogs/ejs
parent4f4dae05f03c76b81cbc71ee80f7f1a34644936f (diff)
downloadsamba-08f630be8230ce061badd84bef952d5753afdff0.tar.gz
samba-08f630be8230ce061badd84bef952d5753afdff0.tar.bz2
samba-08f630be8230ce061badd84bef952d5753afdff0.zip
r9915: Some more mappings. Fix weird sAMAccountName values.
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-xtestprogs/ejs/samba3sam5
1 files changed, 3 insertions, 2 deletions
diff --git a/testprogs/ejs/samba3sam b/testprogs/ejs/samba3sam
index 6ea8da3492..3952f45253 100755
--- a/testprogs/ejs/samba3sam
+++ b/testprogs/ejs/samba3sam
@@ -115,13 +115,14 @@ println("Adding record that will be mapped");
ok = s4.add("
dn: cn=Niemand,sambaDomainName=TESTS,dc=vernstok,dc=nl
objectClass: user
-unixName: blah
+unixName: bin
+unicodePwd: geheim
cn: Niemand
");
assert(ok);
println("Checking for existance of record (mapped)");
-msg = s4.search("(unixName=blah)", new Array('unixName','cn','dn'));
+msg = s4.search("(unixName=bin)", new Array('unixName','cn','dn'));
assert(msg.length == 1);
assert(msg[0].cn == "Niemand");