Re: [Samba] add machine script not running
- Date: Wed, 15 Nov 2017 17:58:08 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] add machine script not running
On Wed, 15 Nov 2017 18:01:51 +0100
"Daniel Berteaud" <daniel@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Thanks for your response
> Le Mercredi, Novembre 15, 2017 17:38 CET, Rowland Penny via samba
> <samba@xxxxxxxxxxxxxxx> a écrit:
> > I suppose the obvious question is, is the script executable ?
> It is. It's a simple perl script with +x. I can exec it from the
> comande line like
> /usr/local/bin/addworkstation.pl foo$
> which creates the machin account like it should. I've also tested
> caling it with the interpreter
> add machine script = /usr/bin/perl /usr/local/bin/addworkstation.pl %u
> with no difference
> > Can you post your smb.conf,
> See the file attached
> > there have been some changes between 3.6.3
> > and 4.3.11. Talking of which, is there any way that you can upgrade
> > Samba ? 4.3.11 is EOL as far as Samba is concerned.
> I'd prefer keeping the version provided with the distro, but I'll
> check if there's some trustworthy PPA to get something a bit newer.
> The strange thing, is that the script is not even called at all.
You have 'add machine script = /usr/local/bin/addworkstation.pl "%u"'
Try removing the double quotes.
There isn't doesn't see to be anything else really wrong with your
To unsubscribe from this list go to the following URL and read the