issue calling samba-tool

David Rivera rivera.david87 at gmail.com
Thu Jul 31 00:27:50 MDT 2014


I'm guessing you are trying to add a user. Your command is missing add
after /bin/samba-tool before username.
On Jul 30, 2014 11:13 PM, "David Bear" <dwbear75 at gmail.com> wrote:

> I'm scripting a call to samba tool and ran in to an error with samba-tool
> not taking a documented parameter.
>
> The call to samba-tool looks like this:
>
> /bin/samba-tool username  p at ssw0rd  --given-name=joe --surname=adams
>  --gecos=189  --mailaddess=joadams at heritageacademyaz.com
> Usage: samba-tool <subcommand>
>
> samba-tool: error: no such option: --given-name
>
> As you see, the tool comes back with an option error. Everywhere I read
> both in code on pydoc and various web sites there IS an option called
> '--given-name' -- I even copy pasted out of the module where these names
> are defined.
>
> I'm lost. Why would samba-tool  report there is no such option ...
>
> Please, any help?
>
> --
> David Bear
> mobile: (602) 903-6476
>


More information about the samba-technical mailing list