issue calling samba-tool
esiotrot at gmail.com
Thu Jul 31 01:40:29 MDT 2014
On 31 Jul 2014 8:28 AM, "David Rivera" <rivera.david87 at gmail.com> wrote:
> I'm guessing you are trying to add a user. Your command is missing add
> after /bin/samba-tool before username.
It should be:
samba-tool user add 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
> > 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