[Samba] samba-ldap pdc howto problem

G. Armour Van Horn vanhorn at whidbey.com
Wed May 29 01:11:56 GMT 2002


I'm on section 3.2 (page 7) of the SAMBA-LDAP PDC HowTo and am getting
errors. This is on a brand-new install on RedHat 7.2, using
openldap-2.0.23-4.i386.rpm, openldap-clients-2.0.23-4.i386.rpm, and
openldap-servers-2.0.23-4.i386.rpm from the 7.3 tree from a RedHat
mirror (Rawhide wouldn't let me in at that point) and
samba-2.2.4-2.src.rpm from RedHat's Rawhide tree.

My config options in samba.spec are as follows:

%configure \
        --libdir=%{_sysconfdir}/samba \
        --with-fhs \
        --with-privatedir=%{_sysconfdir}/samba \
        --with-lockdir=/var/cache/samba \
        --with-swatdir=%{_datadir}/swat \
        --with-codepagedir=%{_datadir}/samba/codepages \
        --with-automount \
        --with-smbmount \
        --with-pam \
        --with-mmap \
        --with-quotas \
        --without-smbwrapper \
        --with-libsmbclient \
        --with-utmp \
        --with-acl-support \
        --with-profile \
        --disable-static \
        --with-msdfs \

I tried it with a trailing "\" the first time and got a similar error.
The only changes I made to this file were the additions of those last
five lines (starting with "with-acl-support"). When I run the next
command in the HowTo:

cd /usr/src/redhat/SPECS/ && rpm -ba samba.spec

I get a lot of activity on screen, ending with this:

checking if large file support can be enabled... yes
checking whether to support ACLs... checking for acl_get_file in
-lacl... no
checking for ACL support... no
checking whether to build winbind... yes
checking whether or not getgroups returns EGID too many times... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... ./popt
checking configure summary... configure: error: summary failure.
Aborting config
error: Bad exit status from /var/tmp/rpm-tmp.12916 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.12916 (%build)

What should I look for or try next?

Thanks in advance,


Sign up now for Quotes of the Day, a handful of quotations
on a theme delivered every morning.
Enlightenment! Daily, for free!
mailto:twisted at whidbey.com?subject=Subscribe_QOTD

For web hosting and maintenance,
visit Van's home page: http://www.domainvanhorn.com/van/

More information about the samba mailing list