[Samba] need %u parameter for lpq command

Charles Bueche charles at bueche.ch
Fri Sep 29 18:59:26 GMT 2006


I'm developing a script for "lpq command". It would need a %U option so that the script can know which user asked for the job list. Currently, lpq command seem to only serve %p. Is there any hope to get %U ?

I see that my script run as root, so I assume the calling user info is lost ?


Charles Bueche <charles at bueche.ch>
sand, snow, wave, wind and net -surfer

More information about the samba mailing list