Quote:
Originally Posted by
arumon
Hi friends,
I have a requirement is to authenticate samba users seperately.
1. Linux samba server
2. Linux Client
3. Need to mount samba share on linux client permanently without providing credentials.
4. when user is accessing that mount point need to be prompted for credentials.
Please let me know some suggessions to achive this.
Regards,
arumon
1. install samba and depends..
2. install samba-client
3. how the security is be? `neccesary user or domain/workgroup for sec`
then for this all clients in a domain or is must be workgroup member
for this you may be in write fstab with option like `credentials=/home/.smbpasswd `
mount point is like in your cleint fstab
`/yourservername/sambasharename /testdir cifs credentials=/home/myhomedirectory/.smbpasswd 0 0`
and your .smbpasswd file must be to contains
username = tesuser
password = yourpassword
4. mount -t cifs //yourservername/sambasharename /testdir/ -o user=testuser
smbpasswd -a testuser (use this password is your credentials while mount samba share)
can increase more examples ..
good works
ygemici