[Samba] Trouble with Homes

Craig White craigwhite at azapple.com
Mon Mar 27 16:33:55 GMT 2006


On Mon, 2006-03-27 at 11:23 -0500, Trimble, Ronald D wrote:
> I am having trouble with getting my Homes section to work properly.
> When I browse to the server from a Windows client, I can see my home
> directory.  However, when I try to access it, it challenges me for a
> userID and password.  No matter what I enter, I will not allow me
> access.  Can someone point me in the right direction to solve this?
> 
>  
> 
> Here are the errors...
> 
>  
> 
> [2006/03/27 11:19:22, 0] smbd/service.c:make_connection(798)
> 
>   192.63.212.176 (192.63.212.176) couldn't find service .
> 
> [2006/03/27 11:19:23, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:23, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:24, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:24, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:24, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:24, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:24, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
> [2006/03/27 11:19:32, 2] smbd/service.c:make_connection_snum(318)
> 
>   user 'NA\trimblrd' (from session setup) not permitted to access this
> share (trimblrd)
> 
>  
> 
> And here is the relevant section of the smb.conf...
> 
>  
> 
> [homes]
> 
>         comment = Home Directories
> 
>         valid users = %S
> 
>         browseable = No
> 
>         read only = No
> 
>         create mask = 0660
> 
>         directory mask = 0770
----
try putting a valid path that the users have write access to their
home...

[homes]
        comment = Home Directories
        path = /home/samba/homes
        browseable = no
        writable = yes
        valid users = %S
        create mask = 600
        directory mask = 700

# ls -ld /home/samba/homes
drwxrwx---  2 root dom_users 4096 Jun 23  2003 /home/samba/homes

maybe even get crazy enough to create directories in /home/samba/homes
for each user...

Craig



More information about the samba mailing list