Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 14:00:52 -0700
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Playnet <playnet@mail333.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Samba3, freeBSD 5.3 & kerberos -- error on compiling
Message-ID:  <20050617210052.GA13312@alzatex.com>
In-Reply-To: <866860273.20050611182155@mail333.com>
References:  <866860273.20050611182155@mail333.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 11, 2005 at 06:21:55PM +0400, Playnet wrote:
> Hello freebsd-questions,
>=20
> subj.
> I must setting up PDC: unix server and win-clients. But samba not
> compiling =3D(
>=20
> 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.

>=20
> uname -a
> FreeBSD freebsd53.localdomain 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov=
  5 04:19:18 UTC 2004
> root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>=20
> make >makesmb.log
> =3D=3D=3D>  Building for samba-3.0.14a,1
> Using FLAGS =3D  -O -pipe -I/usr/local/include  -Iinclude -I/usr/ports/ne=
t/samba3/work/samba-3.0.14a/source/include -I/usr/ports/net/samba3/work/sam=
ba-3.0.14a/source/ubiqx -I/usr/ports/net/samba3/work/samba-3.0.14a/source/s=
mbwrapper  -I. -I/usr/local/include -I/usr/local/include -I/usr/ports/net/s=
amba3/work/samba-3.0.14a/source  =20
>       LIBS =3D -lcrypt -liconv
>       LDSHFLAGS =3D -shared  -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr=
/local/lib -L/usr/local/lib
>       LDFLAGS =3D -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib =
-L/usr/local/lib
> Linking bin/smbd
> *** Error code 1
>=20
> Stop in /usr/ports/net/samba3/work/samba-3.0.14a/source.
> *** Error code 1
>=20
> Stop in /usr/ports/net/samba3.
>=20
>=20
> 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
>=20
> --=20
> Best regards,
> Playnet                          mailto:playnet<@>mail333.com
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>=20

--=20
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
=20

--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCszoDbTXoRwEYo9IRAkgYAJ9Eu11bFUAbOYgPnh3ReLjZo3LWuwCdFb1e
60QBUUVaZYuYRCcMwKwxmKs=
=qaq9
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--



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