To be clear, all of my references to UNIX user account pertain to the user
accounts on the Samba server host, not Gentoo accounts on the client PCs.

Stan Hoeppner put forth on 7/8/2010 9:07 PM:
> Michael Sullivan put forth on 7/8/2010 2:41 PM:
> 
>> [homes]
>> path=/samba/michael
>> valid users=michael
>> writable=yes
>>
>> path=/samba/amy
>> valid users=amy
>> writeable=yes
> 
> I'd suggest you set the UNIX HOME variable to match these non standard home
> paths.  For instance, the default UNIX home dir is set as, in my case:
> 
> [08:57:34][s...@greer]~$ set
> ..
> HOME=/home/stan
> ..
> 
> In your case, set the HOME variable for each UNIX user account according to
> the correct but non standard path you are using:
> 
> HOME=/samba/michael
> HOME=/samba/amy
> 
> Read your distro documentation on how to set the user HOME variable.  After
> you've done so, you should be able to use something like this in smb.conf:
> 
> [homes]
>    comment = Home Directories
>    browseable = no
>    read only = no
>    create mask = 0775
>    directory mask = 0775
>    valid users = %S
> 
> with success.
> 
> There are probably other ways to skin this cat, but this is the setup I've
> been using and it works perfectly, albeit on Debian Lenny with Samba 3.2.5
> (workgroup--not a domain controller).  Once you've done this you can browse
> Windows Network Neighborhood and map the user home share to a drive letter.
> 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to