From: Michael Sullivan on
On Thu, 2010-07-08 at 21:07 -0500, Stan Hoeppner wrote:
> 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][stan(a)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.
>
> --
> Stan


I wish to keep the Unix home directories (/home/*) separate from the
Samba homes.
-Michael Sullivan-

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