diff options
Diffstat (limited to 'source4/scripting/python')
| -rw-r--r-- | source4/scripting/python/samba/netcmd/newuser.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/netcmd/newuser.py b/source4/scripting/python/samba/netcmd/newuser.py index f3babfe780..64b6d1715c 100644 --- a/source4/scripting/python/samba/netcmd/newuser.py +++ b/source4/scripting/python/samba/netcmd/newuser.py @@ -60,9 +60,9 @@ class cmd_newuser(Command):          lp = sambaopts.get_loadparm()          creds = credopts.get_credentials(lp) -        samdb = SamDB(url=H, session_info=system_session(), credentials=creds, -            lp=lp)          try: +            samdb = SamDB(url=H, session_info=system_session(), credentials=creds, +                          lp=lp)              samdb.newuser(username, unixname, password,                            force_password_change_at_next_login_req=must_change_at_next_login)          except ldb.LdbError, (num, msg):  | 
