Changes

Jump to: navigation, search

LDAP C SDK

2,099 bytes added, 13:14, 24 March 2007
Building using autoconf (preferred method)
make
* Build with SASL support:
 
:::SASL support requires Cyrus SASL or vendor compatible implementation available on the target system. some OS ship with SASL library and plug-ins at standard locations, for instance on Solaris 10 and Linux all you have to do is to specify --with-sasl so autoconf will look for it in all the standard locations. for any OS that does not ship SASL as part of its distribution you might wanna check if there are any SASL packages available separately either by OS vendor or trusted third party and if none available you can build Cyrus SASL from the source which also can be a preferred option in cases when you require certain SASL library or plug-ins customization to suit your needs.
 
:::information on obtaining Cyrus SASL source can be found at http://asg.web.cmu.edu/sasl/sasl-library.html
:::information on building, using and troubleshooting Cyrus SASL is included within its source distribution.
 
:::at the time of this writing cyrus-sasl-2.1.22 is the latest version available and can be build using the following options:
 
cd cyrus-sasl-2.1.22
./configure --enable-gssapi --without-des --without-openssl --without-saslauthd --disable-ldapdb --with-dblib=none --prefix=DIR --enable-shared --disable-static
 
:::where prefix option will vary to fit your own installation path. --with-plugindir=DIR option can be used if you do not plan to install SASL plug-ins at default location [/usr/lib/sasl2], otherwise SASL_PATH environment variable can be used by Cyrus SASL at runtime to determine the location of its plug-ins.
 
:::also note that default set of plug-ins will vary depending on platform. LDAP C SDK does not require any plug-ins in order to be build with SASL support however you need to make sure that specific plug-ins for SASL mechanisms you will use at runtime are available at the plug-in location.
 
:::Cyrus SASL libraries and headers installed at standard location/s:
 
cd mozilla/directory/c-sdk
./configure ...other options above... --with-sasl
 
:::OR Cyrus SASL libraries and headers installed at non standard location/s:
 
cd mozilla/directory/c-sdk
./configure ...other options above... --with-sasl-inc=DIR/include/sasl --with-sasl-lib=DIR/lib
 
Note that since svrcore requires NSS, --with-svrcore implies --with-nss

Navigation menu