[CentOS] SAMBA and Active Directory Intergration Problem

Mon Nov 19 15:23:31 UTC 2012
Banyan He <banyan at rootong.com>

There are two things you can do,

1. for homes share, add "path = /path/to/home/%S"
2. for homes share, change mask from 0775 to 0700

This may help but may not the way you are looking for.

------------
Banyan He
Blog: http://www.rootong.com
Email: banyan at rootong.com

On 2012-11-19 5:10 PM, Bonnie B Mtengwa wrote:
> I have a CentOS6.3 SAMBA file server. All the users are on a Windows Server 2008 Active Directory Domain Controller and authentication is done using Winbind integration on SAMBA .
>
>   
>
> Everything works well except that if someone logs on to the Samba Server, they see all the shared folders there and also a folder with their own name %USER%. This Folder is not accessible, one cannot enter into this folder, I have noticed that it's not being automatically created in the home folder :
>
> i.e  /home/%USER%/ is not there.
>
>   
>
>   
>
>   
>
>   
>
> My smb.conf  is as follows
>
>   
>
>         workgroup = Domain0
>
>         security = ads
>
>         realm = Domain.com
>
>           
>
>         encrypt passwords = yes
>
>         preferred master = no
>
>   
>
>         template shell = /bin/bash
>
>         template homedir = /home/%D/%U
>
>         winbind separator = $
>
>        ; template primary group = "Domain Users"
>
>         winbind uid = 600-20000
>
>         winbind gid = 600-20000
>
>         winbind use default domain = yes
>
>         winbind nested groups = yes
>
>         winbind enum users = yes
>
>         winbind enum groups = yes
>
>         enhanced browsing = yes
>
>         winbind offline logon = false
>
>        password server = dc.domain.com
>
>   
>
>        [homes]
>
>   
>
>         create mask = 0775
>
>         directory mask = 0775
>
>         browseable = no
>
>         comment = Home Directories
>
>         valid users = %U
>
>         writable = yes
>
>   
>
>   
>
> anyone who can help me on this?
>
>   
>
> Bonnie
>
>   
>
>   
>
>   
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>