Configuring Samba on Linux
Finally, modify the /etc/samba/smb.conf
file. To do this, add entries for each database directory you want to share with Mac clients using Unicode or Windows clients in the /etc/samba/smb.conf
file. Then, add options to the [global]
section of the file.
By default, Samba is not set up to run automatically.
The following is an example of entries in the smb.conf
file. You can add these to the end of the file.
[USA_DB]
comment = Toon Boom Harmony Database
browseable = yes
read only = no
guest ok = no
create mask = 0777
directory mask = 0777
path = /USA_DB
[usa]
comment = Toon Boom Harmony binaries & stuff
browseable = yes
read only = no
guest ok = no
create mask = 0777
directory mask = 0777
path = /usr/local/ToonBoomAnimation/harmony[edition]_14
[usadata000]
comment = Toon Boom Harmony data 000
browseable = yes
read only = no
guest ok = no
create mask = 0777
directory mask = 0777
path = /usadata000
[usadata001]
comment = Toon Boom Harmony data 001
browseable = yes
read only = no
guest ok = no
create mask = 0777
directory mask = 0777
path = /usadata001/
You must also add or modify the following entries to the [global]
section of smb.conf
:
[global]
encrypt passwords = yes
blocking locks = no
oplocks = no
level2 oplocks = no
follow symlinks = yes
unix extensions = no
wide links = yes
Once you have made all the changes and saved the smb.conf
file, validate the file for internal correctness:
testparm
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
- Configure Samba to run as a service at boot time:
/sbin/chkconfig smb on
- Start the Samba service:
/sbin/service smb start
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
- Before you install Harmony on Windows clients, you must create the
/usr/local/ToonBoomAnimation/harmony[edition]_14/etc/server.ini
file on the database server. Theserver.ini
file provides information necessary for the Windows Configuration Wizard to set up a Windows client. - When creating the
server.ini
file, pay attention to the spelling, character spacing and case. - The following is an example of the
/usr/local/ToonBoomAnimation/
harmony[edition]_14/etc/server.ini
file. In this example, the database server name isharmonyserver
and there are twousadata
directories:usadata000
andusadata001
.
[WizardConfig]
ServerName=harmonyserver
InstallationDrive=C
UsaShare=usa
UsadbDrive=C
UsadbShare=USA_DB
FileSystem0=C usadata000 harmonyserver
FileSystem1=C usadata001 harmonyserver
Do not worry about the references to Drive = C
. They are necessary for Windows clients and will be ignored by Linux.
NOTE: You can find the example ofserver.ini
under/usr/local/ToonBoomAnimation/harmony[edition]_14/resources/samples
. You can copy and paste it from there and change it accordingly. Any sharing folder name should be case sensitive.
- At this point, you should reboot the Toon Boom Harmony server to verify that all the Harmony services are properly configured to start automatically.