The VMS SharkOpenVMS Notes: CIFS + Samba

  1. The information and software presented on this web site are intended for educational use only by OpenVMS application developers and OpenVMS system attendants.
  2. The information and software presented on this web site are provided free of charge.
  3. The information and software presented on this web site are presented to you as-is. I will not be held responsible in any way if the information and software presented on this web site damages your computer system, business or organization (sounds like the legal warning from a Microsoft shrink-wrap seal, eh?)
  4. Is this text too small? You have two options:
    1. hold down the CTRL key while rolling the mouse wheel (zoom-in, zoom-out)
    2. use your keyboard like so:
      • hit: CTRL with "-" key to zoom smaller
      • hit: CTRL with "+" key to zoom larger
      • hit: CTRL with zero key to reset zoom

CIFS for OpenVMS

CIFS Patch Notes for TCPware and Multinet
(NSR: 2006-09-08)

  Task Description
1 execute @sys$startup:samba_startup.com create logicals etc.
2 unzip "cifsfiles-updated.zip" unzip DCL scripts
3 copy SAMBA_SHUTDOWN.COM       to SAMBA_ROOT:[000000.SYSUPD] install patch #1
4 copy SAMBA_STARTUP.COM        to SAMBA_ROOT:[000000.SYSUPD] install patch #2
5 copy SMBD_SETUP_TCPIP.COM     to SAMBA_ROOT:[000000.BIN]SMBD_SETUP_TCPIP.COM
or   SMBD_SETUP_TCPIP_v13.COM to SAMBA_ROOT:[000000.BIN]SMBD_SETUP_TCPIP.COM
or   SMBD_SETUP_TCPIP_v14.COM to SAMBA_ROOT:[000000.BIN]SMBD_SETUP_TCPIP.COM
install patch #3

Quick Configuration

  Task Description
1 add lines from SAMBA_SYSSTARTUP_STUB.COM to SYS$MANAGER:SYSTARTUP_VMS.COM update the autostart script
2 edit SAMBA_ROOT:[000000.LIB]SMB.CONF and add the following:

    [neil-ro]
    browseable = yes
    read only = yes
    path = /samba_root/users/neil_shares

    [neil-rw]
    browseable = yes
    read only = no
    path = /samba_root/users/neil_shares
add two share entries into one physical directory; one share is read-only while the other one is full access.
3 cre/dir SAMBA_ROOT:[users.neil_shares] create physical directories
4 execute @samba_root:[bin]samba_commands.com acquire samba management commands
5 testparm this foreign command tests the contents of SMB.CONF
6 execute @sys$startup:samba_shutdown.com
execute @sys$startup:samba_startup.com
restart Samba
7 pdbedit -a neil this foreign command adds user NEIL to SAMBA; NEIL must already be in SYSUAF

Windows-XP Connection Methods

1 on a Windows PC click START, then click RUN,
then enter    \\kawc15.on.bell.ca\
then click the BROWSE button, select a folder, then click OPEN,
then wait for a username + password dialog
2 on a Windows PC click START, then click RUN,
then enter    \\kawc15.on.bell.ca\neil-ro\
then click the OK button,
then wait for a username + password dialog
3 on a Windows PC, right-click on MyComputer,
select Map Network Drive,
then enter    \\kawc15.on.bell.ca\
then click BROWSE

Sample Installation

tips:
  1. like Apache, this open source app is best installed on an alternate driver rather than the system drive
  2. if the installation fails, don't ever abort (in my case, this happened because TCPware was installed rather than "TCPIP Services for OpenVMS")
KAWC15::Neil> prod instal * /dest=disk$user1:[000000]  (so we don't install on the system disk)

1 - DEC AXPVMS JAVA142 V1.4-25          Layered Product
2 - DEC AXPVMS JAVA142 V1.4-24P2        Layered Product
3 - DEC AXPVMS VMS82A_PCSI V1.0         Patch (maintenance update)
4 - DEC AXPVMS VMS82A_UPDATE V3.0       Patch (maintenance update)
5 - HP AXPVMS SAMBA E3.0-10             Layered Product
6 - HP AXPVMS SSL V1.2                  Layered Product
? - Help
E - Exit

Choose one or more items from the menu: 5

The following product has been selected:
HP AXPVMS SAMBA E3.0-10                Layered Product

Do you want to continue? [YES]

Configuration phase starting ...

You will be asked to choose options, if any, for each selected product and for
any products that may be installed to satisfy software dependency requirements.

HP AXPVMS SAMBA E3.0-10: SAMBA for OpenVMS ALPHA V8.2

Do you want the defaults for all options? [YES]

TCPIP software is not installed.

Do you want to review the options? [NO]

Execution phase starting ...

The following product will be installed to destination:
HP AXPVMS SAMBA E3.0-10                DISK$USER1:[000000.]

Portion done: 0%...10%...20%...80%...90%
%PCSI-I-PRCERREXE, error executing: @PCSI$DESTINATION:[SAMBA.BIN]SMBD_SETUP_TCPIP.COM

%PCSI-E-EXEPSTFAIL, product supplied EXECUTE POSTINSTALL procedure failed
-CLI-W-IVVERB, unrecognized command verb - check validity and spelling
%PCSI-E-OPFAILED, operation failed
Terminating is strongly recommended.  Do you want to terminate? [YES]
no  (don't abort)
Portion done: 100%

The following product has been installed:
HP AXPVMS SAMBA E3.0-10                Layered Product

HP AXPVMS SAMBA E3.0-10: SAMBA for OpenVMS ALPHA V8.2

Release notes for SAMBA on OpenVMS available
%PCSIUI-I-COMPWERR, operation completed after explicit continuation from errors
KAWC15::Neil>

Related Links


Back to OpenVMS
Back to Home
Neil Rieck
Kitchener - Waterloo - Cambridge, Ontario, Canada.