summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-06-15 18:25:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:09 -0500
commitcc9d70bbba4e326ba89dec8cdc58b64b89f33091 (patch)
treef752b38e154a3e8a281bac9943b000bb9762a66b /source4/scripting/libjs
parentf77c4100842f8c5357fa90822e04319810a04b8d (diff)
downloadsamba-cc9d70bbba4e326ba89dec8cdc58b64b89f33091.tar.gz
samba-cc9d70bbba4e326ba89dec8cdc58b64b89f33091.tar.bz2
samba-cc9d70bbba4e326ba89dec8cdc58b64b89f33091.zip
r16265: Fix 'newuser' command.
Andrew Bartlett (This used to be commit 82f5f6c03d005741613c5b00705613c4078c844e)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 877d8530e5..9ad2257ff3 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -654,7 +654,7 @@ function newuser(username, unixname, password, message, session_info, credential
/* find the DNs for the domain and the domain users group */
var attrs = new Array("defaultNamingContext");
res = ldb.search("defaultNamingContext=*", "", ldb.SCOPE_BASE, attrs);
- assert(res.length == 1 && res[0].defaultNamingContext != undefined)
+ assert(res.length == 1 && res[0].defaultNamingContext != undefined);
var domain_dn = res[0].defaultNamingContext;
assert(domain_dn != undefined);
var dom_users = searchone(ldb, domain_dn, "name=Domain Users", "dn");