issue calling samba-tool

David Bear dwbear75 at gmail.com
Thu Jul 31 12:56:23 MDT 2014


Thank you all. Yes, I see my mistake now. Sorry for doing this too late at
night to have noticed my mistake.


On Thu, Jul 31, 2014 at 12:40 AM, Michael Wood <esiotrot at gmail.com> wrote:

> 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.
>
> Also "user".
>
> 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
> 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
> > >
>



-- 
David Bear
mobile: (602) 903-6476


More information about the samba-technical mailing list