it should be like this
first you must make 2 account :
first for unix account
second for samba user account,
so when your account akses samba server, it would be ask you the unix password, after that when your account open one of the listing shared folder, it would be asking the second password. it all if you use user level security, here my /sm.conf
#----------------------------------------------------------------------
[global]
netbios name = ORION
workgroup = GALAXY
deadtime = 5
keepalive = 500
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
preferred master = Yes
domain master = No
dont descend = lost+found
[image bank]
comment = read only file
path = /mnt/sdb1/image_bank
valid users = universe
writeable = No
browseable = Yes
#-----------------------------------------------------------------------
result : when user universe connect to ORION, the user will e asking the first password by ORION, after that user universe wll see the listing folder, and if the user universe try to open image bank folder, the ORION will e asking the second password (share password )
|