From: Jeremy Allison on
On Fri, Aug 13, 2010 at 01:46:50AM +0200, David Touzeau wrote:
> Dear
>
> When you add an user, by default Samba share the home directory with
> the logon user name
>
> user : john shared has john
>
> Is it possible to change this share like
>
> user: john shared as MyDocuments ?

Only by adding an additional share with that name that
points to the same underlying path on the filesystem.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: David Touzeau on
You means that ?


[homes]
comment=Personnal Folder
browseable=No
writeable=Yes

[Mydocument]
path=/home/john
writable=yes
browseable=No
write list=john





On 13/08/2010 02:06, Jeremy Allison wrote:
> On Fri, Aug 13, 2010 at 01:46:50AM +0200, David Touzeau wrote:
>> Dear
>>
>> When you add an user, by default Samba share the home directory with
>> the logon user name
>>
>> user : john shared has john
>>
>> Is it possible to change this share like
>>
>> user: john shared as MyDocuments ?
>
> Only by adding an additional share with that name that
> points to the same underlying path on the filesystem.
>
> Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Jeremy Allison on
On Fri, Aug 13, 2010 at 02:10:54AM +0200, David Touzeau wrote:
> You means that ?
>
>
> [homes]
> comment=Personnal Folder
> browseable=No
> writeable=Yes
>
> [Mydocument]
> path=/home/john
> writable=yes
> browseable=No
> write list=john

Yes, that'll do the trick !
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba