From: Timur I. Bakeyev on
The wiki suggests to build it out of source3/ which is what samba5x is
based on. So you can install it from there.

On Thu, Jul 8, 2010 at 11:33 PM, <tms3(a)tms3.com> wrote:
> Apparently this didn't/doesn't build on FreeBSD by default...or is it
> "doesn't build at all".
>
> If it is buildable, what should I do to build it, as without it...see wiki:
>
> http://wiki.samba.org/index.php/Samba4/Winbind
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: tms3 on



>
>
>>
>> The wiki suggests to build it out of source3/ which is what samba5x is
>> based on. So you can install it from there.
>
> Yeah, reread that after posting, but the build for source3 fails round
> about the kerberos build:
>
> 81rc2# pwd
> /usr/ports/distfiles/samba-master/source3
> 81rc2# gmake
> Using CFLAGS = -g -DDEBUG_PASSWORD -DDEVELOPER -g -Wall -Wshadow
> -Wpointer-arith -Wcast-align -Wwrite-strings
> -Wdeclaration-after-statement -Werror-implicit-function-declaration
> -I. -I/usr/ports/distfiles/samba-master/source3
> -I/usr/ports/distfiles/samba-master/source3/../lib/iniparser/src
> -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent
> -I./libaddns -I./librpc -I./.. -I../lib/tdb/include -DHAVE_CONFIG_H
> -I/usr/local/include -DLDAP_DEPRECATED
> -I/usr/ports/distfiles/samba-master/source3/lib -I.. -I../source4
> -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
> PICFLAG = -fPIC -DPIC
> LIBS = -liconv
> LDFLAGS = -pie -Wl,-z,relro -Wl,--as-needed -L./bin
> -L/usr/local/lib
> DYNEXP = -Wl,--export-dynamic
> LDSHFLAGS = -fPIC -DPIC -shared -Wl,-z,relro -Wl,--as-needed
> -L./bin -L/usr/local/lib -lc -Wl,-z,defs
> SHLIBEXT = so
> SONAMEFLAG = -Wl,-soname,
> Compiling libsmb/clikrb5.c
> libsmb/clikrb5.c:1653:2: error: #error
> UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
> libsmb/clikrb5.c: In function 'smb_krb5_enctype_to_string':
> libsmb/clikrb5.c:1655: warning: control reaches end of non-void
> function
> libsmb/clikrb5.c: In function 'smb_krb5_principal_get_realm':
> libsmb/clikrb5.c:2262: warning: return discards qualifiers from
> pointer target type
> The following command failed:
> gcc -g -DDEBUG_PASSWORD -DDEVELOPER -g -Wall -Wshadow -Wpointer-arith
> -Wcast-align -Wwrite-strings -Wdeclaration-after-statement
> -Werror-implicit-function-declaration -I.
> -I/usr/ports/distfiles/samba-master/source3
> -I/usr/ports/distfiles/samba-master/source3/../lib/iniparser/src
> -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent
> -I./libaddns -I./librpc -I./.. -I../lib/tdb/include -DHAVE_CONFIG_H
> -I/usr/local/include -DLDAP_DEPRECATED
> -I/usr/ports/distfiles/samba-master/source3/lib -I.. -I../source4
> -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o
> libsmb/clikrb5.o
> gmake: *** [libsmb/clikrb5.o] Error 1
>
> Further, I cannot find this library file on a Samba3.4.8 machine
> FreeBSD8.0 system where winbindd and nss are working splendidly:
>
> zaphod# find / -name libnss_winbind.so -print
> zaphod#
>
> So, just curious what I should be looking for.
>
> Cheers,
>
> TMS III
>>
>>
>>
>> On Thu, Jul 8, 2010 at 11:33 PM, <tms3(a)tms3.com> wrote:
>>>
>>> Apparently this didn't/doesn't build on FreeBSD by default...or is it
>>> "doesn't build at all".
>>>
>>> If it is buildable, what should I do to build it, as without it...see
>>> wiki:
>>>
>>> http://wiki.samba.org/index.php/Samba4/Winbind
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba