[Samba] problem listing directories with AD permissions
Gianluca Culot
gianlucaculot at dmsware.com
Mon May 7 10:59:30 GMT 2007
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
More information about the samba
mailing list