As we know, data points can be configured in Tally.Server 9 for any data which is located on the network by specifying the network path for the same. For this, the data needs to be shared with the Windows user operating with Tally.Server 9.
For example, Data is located on system ABC at a location C:\Common Data\Data. This data is shared with the windows user operating on system XYZ where Tally.Server 9 is deployed. The network path for accessing the data is \\ABC\data.
In order to configure the data point for this, the following set up will be applied on Tally.Server 9.
There are scenarios where the data is located on Linux servers. In order to share the same with Windows clients, Samba software suite needs to be installed on Linux machine. Samba is a File Server (Open Source/Free) software suite that provides seamless file and print services to SMB/CIFS clients. Samba is mainly used for interoperability between Linux/Unix servers and Windows-based clients.
To configure the data locations that resides in Linux machine
1. Install Samba in Linux OS. The main Samba configuration file is located in /etc/samba/smb.conf.
2. In order to share a folder, open smb.conf and create a new section at the bottom of the file and add the following:
β [SharedName]
β Path = <data folder path>
β Writable = <Yes/No>
β Guest OK = <Yes/No>
β Valid Users = <List of Users separated by space>
β Browsable =<Yes/No>
Where,
β Shared Name is the name of the share.
β Path is the path to the directory/folder to share.
β Browsable enables Windows clients to browse the shared directory using Windows Explorer.
β Writable enables the windows clients to write the shared directory or folder.
β Guest OK is used to specify any user can access share. If Guest OK is specified, Valid Users need not be given as all users are allowed.
β Valid Users option lists the users allowed to access the share.
For example, suppose tally data is located in /home/Tally/Tally data, then the following code to be added in smb.conf.
β [TallyData]
β Path = /home/Tally/Tally data
β Writable = Yes
β Valid Users = TallyServerUser1
β Browsable = Yes
In the valid users parameter, user TallyServerUser1 is allowed to access to the [Tally Data] share.
Note : The parameter βValid Userβ accepts list of users and/or group names. If a name is prefixed by an at sign (@), it is interpreted as a group nameβwith NIS groups searched before Unix groups. If the name is prefixed by a plus sign (+), it is interpreted as the name of a Unix group, and NIS is not searched. If the name is prefixed by an ampersand (&), it is interpreted as an NIS group name rather than as a Unix group name.
Applying the above configuration allows the windows clients to access the share using the network path \\192.168.2.22\Tally Data, where 192.168.2.22 is the IP address of the Linux Machine.
Open Tally.Server Monitor
β From Company View or User View, click S: Manage Server or press Alt + S.
β Click F4: Setup or press F4 to configure Tally.Server
Tally.Server Configuration screen will appear.
β Now new Data locations (Data name and corresponding Data path) can be added for linux data.
o Add Location Name i.e., Linux Data
o Add Path as \\< IP address>\<Datapath> i.e., \\192.168.2.22\Tally Data
The newly configured data location is now listed in Server List and can now be accessed by Tally.ERP gold clients.