SAMBA Mount

Hi,

Please can somebody advise me on the issue where I have a Samba mount created for one of the directories with read only access to all the IP's in the network.

Now beside read only access I want to provide Modify access also for two IP's.

Please advise.

Best Regards,
Shazin

What advice to you need, specifically?

Hi Neo,

What exactly can we make changes in smb.conf to keep read only access to all the IP's and modify access to the two IP's.

Thanks,
Shazin

---------- Post updated at 02:32 PM ---------- Previous update was at 02:30 PM ----------

Hi Neo,

Current configuration is:

path = /export/home/ctsdb/reports

        guest ok = Yes

        read only = No

Thanks,
Shazin

To make the a directory in SAMBA readable by the public, but only writable by people in group "TEAM", modify smb.conf this way:

    [public]
       comment = Team Writable
       path = /home/public
       public = yes
       writable = yes
       printable = no
       write list = @TEAM

Hi Neo,

Thanks, please can you also advise how to include the two IP address in Team.

Best Regards,
Shazin

You cannot include IP addresses in the group ID in a SAMBA configuration. If you want additional restriction based on IP address, you might consider using ipchains to block access, and then user usergroup configuration for read/write access.

This SAMBA smb.conf reference should be useful to you.

---------- Post updated at 18:44 ---------- Previous update was at 17:31 ----------

I forgot to mention hosts allow in the SAMBA config file.