[Samba] force specific user for printing

Michael.Tiede at HVBInfo.com Michael.Tiede at HVBInfo.com
Tue Feb 17 14:06:06 GMT 2004


Hi all,

I'm urgently looking for a solution how to force samba to execute the print
script which is defined by the parameter "print command".

I wrote a quite complex shell script for generating pdf output from the
postscript print spool data and need to execute certain commands with root
priviledge.
Now as I changed to Samba 3.0.1 the script is executed with the permission
of the Domain-User (which is resolved properly as the samba server is member
if the NT4 Domain).
If I could map the print script execution to a fixed user I could allow this
fixed user to use sudo for the necessary commands needed.

I even set the SUID bit of my shell script but this didn't help either.

Any hint is highly appreciated!

Best wishes,
Michael

Michael Tiede	
HVBInfo GmbH
INF3S3
Neuer Wall 64
D-20354  Hamburg
Telefon   (040) 3692 - 2046
Telefax   (040) 3692 - 1793
mailto:michael.tiede at hvbinfo.com



More information about the samba mailing list