[Samba] Restricted folder inside public share

Wolfgang Ratzka ratzka at hrz.uni-marburg.de
Wed Jun 29 08:24:35 GMT 2005

Carsten Gehling wrote:
> I've been assigned the task to make a fileserver with the following
> share:

> 1) I open \\my-samba-server\public - The folder is opened without any
> username/password requests. Inside this folder I can create files and
> folders.
> 2) Inside \\my-samba-server\public there is a sub folder called
> "event". If I try to open this, I will be prompted for
> username/password before access is granted.
> How do I do that? Is it at all possible, or can I only make it with
> "event" as a separate share?

It will not work this way. Once a Windows client has connected to the public
share, nothing will make it "re-autheticate" the connection. You will just
get an "access denied" for the protected subfolder. You may even run into problems
if you work with two separate shares on the same server, as windows does not
support connecting to two different shares on the same host with different

Wolfgang Ratzka  Phone: +49 6421 2823531  FAX: +49 6421 2826994
Uni Marburg,  HRZ, Hans-Meerwein-Str., D-35032 Marburg, Germany

More information about the samba mailing list