summaryrefslogtreecommitdiffstats
path: root/BUILD.txt
blob: 4846458973abe6e20c9828dd14e5be305915d022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Very Quick Guide to build sssd components
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use the following instructions to build the libraries and the binaries.

External library requirements:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sssd depends on 4 libraries originated in the samba project:
talloc, tdb, tevent, ldb

They are now available in major distribution development branches.

If you want to build them from source download them from the following links:
http://samba.org/ftp/talloc/
http://samba.org/ftp/tdb/
http://samba.org/ftp/tevent/
http://samba.org/ftp/ldb/

Additionally the ding-libs are needed. These used to be included in the sssd
release but are now a separate project. The latest 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 docbook-style-xsl krb5-devel nspr-devel \
    libxml2 pam-devel nss-devel libtevent python-devel \
    libtevent-devel libtdb libtdb-devel libtalloc libtalloc-devel \
    libldb libldb-devel popt-devel c-ares-devel check-devel \
    doxygen libselinux-devel libsemanage-devel bind-utils libnl3-devel \
    gettext-devel glib2-devel

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

Some features, notably password caching, require the presence of a crypto
library. The default, tested by SSSD upstream, is Mozilla NSS. An alternative
crypto library can be selected during configure time using the --with-crypto
switch. Please note that alternative crypto back ends may not provide all
features -  as of this writing, password obfuscation is only supported with the
NSS back end.

How to build:
~~~~~~~~~~~~~
From the root of the source, run:
autoreconf -i -f && \
./configure && \
make

Optionally, parallel builds are possible with:
autoreconf -i -f && \
mkdir parallelbuilddir && cd parallelbuilddir && \
../configure && \
make

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

For pam copy pam_sss.so into /lib/security (or /lib64/security) and add
pam_sss.so to your pam configuration. To use the pam_test_client from
sss_client create the following file:

/etc/pam.d/sss_test:
auth     required pam_sss.so
account  required pam_sss.so
password required pam_sss.so
session  required pam_sss.so

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.5.2)
'/݊O;!d==e˴"TlQ mE\Enzhꩡ(^||,FNgIB+\>̖"B U`Szci<-r.|qg{Qc1eVKbZJV*h{V=<_g(Y'q5$&d_Wģ !Tl<7V(S!V=!|bZ<!Je5(,*'^ݶlY|.hC's~ȃ+`+"yR(y!R=ɘ5.fI現Q!!ӥ7/Q4î: Srz,S C?$zvcH뉩m H!CtAw, i Փ'jk|r rcݎ#W Vnl}?\:QGzoAl9ՁD\$Vग़wnz?Np"uzOtiPLӞhĨQ.?{b  OWq]7蓟٢=D՜ !p >AˑF'ջJx\9N 08| 겭ߨGٶ ]m:HB,f~UUħTnE4u9[I8 7ZdAcuzqtŰz7_y4ޑަ) Bz(])> Q^]ZbRi@ P׾eޚN>:$ɶ`D PFfH0 #R;hd#rwJǁD (fFkb]֧OjbCC&V*=`4bΖ/Mffxѣ CO֍fNZ#-n6kvnz8Ny$CqyQmE@\7P!U9%{<"&'e|(#(rvt"n0h T 򝁗8DyԱXyQ6Uj#D|Vn*¾9hD>KUm wz"( ZgVFq#a+ZWI}6/`icIЏR" \+`hQ'ŀ>5"~6a:k/w٘9#71u,vS,^Y WDw7r'2]`"wju$錄39v.zc;j 1~WmAv!Ib6 -yR:]It_Jb]@ q/nB}OC E :L#!m(t TMKhE^I_Ⳙ|1F5B4$nV(J_dewqjahD(I/}>ysG&IZ1RX}֬lx6şx~r7 0:e 4ңVЙA[=Riҷ|tt|i;ShpAY9#§uZՕ E`B|;H-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