
Step 6: Install Centrify Samba Without Active Directory
Adding Lattus_user Accounts
Lattus A10 Access Node Installation Guide
73
vii) Set the following permission mask directives to make all
new files and directories accessible only by the user who
creates them (although you may want to change this to be
less restrictive if that fits the customer’s use case):
create mask = 0700
directory mask = 0700
c
Add any desired shares. For example, to have a simple test of a
read/write share, create a directory (
/samba-share
) and chmod
it to 777, and then add the following:
[samba-share]
path = /stornext/snfs1/data1
writeable = yes
7
Reboot the system (probably not necessary, but it’s a good test to
see if things come up on a reboot).
At minimum, restarting
centrifydc-samba
with the following
command should be sufficient:
# service centrifydc-samba start
Adding Lattus_user Accounts
Use the
lattus_users.sh
script located on the USB drive to configure
the default set of users. The script requires no options unless you want
to override the defaults. You can run
lattus_users.sh -h
to see the
full list of options.
By default, this creates 10 users with UIDs and GIDs in the range
20000...20009,
named
lattus_user<num>
where
<num>
is in the
range 1 to 10. The
default password
for these users is
lattus
.
The base uid (20000) can be overridden with the
-u <uidbase>
option,
and the base GID (20000) can be overridden with the
-g <basegid>
option.
Consult with the customer to get the best values to avoid conflicts with
existing customer-managed UID/GID values. It is also possible to
configure all users to share the same GID by specifying the
-G
option.