diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-20 23:49:05 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-20 23:49:05 +0200 |
commit | c1527612b95cb7bc5bee7ebc34ab87013ab88b8a (patch) | |
tree | b93adead2e8ae85e6c5ad751172068ec5f00aed0 /source4/setup | |
parent | 500fc020b2776392428426af0d5976c74ec8fd9b (diff) | |
download | samba-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-x | source4/setup/newuser | 2 | ||||
-rwxr-xr-x | source4/setup/setexpiry | 2 |
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) |