[Samba] pre-/postexec in printers-section

Gerald (Jerry) Carter jerry at samba.org
Fri Dec 13 18:39:34 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 6 Dec 2002, Joel Hammer wrote:

> 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        

Are you printing from Win9x or NT+ ?  If the latter, it is because the 
printing is done via RPC (never actually connects to \\server\Z32).  





cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9+h37IR7qMdg1EfYRAlFXAJ4htPtgkE0ZKSHExBqG8DCsV+HdqgCeKKI3
khIglUv/j1sqloBdLw0Bj6E=
=RZza
-----END PGP SIGNATURE-----




More information about the samba mailing list