Eckard Koch
1998-Jan-31 11:22 UTC
Printing Problem on IRIX 6.4 with 1.9.18p1/p2 with Win95
Hi, today we have been upgrading our main server from a SGI Onyx IRIX 6.2 to an Onyx2 IRIX 6.4. At the point of testing the Samba server on the new Onyx2 I came across a problem with printing. File sharing seems to be no problem. No matter what kind of client I was using (Win95, WinNT, Linux, IRIX) printing via the new samba server failed. Since I was hoping the problem may have been fixed with the new release I did the upgrade from 1.9.18p2 to 1.9.18p2. But the problem remained. After some investigations and testing I came to the conclusion that I eliminated all possible configuration problems. My samba printing configuration looks like this: ------------------ /etc/samba/smb.conf ------------------- ; Configuration file for smbd. ; ===========================; [global] netbios name = iris1 status = yes printing = sysv printcap name = /etc/samba/printcap print command = /usr/local/sbin/sambalp %p %s %a lpq command = /bin/lpstat -o%p lprm command = /bin/cancel %p-%j ... ; [lj4_216] comment = HP LaserJet 4MP; Loc. S4B216 printer name = lj4_216 path = /var/spool/samba/lj4_216 browseable = yes printable = yes public = yes writable = no create mode = 0700 ... ------------------------------------------------------------ The print shell script /usr/local/sbin/sambalp is a modified version of the script that came with the Freeware CD of SGI. The script itself runs without problems on the server when started from command line. I did replace this script with the perl version (/usr/local/sbin/sambalp_new) that comes with the binary distribution of 1.9.18p2 for IRIX6.X. Using the perl script resolved the problem for printing via smbclient and WinNT but the problem remained for Win95 clients. When printing from a Win95 client the log file says something like: del_share_modes num entries = 0, deleting share_mode dev=293 ino=12599318 fd_attempt_close on file_fd_struct 0, fd = 7, dev = 125, inode = c04016, open_flags = 2, ref_count = 1. Running the command `/usr/local/sbin/sambalp_new lj4_216 /var/spool/samba/lj4_216/lx-eru.a000P_ czeru Win95' gave 32256 01/31/1998 12:08:44 czeru closed file lx-eru.a000P_ (numopen=0) 01/31/1998 12:08:44 close fd=-1 fnum=16 cnum=53 (numopen=0) When printing from a WinNT client the log file says something like: del_share_modes num entries = 0, deleting share_mode dev=293 ino=12599317 fd_attempt_close on file_fd_struct 0, fd = 7, dev = 125, inode = c04015, open_flags = 2, ref_count = 1. Running the command `/usr/local/sbin/sambalp_new lj4_216 /var/spool/samba/lj4_216/CZKEC.a000OG czkec WinNT' gave 0 01/31/1998 12:07:15 czkec closed file CZKEC.a000OG (numopen=0) 01/31/1998 12:07:15 close fd=-1 fnum=38 cnum=70 (numopen=0) 01/31/1998 12:07:16 Transaction 41 of length 117 Any advice? ------------------------------------------------------------------ Eckard Koch email : czkec@ocag.ch Contraves Space; W-EE3 ekoch@access.ch Z?rich, Switzerland FAX : ++41/1/306-3750 ------------------------------------------------------------------