[Samba] how to enable Active Directory support building samba on AIX?
Jelmer Vernooij
jelmer at samba.org
Sun Feb 23 15:02:27 MST 2014
(changing mailing list to samba@; please use samba-technical@ for non-development discussion)
On Sat, Feb 08, 2014 at 11:18:40AM +0100, Peter Waeckerle wrote:
> I'm trying to build samba 4.1.4 on AIX 7.1 with xlc 12.1:
>
> Before building samba the build of openldap works correctly with:
>
> export LDFLAGS=-L/usr/local/samba/samba-4.1.4/lib
>
> ./configure --prefix=/usr/local/samba/samba-4.1.4 \
> --sysconfdir=/usr/local/samba/conf
> --localstatedir=/var/samba/openldap \
> --mandir=/usr/local/samba/samba-4.1.4/man --with-threads=no
> --enable-bdb=no \
> --enable-null --enable-dnssrv \
> --enable-dynamic --enable-backends=no
> make depend
> make
> make check
> make install
> unset LDFLAGS
>
> However, configure of samba doesn't recognise ldap correctly.
>
>
> ./configure --prefix=/usr/local/samba/samba-4.1.4 \
> --sysconfdir=/usr/local/samba/conf --localstatedir=/var/samba/smb
> \
> --mandir=/usr/local/samba/samba-4.1.4/man
> --with-privatedir=/usr/local/samba/conf \
> --with-configdir=/usr/local/samba/conf
> --with-piddir=/var/samba/smb/pids \
> --with-logfilebase=/var/samba/smb/logs --with-acl-support
> --with-winbind \
> --with-ldap
>
> I get this output:
You've installed LDAP in a non-standard location, so Samba's configure
script can't find it. See bin/config.log for details.
Specifying manual CFLAGS/LDFLAGS will likely help configure find LDAP,
e.g.
CFLAGS=-I/usr/local/samba/samba-4.1.4/include LDFLAGS=-L/usr/local/samba/samba-4.1.4/lib
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20140223/058ea21e/attachment.pgp>
More information about the samba
mailing list