[Samba] pre-/postexec in printers-section
Joel Hammer
Joel at HammersHome.com
Fri Dec 6 21:25:01 GMT 2002
I have the same experience. I am using Version 2.2.1a.
When I turned a share from a file share to a printing share, the
preexec stopped.
[Z32]
printable = yes <---added
printing = lprng <--added
comment = Printer Z32
path = /tmp
exec = echo %U has logged onto Z32 | mutt -s "Log report" joel at hammershome.com
Joel
On Fri, Dec 06, 2002 at 09:02:24PM +0100, Tobias.Gerndt at EnBW.com wrote:
> I already tried this. In every section the preexec command is executed only
> within printers there was no action.
> In Samba V2.0.6 it worked, in Samba V2.2.x not!
>
> ---
> Tobias Gerndt
>
>
> > -----Original Message-----
> > From: Joel Hammer [mailto:Joel at HammersHome.com]
> > Sent: Freitag, 6. Dezember 2002 20:59
> > To: Tobias.Gerndt at EnBW.com; samba at lists.samba.org
> > Subject: Re: [Samba] pre-/postexec in printers-section
> >
> >
> > To check executation, put an echo command in the preexec,
> > like: echo I ran the preexec `date` > /tmp/junk
> > >
> > BTW how can I check execution of preexec-commands? I didn't
> > find entry in
> > > %m.log ... :-(
> >
More information about the samba
mailing list