Originally Posted by
Morbius1
The [homes] section of smb.conf is a special share in that it will create a samba share of a user's home directory on the fly for every local user on your Linux server. You will note that the [homes] share has no path. Otherwise the admin would have to create a share for user bob pointing to his home directory and another for alice for her home directory .... So you cannot turn it into MyFolder and expect to have the same result.
Thats fine but it works under this setting
Code:
[homes]
comment = %Us Home Directory
browseable = yes
guest ok = no
writable = yes
[Mario]
comment = Mario's Folder
path = /Users/U%
browseable - no
valid users = Mario, Toad, Yoshi
If I login with Mario it uses the above [Mario] service along with its parameters. Basically the way I was expecting 'copy =' to work. How does it know to use that service? If I change the name of the [Mario] service, then it defaults to the users home directory of /home/mario instead of the directory I set on [Mario] 'path='
Just trying to understand how its doing this.
Originally Posted by
Morbius1
The valid user = %S is a convoluted way to say how the client user is expected to access the share. By default it is not set browseable and the user is expected not to access the share as //hostname/homes but as //hostname/$USER - as in //hostname/morbius for example. This Windows does by default. In Linux you have to specify it.
Not gonna lie, but I think I somewhat understand your explanation here.
Originally Posted by
Morbius1
I'm done here.
Bone for tuna.
Thanks for you help.
Bookmarks