R: [Samba] problem listing directories with AD permissions

Gianluca Culot gianlucaculot at dmsware.com
Mon May 7 13:14:08 GMT 2007


> -----Messaggio originale-----
> Da: Aaron Kincer [mailto:kincera at gmail.com]
> Inviato: lunedì 7 maggio 2007 14.34
> A: Gianluca Culot
> Cc: Samba at Lists. Samba. Org
> Oggetto: Re: [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
> >
>
>

not my case
actually both the mail server and the AD server are running a nettime client
against another Unix Server, wich is local to my net.
the time difference between servers is less than 5 milliseconds...

I think I-m missing some DLL, or I-ve not configured something, even if I
cannot figure out what I'm doing wrong (the same configuration with 3.0.14
did worked very well)




More information about the samba mailing list