[Samba] FreeBSD and Winbind

Alex Wang hadyn_whx at hotmail.com
Thu Feb 8 01:56:59 GMT 2007


Where did you find the genent? I installed from the port but I didn't
find the genent in my FreeBSD system.


Thanks


ALex
On Thu, 8 Feb 2007 01:30:36 -0000 (GMT)
jhall at vandaliamo.net wrote:

> > On Thursday 08 February 2007 10:44, jhall at vandaliamo.net wrote:
> >> To be more specific I think I have made a mistake copying the libraries
> >> to
> >> the proper location.  I was not able to find libnss_winbind.so in
> >> /usr/samba/source/nsswitch.  Instead, I found nss_winbind.so.  Is this
> >> the
> >> correct file to copy?  And, where should these files be copied to on
> >> FreeBSD?  From what I have read so far, I am guessing these should be
> >> copied to /usr/lib.
> >
> > Why aren't you using the port? It should Just Work(tm).
> >
> > You can keep the nss shared object in /usr/local/lib because FreeBSD will
> > mount the disks very early on.
> >
> >> My nsswitch has the following configuration
> >> passwd: files winbind
> >> group: files winbind
> >> group_compat: nis
> >> hosts: files dns
> >> networks: files
> >> passwd_compat: nis
> >> shells: files
> >
> > Try removing the _compat entries.
> > For LDAP I have this..
> > group: files ldap
> > hosts: files dns
> > networks: files
> > passwd: files ldap
> > shells: files
> >
> > And getent works fine. You could try cranking up debugging in Winbindd too
> > (not that I've ever used it)
> >
> > --
> > Daniel O'Connor software and network engineer
> > for Genesis Software - http://www.gsoft.com.au
> > "The nice thing about standards is that there
> > are so many of them to choose from."
> >   -- Andrew Tanenbaum
> > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
> >
> 
> Unfortunately, some things came up and I going to be here for a while. 
> So, I changed the debug level on winbindd to 5.  Wow, there is a lot
> logged!
> 
> When I use wbinfo -u or wbinfo -g, I can see a request to the DC and
> information being retrieved.  However, when I use getent passwd or getent
> group, nothing is logged by winbindd.  Does this mean the request is not
> getting to winbindd?
> 
> Thanks,
> 
> 
> Jay
> 
> -- 
> 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