[Samba] show only existing userhomes

TAKAHASHI Motonobu monyo at monyo.com
Tue Oct 25 10:00:54 MDT 2011


From: "Zabel, Daniel" <Daniel.Zabel at coremedia.com>
Date: Mon, 24 Oct 2011 11:32:51 +0200

> A few weeks ago i have asked the following question, but it was not answered.
> This is my setup for userhomes:
> 
> [homes]
>         comment = Home Directory
>         hosts deny = 192.168.128.0/255.255.255.0
>         valid users = %S
>         read only = No
>         browseable = No
>         create mask = 0600
>         directory mask = 0700
>         hide unreadable = yes
>         access based share enum = yes
> 
> I want to show home folder only if it exists in filesystem.
> Is there a possibility to do so?

AFAIK, there is no way to archive what you want unless you modify
Samba source code.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list