Can anybody reply to this question ?
On Sat, 24 Nov 2001, amit deshmukh wrote:
> Hi,
>
> My network has samba 2.2.2 installed on Sun with lprng and NT 4.0
> workstations.
> Samba acts as PDC for these workstations. I am using priting through
> samba. I am using 'disable spoolss = yes' option which means the
drivers
> are on installed on client side and are not downloaded from the server. So
> all these printers (on Samba) act as Local printers on NT machines. As I
> am configuring these printers in Administrator login of NT, all other
> users on NT machine also see these printers.
> Now the problem is these users can see the printer queue (which is
> done through lpq) with no error and they can also fire the print jobs.
> But, the jobs never get printed. Instead these jobs are seen in samba
> spool directory (specified by 'path' under each printer share). I
cannot
> see any jobs with 'lpstat' command on sun machine. So, job never
reaches
> lprng's lpd daemon.
> Another interesting thing is, if I login on NT machine as a
> 'root' in the domain, then I can print the jobs. Further, once I
print a
> job with this root login, I can print the jobs with any other user in the
> domain from that NT machine. This thing works till the time I restart the
> NT machine. Once I restart the NT machine, then it's the same again.
> I don't know where the problem is. It's with NT registry or
samba
> setup ? Can somebody help me with this ?
>
> * I still have some entries for printer drivers evenif they do not mean
> anything. I also have tried removing them. But it doesn't help.
> * My users do not have any administrative privileges on NT machine. is
> this causing any problem ?
>
> My smb.conf excerpts for printing stuff are
>
> [global]
> print command = /var/tmp/amit/servers/lprng/current/bin/lpr -r -P%p %s
> -R%M
> lpq command = /var/tmp/amit/servers/lprng/current/bin/lpq -L -P%p
> lprm command = /var/tmp/amit/servers/lprng/current/bin/lprm -P%p %j
> lppause command = /var/tmp/amit/servers/lprng/current/sbin/lpc hold
> -P%p %j
> lpresume command = /var/tmp/amit/servers/lprng/current/sbin/lpc release
> -P%p %j
> queuepause command = /var/tmp/amit/servers/lprng/current/sbin/lpc -P%p
> stop
>
> [print$]
> comment = Printer Drivers
> path = /var/tmp/amit/servers/samba/printers
> public = yes
> read only = no
> browseable = yes
> printable = yes
> writable = yes
> hosts allow = 131.183.
>
> [myBlj1013]
> comment = LPRNG printer in ni
> path = /var/tmp/amit/servers/samba/current/printers
> printer driver = HP CLJ 8500 - PS
> printer driver location = /var/tmp/amit/servers/samba/private/drivers
> browseable = yes
> printable = yes
> guest ok = yes
> writable = yes
> hosts allow = 131.183.
>
> [mylj1026]
> comment = LPRNG printer in ni1
> path = /var/tmp/amit/servers/samba/current/printers
> printer driver = HP LaserJet 5Si/5Si MX PS
> printer driver location = /var/tmp/amit/servers/samba/private/drivers
> browseable = yes
> writable = yes
> printable = yes
> guest ok = yes
> create mode = 0700
> hosts allow = 131.183.
>
>
> thanks
> Amit
>
------------------------------------------------------------------------------
> Amit Deshmukh
> Graduate Student (EECS)
> University of Toledo.
>
> Contact Address
> ~~~~~~~~~~~~~~~
> 2952, Kendale Drive,
> Apt #202,
> Toledo OH 43606
> Ph. 419-471-9789
>
------------------------------------------------------------------------------
>
>