Samba fails to emerge Reproducible: Always Steps to Reproduce: 1.emerge -u samba 2. 3. Actual Results: checking whether to use AFS clear-text auth... no checking whether to use AFS fake-kaserver... no checking whether to use DFS clear-text auth... no checking for LDAP support... no checking for Active Directory and krb5 support... yes configure: error: Active Directory Support requires LDAP support !!! ERROR: net-fs/samba-3.0.0-r1 failed. !!! Function src_compile, Line 152, Exitcode 1 !!! (no error message) Expected Results: emerge without problems emerge info Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22) ================================================================= System uname: 2.4.22 i686 Pentium III (Coppermine) ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/ http://gentoo.seren.com/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 oss apm avi encode foomaticdb gpm libg++ libwww mad mikmod nls png spell xv zlib gtkhtml gdbm berkdb slang readline bonobo svga tcpd pam esd imlib oggvorbis gtk motif -3dnow X kde -gnome acpi alsa apache2 arts crypt cups directfb gif icc java jikes jpeg kerberos mmx mpeg mozilla moznomail moznocompose ncurses opengl pdflib perl python qt quicktime samba sdl sse ssl tiff truetype usb xml xml2 xmms offensive"
install your samba with the following command: USE="-kerberos -krb4" emerge samba Your emerge info shows that your kerberos useflag is set.
I need to tweak the build a little as you need to do USE="ldap kerberos" to build the ADS stuff, USE=kerberos isn't enough. Basically if user wants USE=kerberos we need to ./configure ldap as well. So I'll clean that up next release...
*** Bug 30180 has been marked as a duplicate of this bug. ***
Cleaned up in samba-3.0.2a.ebuild.