get the ip if the user who sent printjob

Joel Hammer Joel at HammersHome.com
Fri Sep 21 05:39:03 GMT 2001


> 
> is there a way how i can execute a script.
> E.g. I can use
> dircetory = /home/%I
> 
> but
> mkdir /%I
> won´t work (of course!!)
> 
> is there a way i can make it possible to execute something, like mkdir /%I
Read about preexec and  postexec  parameters.
eg:
preexec = mkdir /home/%I
postexec = rm -rf /home/%I
There is a lot stuff in the book that comes with samba. 
Joel





More information about the samba mailing list