[Samba] Trouble with Homes

Daniel Northam dnortham at ffpglobal.com
Mon Mar 27 16:49:08 GMT 2006


Check your SID's I had that same problem and samba was advising Auth
succeeded but it still wouldn't let me in. Checked my SID's and
somewhere down the line I had changed one of my SID's. I corrected that
in LDAP and then I was able to login.

-----Original Message-----
From: samba-bounces+dnortham=ffpglobal.com at lists.samba.org
[mailto:samba-bounces+dnortham=ffpglobal.com at lists.samba.org] On Behalf
Of Guillermo Gutierrez
Sent: Monday, March 27, 2006 8:45 AM
To: Craig White; samba at lists.samba.org
Subject: RE: [Samba] Trouble with Homes

If you are integrating the samba server into a windows domain, you might
want to try setting the valid users line like this: "valid users =
%D\%S"

that was my problem until I did that.

-----Original Message-----
From: samba-bounces+ggutierrez=marketscan.com at lists.samba.org
[mailto:samba-bounces+ggutierrez=marketscan.com at lists.samba.org]On
Behalf Of Craig White
Sent: Monday, March 27, 2006 8:34 AM
To: samba at lists.samba.org
Subject: Re: [Samba] Trouble with Homes


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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list