Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 14:52:18 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        "Timur I. Bakeyev" <timur@com.bat.ru>
Cc:        hackers@freebsd.org, FreeBSD Current <current@freebsd.org>
Subject:   Re: samba/NSSWITCH interaction in fbsd 10 vs fbsd 8
Message-ID:  <546303A2.2070401@freebsd.org>
In-Reply-To: <CALdFvJE4H9eX_dC=5T52nwDnU%2BwLzdzdqnnG9nUqH6Pp3OHEXQ@mail.gmail.com>
References:  <5460AC13.5060001@freebsd.org> <CALdFvJE4H9eX_dC=5T52nwDnU%2BwLzdzdqnnG9nUqH6Pp3OHEXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/11/14, 4:28 PM, Timur I. Bakeyev wrote:
> Do you use net/samba36 port? Looks like you don't...
It occurred to me after posting to check the port and I found this..
The company decided to go the independent route before I joined so 
they don't use the port.
They have a huge set of diffs to samba so it kind of makes sense.
>
> @@ -6336,12 +6373,13 @@
>                 NSSSONAMEVERSIONSUFFIX=".2"
> WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_linux.o"
>                 ;;
> -       *freebsd[[5-9]]*)
> +       *freebsd*)
>                 # FreeBSD winbind client is implemented as a wrapper 
> around
>                 # the Linux version.
>                 NSSSONAMEVERSIONSUFFIX=".1"
> WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_freebsd.o \
>                     ../nsswitch/winbind_nss_linux.o"
> + WINBIND_WINS_NSS_EXTRA_OBJS="../nsswitch/wins_freebsd.o"
>                 WINBIND_NSS="../nsswitch/nss_winbind.$SHLIBEXT"
> WINBIND_WINS_NSS="../nsswitch/nss_wins.$SHLIBEXT"
>                 ;;
>
>
> On Mon, Nov 10, 2014 at 1:14 PM, Julian Elischer <julian@freebsd.org 
> <mailto:julian@freebsd.org>> wrote:
>
>     When I try use the libnss_winbind.so  that is generated by samba
>     3.6 I get the following message:
>
>      NSSWITCH(nss_load_module): winbind, Undefined symbol
>     "nss_module_register".
>
>     First I have to change its' name to nss_winbins.so.1 however
>     because that is what nsswitch is looking for....
>     (BTW where is that documented??)
>
>     then it finds it but fails as mentioned above.
>
>     This same samba source generates good nss files in 8.0 but under
>     10 it fails.. Literally it's the same sources just checked out
>     into a different build system. (10 vs 8).
>
>     Has there been a change in the API for the nss modules? where it
>     he API for nsswitch files documented?
>
>     Julian
>     _______________________________________________
>     freebsd-current@freebsd.org <mailto:freebsd-current@freebsd.org>
>     mailing list
>     http://lists.freebsd.org/mailman/listinfo/freebsd-current
>     To unsubscribe, send any mail to
>     "freebsd-current-unsubscribe@freebsd.org
>     <mailto:freebsd-current-unsubscribe@freebsd.org>"
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546303A2.2070401>