[Samba] Windows XP printer status, samba and cups

Bas Goes
2003-02-12T12:36:41Z

Hi all,

I am trying to get decent printer status without timeouts in windows xp
(no sp1 installed). When I installed the printer it gave access denied,
unable to connect but it printed the test page fine. I rebooted, logged
in as normal user and tried to access the printer configuration folder.
It took a long while but in the end it gave an ok status on the
particular printer, when opening the spool it said that it was still
initiasing but I could print ok. Then I logged in as root again, same
thing.
I am using samba as sole server in the domain, access rights are all ok,
I can login to the domain as domain user, I am using cups, tried the
lprng setting in smb.conf as well with no change to the status problem.
I am using normal windows pcl printer drivers. I can print when logged
into the linux box and I can ask for printqueue status as normal
non-priviliged linux user. I have played around with chmod 777 and the
/var/spool/cups and /var/spool/samba without having a resolution to my
problem.

Could it have something to do with the following error?
[2003/02/12 10:26:20, 3] smbd/trans2.c:call_trans2qfilepathinfo(1721)
  call_trans2qfilepathinfo: vfs_stat of shell32.dll failed (No such file
or directory)
[2003/02/12 10:26:20, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/02/12 10:26:20, 3] smbd/error.c:error_packet(113)
  error packet at smbd/trans2.c(1723) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND

It's the only one I get in the samba logs and they are multiple between
the spoolss rpc's.
Cups is not giving any error messages.
Here are the printer settings in my smb.conf:
	printcap name = cups
	printer admin = " @"Domain Admins" "
	printing = cups
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

If someone can point me my problem and/or a solution please do.
Thanks in advance.
Regards,
Bas