diff options
Diffstat (limited to 'source4/setup/enableaccount')
-rw-r--r-- | source4/setup/enableaccount | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/setup/enableaccount b/source4/setup/enableaccount index 0c9937fc44..849b515675 100644 --- a/source4/setup/enableaccount +++ b/source4/setup/enableaccount @@ -3,7 +3,7 @@ # add a new user to a Samba4 server # Copyright Andrew Tridgell 2005 # Copyright Jelmer Vernooij 2008 -# Released under the GNU GPL v2 or later +# Released under the GNU GPL version 3 or later # import samba.getopt as options @@ -42,9 +42,10 @@ username = args[0] if username is None: print "username must be specified" -creds = credopts.get_credentials() - lp = sambaopts.get_loadparm() + +creds = credopts.get_credentials(lp) + if opts.H is not None: url = opts.H else: |