From: joepat@my-deja.com
Sent: Monday, December 13, 1999 3:28 PM
To: Info-VAX@Mvb.Saic.Com
Subject: Help with SAMBA and VMS problems.

Hi,
I am running VMS 6.2 and have installed Samba v1.9.17p4-vms2.  Using
net use on my NT workstation, I mapped a drive letter to a directory
on the VAX. (see Vtest in the smb.conf below)

I am having some weird results (listed below) when updating files from
this directory.  Any ideas as to why this is occurring and how to solve
it would be greatly appreciated.

Thanks,

JoeP

I created a file on the VAX using the TPU editor.
File on the Vax is a Sequential file with variable length and carriage
return carriage control
I then edited the file on my NT workstation using Notepad.
I tried to save the file and got an access violation.  OK so far.
Then I tried using save as and the file saved, however, the file was
now blank when viewing on the Vax
Using notepad, I then read the file and it was garbage

Created a file using Notepad and save to the drive letter mapped to the
Vax.
File on the Vax is a Sequential file with stream format and carriage
return carriage control.
I read the file using notepad, edited the file and saved back to the
drive mapped to the Vax.
The file appeared to save ok, however, when I read it on the Vax, the
file had changes but not the changes I applied!


The smb.conf is listed below.
[global]


;  DLT 10/7/99   Stuff we added

   workgroup = ACPNET

   server string = acac

   hosts allow = ***.**. ***.**. ***.**. ***.
;

;   workgroup = IfN
   dead time = 10
   map archive = no
   printing = bsd
   printcap name = /sys$manager/ucx$printcap.dat
   load printers = yes
   status = yes
   print command = print %f/queue=%p/delete/passall/name="""""%f"""""
   lprm command = delete/entry=%j
;
;DLT   security = user
   security = server
   password server = acpnetsrv
   encrypt passwords = yes
;DLT on unix not on vms   local browser = no
   dns proxy = no
;
   default service = default
;DLT   create mode = 0777
   create mode = 0771

   guest account = PCFS$ACCOUNT
;  This next option sets a separate log file for each client. Remove
;  it if you want a combined log file.
   log file = /samba_log/log.%m
;   read raw = no
   read prediction = yes
   socket options = TCP_NODELAY
;   socket options = SO_REUSEADDR
;DLT   smbrun = smbrun
   smbrun = smbrun

  share modes = no

[daves]
   comment = Daves Service
   path = /pack$mis/daves
   valid users = daves
   public = no
   writable = yes
   printable = no
;
[joes]
   comment = Joes Service
   path = /pack$mis/joes
   valid users = joes
   public = no
   writable = yes
   printable = no

[Vtest]
   comment = test Directory
   path = /pack$cor/common
;   valid users = joes
;
   public = yes
   writable = no
    printable = no
   write list = joes daves


Sent via Deja.com http://www.deja.com/
Before you buy.
