Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 7
Samba for MPE/iX Services
Samba for MPE/iX Configuration File Options
90
Controlling Read/Write Access
guest ok If guest ok is true, then guest access will be allowed. The access rights of a client connecting
as guest will be those of the username set in the guest account.
Example: guest ok = yes
Default: guest ok = no
guest only If guest only is true, then access of service/share is only granted with the rights of
usernames given in the guest account parameter.
Example: guest only = yes
Default: guest only = no
create mode The create mode is used to define the permission used by share services. This option sets
an octal value representing the file permissions available to a file created by Samba for
MPE/iX.
Example: create mode = 0744
The value of 0744 causes the group and other write and execute bit to be removed from a file
created by Samba.
read only Example: read only = yes
Default: read only = yes
write ok The read only = yes is identical to write ok = no. If write ok is true, clients will be
granted read/write access to a share. The same effect can be achieved by setting read only to
false.
Example: write ok = no
Default: write ok = no
Sample Configuration File — samp-smb.conf
When you want to use Samba for MPE/iX, you should copy the Samba for MPE/iX sample configuration file to
/usr/local/samba/lib/smb.conf and adjust this file as needed. The sample configuration file
samp-smb.conf resides in the /usr/local/samba/lib directory. Please refer to Appendix A, Samba for
MPE/iX Sample Comfiguration File.