[Samba] Samba 3.0.2 config error using --with-ldap
ww m-pubsyssamba
pubsyssamba at bbc.co.uk
Wed Feb 25 12:39:43 GMT 2004
Hi,
I also use the openldap libldap (need to install openldap configured with --null-backend=yes).
Then set the library search path for solaris with "crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib".
I didn't need to hack any files to get this to compile :-).
hope this helps, Andy.
------------- snip ----------------------------------
#!/bin/sh
# --- Mods by Lou for SAMBA 3.0.2a
# -- have libxml2 on board, but dsabled test because config chokes...
# - having enabled additional library paths, now got config to work,
# but with spinlocks enabled, make chokes.
# SO NO SPINLOCKS for the time being !!!
LD_LIBRARY_PATH="/usr/local/lib:/usr/local/mysql/lib:/opt/csw/lib" \
LDFLAGS="-L/usr/local/mysql/lib -L/opt/csw/lib" \
CPPFLAGS="-I/usr/local/mysql/include -I/opt/csw/include -I/usr/include/libxml2/libxml" \
CFLAGS="-I/usr/local/mysql/include -I/opt/csw/include -I/usr/include/libxml2/libxml -DHAS_LDAP" \
'./configure' \
'--enable-debug' \
'--enable-developer' \
'--enable-krb5developer' \
'--with-ldap=/opt/csw/include/ldap.h' \
'--with-ads' \
'--with-krb5' \
'--with-expsam=xml, mysql' \
'--with-xml-prefix=/usr/lib' \
'--with-xml-exec-prefix=/usr/lib' \
'--disable-xmltest' \
'--with-mysql-prefix=/usr/local/mysql' \
'--with-mysql-exec-prefix=/sr/local/mysql/bin' \
'--with-ldapsam' \
"$@"
I am getting below errors when running "configure --with-ldap --with-ldapsam
--with-ads" on Solaris 8:
************ Begin ***************
configure:23349: result: no
configure:23379: WARNING: libldap is needed for LDAP support
********** End ***********
Note that I am using libldap that comes with Solaris 8 Shared Libs package
(SUNWcsl).
Thanks a lot in advance,
Dan
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
BBCi at http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the samba
mailing list