SAMBA 2.2.8 for OpenVMS 7.3 and 7.3-2 Install

Luiz Guilherme Regis Emediato lgemedia at if.usp.br
Wed Jan 3 15:50:39 GMT 2007


Greetings,

I would like to share my experience in installing
Samba 2.2.8 for OpenVMS 7.3 and 7.3-2 on the Vaxstation
4000/60 and Alpha DPWS 500au.

On the Alpha I recompiled the full package following the
instructions provided by the authors at:

  http://www.pi-net.dyndns.org/anonymous/jyc/

save set: SAMBA-2_2_8-SRC-20050817.BCK

$ backup samba-2_2_8-src-20050817.bck/sav/sel=[samba-2_2_8-src...] -
dka0:[samba.samba-2_2_8-src...]
$ set def dka0:[samba.samba-2_2_8-src.source.vms]
$ @build73
$ @link73
$ @install

On the Vaxstation I could not recompile; errors are displayed
on screen for a few routines due to low system resources and
low memory (24 MB).
I could not manage the resources successfully in order to improve
the virtual memory properly so that I decided to install the binaries
provided in the package.

save set: SAMBA-2_2_8-OBJ_VAX-20050201.BCK

$ backup samba-2_2_8-obj_vax-20050201.bck/sav/sel=[samba-2_2_8-src...] -
dka0:[samba.samba-2_2_8-src...]
$ set def dka0:[samba.samba-2_2_8-src.source.vms]
$ @link
$ @install

   *** IMPORTANT ***

1. Go to samba_root:[bin] and create a guest account :

$ @make_guest_account.com

If you don't you will get the error: NT_LOGON_...
when issuing the command: smbclient "-L" vaxstation

2. Set the privilege W:RE to the public files to
avoid the error NT_STATUS_NO_SUCH_FILE :

$ smbclient //vax/public
Password:
          Anonymous login successful
smb: \> dir
NT_STATUS_NO_SUCH_FILE listing \*

                35037 blocks of size 262144. 23186 blocks available
smb: \> exit

$ dir/prot

Directory DKA0:[000000.PUBLIC]

DEC-BRAZILIAN-9.PM;1
                     (RWED,RWED,RE,)

$ set prot:(w:re) DEC-BRAZILIAN-9.PM;1
$ dir/prot

Directory DKA0:[000000.PUBLIC]

DEC-BRAZILIAN-9.PM;1
                     (RWED,RWED,RE,RE)

$ smbclient //vax/public
Password:
          Anonymous login successful
smb: \> dir
  dec-brazilian-9.pm                     330998  Sun Dec 17 23:26:12 2006

3. Create samba users and passwords :

include the following command line in your login.com :
$ @SAMBA_ROOT:[BIN]SAMBA_COMMANDS.COM

run it :
$ @login

Create samba users with:

$ smbpasswd "-a" username1 (username1 must match the Windows username1)
$ smbpasswd "-a" username2 (username2 must match the Windows username2)
etc...

Username1, username2, etc..., must be authorized usernames on the
OpenVMS system.

4. To log in :

$ smbclient //vax/username1
$ smbclient //vax/username2
etc...

5. Uncomment the tcpip enable services in :

  SYS$STARTUP:SAMBA_STARTUP.COM

$ tcpip enable service smbd
$ tcpip enable service swat

Enjoy!

Luiz Regis
Sao Paulo, SP
Brazil



More information about the samba-vms mailing list