On Sun, 2013-06-30 at 12:05 +0200, Jakub Hrozek wrote:
On Sun, Jun 30, 2013 at 10:17:00AM +0200, steve wrote:
> Hi everyone.
>
> A big thanks for the 1.10.0 release. We have been in production 24/7
> with 6 clients on AD since Thursday without issues. The highlight for us
> is the dyndns updates. It has been worth every second in the lab.
>
> The only minor problem we had was with the instructions. We had to refer
> to the beta BUILD.txt to get it built with:
> autoreconf -i -f && ./configure && make
>
> The link to:
>
https://fedorahosted.org/sssd/wiki/DevelTutorials
> is confusing. We had no idea how to get:
> reconfig
> chmake
> sssinstall
Hi Steve,
I'm sorry the tutorial is confusing. But that section of tutorial starts
with:
Starting with SSSD 1.10 beta, we now include a set of helper aliases
and environment variables in SSSD to simplify building development
versions of SSSD on Fedora. To take advantage of them, use the
following command:
. /path/to/sssd-source/contrib/fedora/bashrc_sssd
Would you prefer us to clarify even more that you need to source the
file called "contrib/fedora/bashrc_sssd" from the sssd checkout?
Hi
No. Absolutely not. I don't know Fedora so if that's OK for Fedora users
then leave it as it is.
>
> I realise that you guys work for Red Hat but would it be possible to
> include something for inexperienced users like ourselves in BUILD.txt?
>
> sssd can be built on Fedora with the following dependencies:
> gettext gettext-devel libtool pcre-devel c-ares-devel \
> python-devel popt-devel doxygen bind-utils libnl3-devel \
> samba-devel glib2-devel dbus-devel libxslt docbook-style-xsl \
> nspr-devel libxml2 \
> libtevent libtevent-devel libtalloc libtalloc-devel \
> libtdb libtdb-devel libldb libldb-devel \
> libselinux-devel libsemanage-devel \
> nss-devel pam-devel openldap-devel krb5-devel \
> check-devel libcmocka-devel \
> libcollection-devel libdhash-devel libini_config-devel \
> libpath_utils-devel libref_array-devel
>
> then a:
> reconfig && chmake
> from the source folder.
>
> It can be then installed by:
> sudo sssinstall
>
> To get started with other distributions try:
> autoreconf -i -f && ./configure && make
> sudo make install
> This will install sssd under /usr/local
OK, I think you are right that our instructions on working with other
distributions were not optimal. I've amended the DevelTotorials to
include some more generic instructions:
https://fedorahosted.org/sssd/wiki/DevelTutorials?action=diff&version...
> On a 32bit system, copy /usr/lib/libnss* to /lib and place your
> sssd.conf at /usr/local/etc/sssd
No, you shouldn't copy the libraries, you should use the
--enable-nsslibdir and --enable-pammoddir configure switches.
Unfortunately, the old BUILD.txt didn't mention that.
This now nails it. What you have here is perfect for idiots like me:
To install SSSD on other distributions, you can run the usual Autotools
combo:
98 {{{
99 autoreconf -i -f && \
100 ./configure --enable-nsslibdir=/lib
--enable-pammoddir=/lib/security && \
101 make
102 sudo make install
103 }}}
Examples are everything.
Cheers and thanks for reading.