Printing - Samba-VMS 2.0.6

Chris Smith chris at vspl.co.uk
Tue Jun 11 15:21:14 GMT 2002


Hi

I'm still tearing my hair out here trying to get printing to work via
Samba-VMS 2.0.6

I couldn't get printing to work under 2.0.3 so I found the Freeware CDs
distributed with OpenVMS 7.3 and installed a fresh copy of Samba 2.0.6 and
still printing won't work.

Alpha 1200 2 x 533 21164 processors
OpenVMS 7.2
TCPIP V5something

I have 2 remote printers set up in printcap.dat which work fine from the
command prompt in VMS. Both printers are visible from my Win98 PC and when I
try to print anything from Win98 to either printer the spool file appears in
SAMBA_ROOT:[VAR] But thats as far as it ever gets. The spool file remains in
that directory and no output appears at the printer. If I emulate the 'print
command =' line from SMB.CONF at the command line as SYSTEM in VMS the
correct output is printed.

In addition, strange files with names like LPQ.001B30C5 appear in VERY large
numbers especially if the printer status window is left running on the PC.
These are text files which read 'LJ is running' for example.

The contents of SAMBA_ROOT:[VAR]SMB.LOG is not very enlightening except for
the entry:

[2002/06/11 13:56:36, 1] CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVICE.C;2:(535)
  chris (192.168.1.10) connect to service LJ as user chris (uid=4194368,
gid=64) (pid=288)

where the uid appears to be my VMS uid (64) multiplied by 65536 + gid (64).
Preumably this is the VMS uid/gid as a 32-bit word instead of 2 x 16-bit
words.

I'm not using encrypted passwords and all file shares are visible and
accessible.

So what am I doing wrong?

The entire un-commented contents of SMB.CONF follow:

[global]
   server string = Samba %v running on %h (OpenVMS)
   workgroup = "WORKGROUP"
   encrypt passwords = No
   hide dot files = No
   map system = Yes
   printing = bsd
   printcap name = /sys$sysroot/tcpip$lpd/tcpip$printcap.dat
   print command = print %s /queue=%p /delete/name=SAMBA_PRINT
   lppause command = samba_lppause %p %j
   lpresume command = samba_lpresume %p %j
   lpq command = samba_lpstat %p
   lprm command = samba_lprm %p %j
   load printers = yes
   socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE

   share modes = yes
   security = user
   level2 oplocks = True

   blocking locks = True
   message command = samba_message %f %t %s
   ole locking compatibility = no

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mode = 0750
   fstype = ODS2

[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   writable = no
   create mode = 0700
   path = /tmp

Please can someone throw some light on this?

Many thanks

Chris


=====================
Chris Smith
Tech. Support Mgr
VSPL, The Old Court House
Trinity Road, Marlow
Bucks. SL7 3AN
+44 (0)1628 891616 Phone
+44 (0)1628 472137 Fax





More information about the samba-vms mailing list