[Samba] Problem with "include=smb.%U.conf"

Patrick McSwiggen Pat.McSwiggen at uc.edu
Mon Nov 15 03:19:31 GMT 2004


On Nov 14, 2004, at 9:28 PM, AndyLiebman at aol.com wrote:
> In Windows, User 1 will see the shares listed in 
> /etc/samba/smb.User1.conf.
> User 2 will not see those shares (unless they are listed in User 2's 
> directory
> file as well, which in my case never happens).
>
> In Mac OS X (10.3.4, 10.3.5, and 10.3.6) as well as in various Linux
> distributions like Mandrake 10 and 10.1 and the latest Debian, if I 
> log in as User 1,
> I cannot see the shares that correspond to User 1. The only shares I 
> can see
> through the Mac Finder or through the Mac "Connect to Server" or 
> through the
> Linux Smb4k or LinNeighborhood are those defined in the general
> "/etc/samba/smb.conf" file.

I don't know how Windows does this, but I know initially MacOS X does 
not transmit a username. When using the "Connect to Server", have you 
tried clicking on Authenticate? Only then does it tell the server who 
you are and for me the available shares get updated. However, I only 
have the standard [Homes] section plus shares that are available to 
everybody. So before Authenticate I see only the common shares. After 
Authenticate I get my own home directory added to the list. In linux 
have you tried the smbclient, supplying a username and password, to see 
if you see everything you are supposed to?

-- 
Patrick D. McSwiggen                            pat.mcswiggen at uc.edu
Mathematical Sciences                            513-556-4080
University of Cincinnati                         513-556-3417 FAX



More information about the samba mailing list