Monthly Archives: October 2013

Building SSSD

Follow the given steps to build SSSD ( System Security Services Daemon ):

Step 1:

We need to install following packages in order to proceed

yum install 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 cifs-utils-devel \

Step 2:

Open ~/.bashrc file. Now, in order to make it convenient to work on SSSD often , add the following lines to your ~/.bashrc file.

if [ -f /path/to/sssd-source/contrib/fedora/bashrc_sssd ]; then
    . /path/to/sssd-source/contrib/fedora/bashrc_sssd

Step 3:

Run the following command to produce a Debug build of SSSD

cd /path/to/sssd-source
reconfig && chmake

Step 4:

Run the usual Autotools combo to install SSSD on distribution other than Fedora system :

autoreconf -i -f && \
./configure --enable-nsslibdir=/lib64 --enable-pammoddir=/lib64/security && \
sudo make install

Things to be taken care:

* The Autotools install prefix is /usr/local

* Use /lib instead of /lib64 for nsslibdir and pammoddir while building and installing on a 32 bit machine.

* The NSS and PAM libraries must be installed to system library directories as that’s where NSS and PAM look for them.

And that is it. We are done.


Posted by on October 25, 2013 in Uncategorized


Run Ubuntu 12.04 within VMPlayer on Linux

Let us play with Ubuntu 12.04 in VMPlayer on Linux this time:

First, we need to download VMPlayer in our system. Go to the link now click on “Downloads”, you will get a list of items with sub headings. Scroll down and go to “Desktop & End-User Computing”. Click on “Download Product” mentioned in front of “VMware Player”.

VMPlayer Setup:

Now, open VMPlayer. Click on “Create a New Virtual Machine”. Click on “Use an ISO image”. Browse your Ubuntu 12.04 ISO image and click “next”. Fill in your computer details – username and password then click “next”.

Next page demands hardware information. Adjust size (in GB) accordingly. Then check mark “Store virtual disk as a single file”. It gives convenience while copying VM image from one system to other. Now uncheck “Automatically Start the VM” and click “finish”.

Now, before we should adjust emulated hardware. Click “Edit virtual machine settings”. Now adjust the amount of memory available to the VM to be the recommended amount of memory. Number of CPU should not be more than the number of CPUs you have available in your system. Click the ‘Save’ button.

Now we are almost done. Start the VM by clicking “Play virtual machine”. If a “Removable devices” window pops up, click “ok”. To avoid slow working of VM do click on “Download and install” for windows with heading Software “Updates”.

Yes we are done! As the installation of Ubuntu 12.04 finishes we can get started with it in our VM.

Leave a comment

Posted by on October 22, 2013 in Uncategorized