William Enestvedt
2004-Jan-04 19:57 UTC
[Samba] Why does lpstat run on Solaris Samba 3.0.1?
Hello, all; I need help with getting lpstat _not_ to run. I'm running Samba 3.0.1 on a Sun Solaris 8 server to share out a few print queues, and it works a treat. I also run a print spooler & job management product called Xi-Text, which displaces several of the stock lp* binaries; their implementation of lpstat (among other programs) doesn't completely replicate Sun's version. As a result, I get entries in my smbd.log file when I connect with the username wenestvedt to send a job to a printer named pvdpar03lz02 like this: -----start log.smbd entry----- [2004/01/04 13:30:15, 1] smbd/service.c:make_connection_snum(705) wenestvedt (192.168.59.84) connect to service pvdpar03lz02 initially as user nobody (uid=60001, gid=60001) (pid 10789) Sorry - '-o' option not supported yet -----start log.smbd entry----- That last line, incidentally, is also what a command line invocation of lpstat will get you with Xi-Text installed. If I invoke the original, now-renamed lpstat command, I get a complaint that the "lp system isn't running." So where does Samba call lpstat to produce those log entries, and how can I make it not run? I don't honestly need it, because I have other tools to get the status of my printers...but does Samba need it? Thanks for any advice. -wde -- Will Enestvedt UNIX System Administrator Johnson & Wales University -- Providence, RI