Gianluca Culot
2007-May-07 11:00 UTC
[Samba] problem listing directories with AD permissions
Hello List I'm running Samba 3.0.24,1 on a freebsd 6 server I've joined the unix server to an active directory domain and set up PAM I've shared directories and users can access them (provided they belong to the correct group) the problem is : if I list the shared directory mail# /usr/local/lib > ls -al /usr/local/www/www.dmsware.it/ total 6 drwxr-xr-x 3 root wheel 512 Apr 27 16:04 . drwxr-xr-x 10 root wheel 512 May 6 18:44 .. drwxrwxr-x 3 1002 1513 512 May 6 17:27 downloads I would like to see 1513 as "domain users" group. WIth samba 3.0.14 I get drwxr-xr-x 3 root wheel 512 Apr 27 16:04 . drwxr-xr-x 10 root wheel 512 May 6 18:44 .. drwxrwxr-x 3 user1 Domain Users 512 May 6 17:27 downloads I've traced the problem back to a possibile misconfiguration of NSSWitch with nss_winbind.so wich should be copied orlinked somewhere.... but faq and tutorials are somewhat... vague ! I've a freebsd server and i've found four files mail# /usr/local/lib > ls -al nss* -r-xr-xr-x 2 root wheel 18232 May 4 17:34 nss_winbind.so -r-xr-xr-x 2 root wheel 18232 May 4 17:34 nss_winbind.so.1 -r-xr-xr-x 2 root wheel 744628 May 4 17:34 nss_wins.so -r-xr-xr-x 2 root wheel 744628 May 4 17:34 nss_wins.so.1 but NO libnss_winbind... which I found cited in many tutorials... Does anybody knows about this problem/configuration ? Thanks Gianluca
Aaron Kincer
2007-May-07 12:40 UTC
[Samba] problem listing directories with AD permissions
I've seen this problem when the Samba server clock is out of sync with the AD servers. Come to think of it, lots of problems happen because of that. Gianluca Culot wrote:> Hello List > > I'm running Samba 3.0.24,1 on a freebsd 6 server > > I've joined the unix server to an active directory domain and set up PAM > > I've shared directories and users can access them (provided they belong to > the correct group) > > the problem is : > if I list the shared directory > > mail# /usr/local/lib > ls -al /usr/local/www/www.dmsware.it/ > total 6 > drwxr-xr-x 3 root wheel 512 Apr 27 16:04 . > drwxr-xr-x 10 root wheel 512 May 6 18:44 .. > drwxrwxr-x 3 1002 1513 512 May 6 17:27 downloads > > I would like to see 1513 as "domain users" group. WIth samba 3.0.14 I get > drwxr-xr-x 3 root wheel 512 Apr 27 16:04 . > drwxr-xr-x 10 root wheel 512 May 6 18:44 .. > drwxrwxr-x 3 user1 Domain Users 512 May 6 17:27 downloads > > I've traced the problem back to a possibile misconfiguration of NSSWitch > with nss_winbind.so wich should be copied orlinked somewhere.... but faq and > tutorials are somewhat... vague ! > > I've a freebsd server and i've found four files > mail# /usr/local/lib > ls -al nss* > -r-xr-xr-x 2 root wheel 18232 May 4 17:34 nss_winbind.so > -r-xr-xr-x 2 root wheel 18232 May 4 17:34 nss_winbind.so.1 > -r-xr-xr-x 2 root wheel 744628 May 4 17:34 nss_wins.so > -r-xr-xr-x 2 root wheel 744628 May 4 17:34 nss_wins.so.1 > > but NO libnss_winbind... which I found cited in many tutorials... > > Does anybody knows about this problem/configuration ? > > Thanks > Gianluca >