[homes] share

Richard Sharpe rsharpe at richardsharpe.com
Thu Dec 5 20:14:00 GMT 2002


On Thu, 5 Dec 2002, Patrick Welche wrote:

> The following used to work with several months old code..
> 
> #============================ Share Definitions ==============================
> [prlw1]
>    comment = Windoze transfer
>    path = /usr/windoze
>    valid users = prlw1
>    browseable = no
>    writable = yes 
>    guest ok = no
> 
> [homes]
>    comment = Home Directories
>    browseable = no
>    writable = yes
> 
> 
> Now when I smbclient //localhost/prlw1 I end up in my home directory
> /home/prlw1 rather than in /usr/windoze, so it seems the [prlw1] share
> isn't being matched, and as prlw1 is a valid userid it is then matched
> to [homes]. Any thoughts on how I could debug this?

Which version of the code? Sounds like someone changed the order of the 
test. Previously, it used to check for a share of that name, and if not 
found, checked for [homes] and then [printers].

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




More information about the samba-technical mailing list