Skip to content

Commit

Permalink
Mention ding-libs in BUILD.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-bose authored and sgallagher committed Oct 27, 2010
1 parent bfb9e9c commit 729ec6e
Showing 1 changed file with 11 additions and 33 deletions.
44 changes: 11 additions & 33 deletions BUILD.txt
Expand Up @@ -12,16 +12,23 @@ They are now available in major distribution development branches.

If you want to build them from source download the latest samba master branch.

Additionally the ding-libs are needed. These used to be included in the sssd
release but are now a separate project. The lastest ding-libs release can be
downloaded from https://fedorahosted.org/sssd/wiki/Releases#DING-LIBSReleases .

To install all of the dependencies in Fedora before building sssd:
yum install openldap-devel gettext libtool pcre-devel c-ares-devel \
dbus-devel libxslt-devel docbook-style-xsl krb5-devel \
docbook-style-xsl libxml2 pam-devel nss-devel libtevent \
libtevent-devel libtdb libtdb-devel libtalloc libtalloc-devel \
libldb libldb-devel cvs popt-devel c-ares-devel

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to build everything in one go (Preferred approach)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ding-libs are available in Fedora 14 and later version:
yum install libcollection-devel libdhash-devel libini_config-devel \
libpath_utils-devel libref_array-devel

How to build:
~~~~~~~~~~~~~
From the root of the source, run:
autoreconf -i -f && \
./configure && \
Expand All @@ -33,35 +40,6 @@ mkdir parallelbuilddir && cd parallelbuilddir && \
../configure && \
make

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to build components individually
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Internal Library Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sssd provides several required libraries within its source tree:
collection
ini_config
dhash
refarray
path_utils

Compiling sssd internal libraries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pushd common;
autoreconf -i -f && \
./configure --disable-static --enable-shared && \
make;
popd

Compiling sssd with system installed libraries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pushd src; \
autoreconf -i -f && \
./configure && \
make; \
popd

Now you have to copy libnss_sss* into /lib (or /lib64) and add the 'sss' target
to nsswitch.conf passwd database

Expand All @@ -79,4 +57,4 @@ Now you can call pam_test_client:
./pam_test_client [auth|chau|acct|setc|open|clos] username@domain

~~~~~
Simo and Steve (Last updated for 1.1.0)
Simo and Steve (Last updated for 1.4.1)

0 comments on commit 729ec6e

Please sign in to comment.