Samba User authentication and security
If we want only valid user can only access the Samba server then we use security as user in global section. If we set security = user in global section then user will require to provide password to access the Samba Server.
The global for user security
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = LinuxSamba
security = user
now we add/modify smb.conf file as below
[share]
path = /home/samba/user
read only = no
guest ok = no
For sharing we need to create a directory /home/samba/user. If this directory is not present then we got error like NT_STATUS_BAD_NETWORK_NAME when we try to access the directory.
After configuring this setup only valid samba user can only login after giving their username and password and guest account can't login to Samba Server.
More
on Samba Server
No comments:
Post a Comment