summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 23:49:05 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 23:49:05 +0200
commitc1527612b95cb7bc5bee7ebc34ab87013ab88b8a (patch)
treeb93adead2e8ae85e6c5ad751172068ec5f00aed0 /source4/setup
parent500fc020b2776392428426af0d5976c74ec8fd9b (diff)
downloadsamba-c1527612b95cb7bc5bee7ebc34ab87013ab88b8a.tar.gz
samba-c1527612b95cb7bc5bee7ebc34ab87013ab88b8a.tar.bz2
samba-c1527612b95cb7bc5bee7ebc34ab87013ab88b8a.zip
s4:python tools - try to fix some test problems
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/newuser2
-rwxr-xr-xsource4/setup/setexpiry2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/newuser b/source4/setup/newuser
index 422677c301..10af55a458 100755
--- a/source4/setup/newuser
+++ b/source4/setup/newuser
@@ -60,4 +60,4 @@ creds = credopts.get_credentials(lp)
samdb = SamDB(url=lp.get("sam database"), session_info=system_session(),
credentials=creds, lp=lp)
-samdb.newuser(username, opts.unixname, password, force_password_change_at_next_login=opts.must_change_at_next_login)
+samdb.newuser(username, opts.unixname, password, force_password_change_at_next_login_req=opts.must_change_at_next_login)
diff --git a/source4/setup/setexpiry b/source4/setup/setexpiry
index 6c6305ceaf..1572555b8c 100755
--- a/source4/setup/setexpiry
+++ b/source4/setup/setexpiry
@@ -61,4 +61,4 @@ creds = credopts.get_credentials(lp)
samdb = SamDB(url=lp.get("sam database"), session_info=system_session(),
credentials=creds, lp=lp)
-samdb.setexpiry(filter, days*24*3600, noexpiry=opts.noexpiry)
+samdb.setexpiry(filter, days*24*3600, no_expiry_req=opts.noexpiry)