Hi all,
I have just installed Samba program in my computer, and I share a directory for everyone to use it, but then I 'd like set up a little more secure. It means only people having Linux accounts can use this shared directory. I tried a lot of ways but cannot do that.
The following is my smb.conf file:
#===========================================
[global]
workgroup = my-net
netbios name = Server-RedHat
server string = server Red Hat Linux
log file = /var/log/samba/%m.log
max log size = 0
security = share
encrypt passwords = yes
#======== Share Definitions ============
[Soft-store]
comment = My server Directories
public = yes
browseable = yes
writable = yes
path = /softwares-test
comment = softwares
guest ok = yes
[CDROM]
comment = CDROM of Linux computer
public = true
browseable = yes
writable = yes
path = /mnt/cdrom
guest ok = yes
#========the end============
For example, I have a Linux account ( username: test, password: test ). Please add statements into my smb.conf file in order to share directory "/softwares-test" to people having account "test" mentioned above.
Any help would be apprecited.
John Thom
I have just installed Samba program in my computer, and I share a directory for everyone to use it, but then I 'd like set up a little more secure. It means only people having Linux accounts can use this shared directory. I tried a lot of ways but cannot do that.
The following is my smb.conf file:
#===========================================
[global]
workgroup = my-net
netbios name = Server-RedHat
server string = server Red Hat Linux
log file = /var/log/samba/%m.log
max log size = 0
security = share
encrypt passwords = yes
#======== Share Definitions ============
[Soft-store]
comment = My server Directories
public = yes
browseable = yes
writable = yes
path = /softwares-test
comment = softwares
guest ok = yes
[CDROM]
comment = CDROM of Linux computer
public = true
browseable = yes
writable = yes
path = /mnt/cdrom
guest ok = yes
#========the end============
For example, I have a Linux account ( username: test, password: test ). Please add statements into my smb.conf file in order to share directory "/softwares-test" to people having account "test" mentioned above.
Any help would be apprecited.
John Thom