Samba3, freeBSD 5.3 & kerberos -- error on compiling

Loren M. Lang lorenl at alzatex.com
Fri Jun 17 21:00:59 GMT 2005


On Sat, Jun 11, 2005 at 06:21:55PM +0400, Playnet wrote:
> Hello freebsd-questions,
> 
> subj.
> I must setting up PDC: unix server and win-clients. But samba not
> compiling =(
> 
> Samba 3.0.14a (and trying with 3.0.13)
> krb5-1.3.4_2
> openldap-2.2.15 with sasl

I think the kerberos support in samba might be a little old, but I'll
have to look into it to be sure.  It might be better to have samba use
pam and setup a pam module to use kerberos.  In any case, both these
aproaches require that you use plain text passwords on all win comps
with requires a registry change to do so on every computers.  And it's
less secure.  If your trying to set samba up like a ADS with Kerberos,
that might be possible, but I've never done it and requires Win2k or
WinXP clients to work.

> 
> uname -a
> FreeBSD freebsd53.localdomain 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
> root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> make >makesmb.log
> ===>  Building for samba-3.0.14a,1
> Using FLAGS =  -O -pipe -I/usr/local/include  -Iinclude -I/usr/ports/net/samba3/work/samba-3.0.14a/source/include -I/usr/ports/net/samba3/work/samba-3.0.14a/source/ubiqx -I/usr/ports/net/samba3/work/samba-3.0.14a/source/smbwrapper  -I. -I/usr/local/include -I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.14a/source   
>       LIBS = -lcrypt -liconv
>       LDSHFLAGS = -shared  -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib
>       LDFLAGS = -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib
> Linking bin/smbd
> *** Error code 1
> 
> Stop in /usr/ports/net/samba3/work/samba-3.0.14a/source.
> *** Error code 1
> 
> Stop in /usr/ports/net/samba3.
> 
> 
> And error (not logging.. agrh)
> ...
> Linking /bin/smbd
> ...skip...
> libads/kerberos_keytab.o(.text+0x7b4): In function `ads_keytab_add_entry':
> libads/kerberos_keytab.c:169: undefined reference to `krb5_kt_compare'
> /user/lib/libgssapi.so: undefined reference to `krb5_rd_cred2'
> /user/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy'
> ..... (skip)
> ***Error code 1
> 
> -- 
> Best regards,
> Playnet                          mailto:playnet<@>mail333.com
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050617/c3afefc5/attachment.bin


More information about the freebsd-ports mailing list