Matt Pusateri wrote:
>Aaron,
>
>I see that no one has posted a response to this. I have a similar problem.
I think that the NSSwitch code is not complete, so it only works redirecting to
LDAP and not winbind. Are you using LDAP? What about /usr/ports/net/nss_ldap
port?
>
>
Matt, you are correct, the nsswitch code was not complete, I took the
old ports patch an applied it to the new 3.0 and it seems to work now,
please refer to samba bug 797 https://bugzilla.samba.org/show_bug.cgi?id=797
Their is also a symlink the needs to be created
root# *ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1*
root# *ln -s /usr/lib/libnss_winbind.so /usr/lib/nss_winbind.so.1*
root# *ln -s /usr/lib/libnss_winbind.so /usr/lib/nss_winbind.so.2*
>Although I am not sure of this because their is a document at www.bzerk.org
that details FreeBSD 5.1 with Samba 2.2.8a in MS AD environment that sounds like
it works.
>Have you asked this on FreeBSD-Questions?
>
>
I had a look at Bzerk, which is what inspired me to look at the old
ports patches
>I have been playing with several FreeBSD/Samba combinations but haven't
found the one I want yet.
>
>FYI - I didn't respond to the list, because I didn't want to express
opinions that might not be accurate.
>
>Let me know if I can help at all, although it seems that we are both stuck
at similar levels of configuration.
>
>
I've got it working great now, please try the patch in the above samba
bug report. Im sure if enough people use it and find it useful it will
get added. I didn't specify in the bug report, but that diff was from
samba 3.0.1pre4 (CVS Curret)
>Thanks,
>
>
>
>Matt Pusateri
>Systems Administrator
>Interactive Medical Systems, Inc.
>
>
>
>
>>>>Aaron Collins <hellfire@fastq.com> 11/20/03 12:41AM
>>>
>>>>
>>>>
>Has anyone at all gotten the Samab 3.0 to integrate into the FreeBSD 5.1
>Name Service switcher? Are there patches avaliable? Does anyone know
>where to get the FreeBSD nss api so I can try to fix the code my self?
>I keep getting the following errors in my logs
> NSSWITCH(nss_method_lookup): winbind, passwd, getpwnam_r, not found
>
>
>