Newbee questions

Antony Wardle Antony.Wardle at met.co.nz
Wed Mar 3 22:46:29 GMT 1999



He.

I am trying to replace a product called MSA ( mac services for vms).

Someone has suggested samba, so I've grabbed a copy of 1.9

I am trying to configure it so I can test it out.

I am running it on a Digital Alpha running OVms 7.1 and tcp/ip service 4.2
eco2

How do I make a share that I can access from a mac/w95/winnt ?

I am not too familar with unix (well not at all) and most of the basic
questions
are answered in unix.

Here is a copy of the conf file I have started with. At the moment, All I
really want to be
able to to is provide an easy way of mac people being able to connect to
different
areas of our vms box, to retrieve data in a timely fashion. I am
not too worried about printers at this stage.


cheers Antony







; Configuration file for smbd.
; Template for VMS
;
============================================================================
; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).
;
; The following configuration should suit most systems for basic usage and
; initial testing. It gives all clients access to their home directories and
; allows access to all printers specified in /etc/printcap.
;
; Things you need to check:
; --------------------------
;
; 1: Check the path to your printcap file. If you are using a system that
does
;    not use printcap (eg., Solaris), create a file containing lines of the
;    form
;
;       printername|printername|printername|
;
;    where each "printername" is the name of a printer you want to provide
;    access to. Then alter the "printcap =" entry to point to the new file.
;
;    If using Solaris, the following command will generate a suitable
printcap
;    file:
;
;       lpc status | grep ":" | sed s/:/\|/ > myprintcap
;
; 2: Make sure the "print command" entry is correct for your system. This
;    command should submit a file (represented by %s) to a printer
;    (represented by %p) for printing and should REMOVE the file after
;    printing.
;
;    One most systems the default will be OK, as long as you get "printing
="
;    right.
;
;    It is also a good idea to use an absolute path in the print command
;    as there is no guarantee the search path will be set correctly.
;
; 3: Make sure the "printing =" option is set correctly for your system.
;    Possible values are "sysv", "bsd" or "aix".
;
; 4: Make sure the "lpq command" entry is correct for your system. The
default
;    may not work for you.
;
; 5: Make sure that the user specified in "guest account" exists. Typically
;    this will be a user that cannot log in and has minimal privileges.
;    Often the "nobody" account doesn't work (very system dependant).
;
; 6: You should consider the "security =" option. See a full description
;    in the main documentation and the smb.conf(5) manual page
;
; 7: Look at the "hosts allow" option, unless you want everyone on the
internet
;    to be able to access your files.
;
[global]
   allow hosts = 202.50
   workgroup = VMSSAMBA
   dead time = 10
   map archive = no
   printing = bsd
   printcap name = /samba_root/lib/dummyprintcap.dat
   load printers = yes
   status = yes
; %f. (f, dot) is part of a bug-fix for WfWG - NRA.
   print command = print %f./queue=%p/delete/passall/name="""""%f"""""
   lprm command = delete/entry=%j
   security = user
;    security = server
;    password server = phpcl5 kafka
   default service = default
   create mode = 0777

   guest account = PCFS$ACCOUNT
   guest ok = yes
;  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
   smbrun = smbrun

;  You will need a world readable lock directory and "share modes=yes"
;  if you want to support the file sharing modes for multiple users
;  of the same files
;  lock directory = /usr/local/samba/var/locks
  share modes = yes

[Antony]
   comment = Antonys testing
   browseable = YES
   read only = no
   create mode = 0750
   path = /it/wardle

[Antony2]
   comment = Antony 2nd test
   browseable = YES
   read only = no
   create mode = 0751
   path = it:[wardle]


[Antony3]
   comment = Antonys 3 testing
   browseable = YES
   read only = no
   create mode = 0752
   path = /it:/wardle



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

[laser_d35]
   comment = try special setup
   print command = print %f./que=%p/del/passall
   path = /phonon_disc4/sambatmp/spool
   browseable = no
   printable = yes
;   public = no
   public = yes
   writable = no
   create mode = 0700

[printers]
   comment = All Printers
   path = /phonon_disc4/sambatmp/spool
   browseable = no
   printable = yes
;   public = no
   public = yes
   writable = no
   create mode = 0700

; you might also want this one
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no



More information about the samba mailing list