<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-530258360787846571</id><updated>2011-09-19T23:08:54.326+05:30</updated><category term='Introduction'/><category term='Howto'/><category term='xl2tpd'/><category term='L2TP without IPSec'/><category term='rp-l2tpd'/><category term='How to'/><category term='Linux Security'/><category term='OpenLDAP'/><category term='Security'/><category term='rp-l2tpd configuration'/><category term='LDAP'/><category term='VPN'/><category term='L2TP'/><category term='xl2tpd howto'/><category term='Network Security'/><category term='VPN Howto'/><category term='Linux Howto'/><category term='LDAP Howto'/><category term='slapd.conf'/><category term='l2tpd.conf'/><category term='LDAP Linux'/><category term='L2TP Howto'/><category term='l2tp.conf'/><category term='rp-l2tpd howto'/><category term='OpenLDAP Howto'/><title type='text'>Linux Security</title><subtitle type='html'>Exploring the Linux Security</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://secureyourlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://secureyourlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rahul Panwar</name><uri>http://www.blogger.com/profile/17689688846398284532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-530258360787846571.post-5728512989704745998</id><published>2009-08-03T00:18:00.005+05:30</published><updated>2009-08-03T01:06:47.016+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP without IPSec'/><category scheme='http://www.blogger.com/atom/ns#' term='rp-l2tpd'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='l2tp.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='rp-l2tpd howto'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='VPN Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='rp-l2tpd configuration'/><title type='text'>L2TP VPN using rp-l2tpd</title><content type='html'>&lt;strong&gt;Prepare the rp-l2tpd Server&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To configure the rp-l2tpd VPN server, we require a Linux system with minimum of two network interfaces. I use Centos 5 Linux operating system for my VPN installation. You can also use other Linux’s flavors, but avoid using Fedora Core 8. Fedora Core 8 has some bug in pppd that doesn’t accept the connection from client.&lt;br /&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 575px; DISPLAY: block; HEIGHT: 226px; CURSOR: hand" border="0" alt="" src="http://linuxexplore.wordpress.com/files/2009/07/l2tp-vpn.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linuxexplore.wordpress.com/how-tos/l2tp-vpn-using-rp-l2tpd/"&gt;View more &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530258360787846571-5728512989704745998?l=secureyourlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secureyourlinux.blogspot.com/feeds/5728512989704745998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=530258360787846571&amp;postID=5728512989704745998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/5728512989704745998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/5728512989704745998'/><link rel='alternate' type='text/html' href='http://secureyourlinux.blogspot.com/2009/08/l2tp-vpn-using-rp-l2tpd.html' title='L2TP VPN using rp-l2tpd'/><author><name>Rahul Panwar</name><uri>http://www.blogger.com/profile/17689688846398284532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530258360787846571.post-7863575298954030936</id><published>2009-07-12T23:21:00.005+05:30</published><updated>2009-08-03T01:07:49.117+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='xl2tpd'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP without IPSec'/><category scheme='http://www.blogger.com/atom/ns#' term='l2tpd.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='xl2tpd howto'/><category scheme='http://www.blogger.com/atom/ns#' term='L2TP Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='VPN Howto'/><title type='text'>L2TP VPN using xl2tpd</title><content type='html'>&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;L2TP (Layer 2 Tunneling Protocol)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;L2TP (Layer 2 Tunneling Protocol) is a tunneling protocol used for VPNs. It uses the UDP port 1701 to communicate. It doesn’t have any encryption, but we can encrypt the L2TP packets by using it with IPSec. For theoretical information on L2TP you can visit its &lt;a href="http://en.wikipedia.org/wiki/Layer_2_Tunneling_Protocol"&gt;Wiki&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In Linux, you can find so many different applications to build a L2TP server but there is no proper documentation for this. Also, I think no one is using L2TP VPN nowadays. But my requirement could solve by L2TP only. I wanted to configure the VPN for some old devices that does support only L2TP VPN.&lt;br /&gt;&lt;br /&gt;I use Centos 5 Linux for VPN server. For VPN application, I use the combination to two applications. One is &lt;strong&gt;xl2tpd &lt;/strong&gt;&amp;amp;&lt;strong&gt; rp-l2tpd.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I&lt;strong&gt; &lt;/strong&gt;also had the option of &lt;strong&gt;openl2tpd, &lt;/strong&gt;I tried this on Fedora 8 Linux but there is some bug on fedora 8’s &lt;strong&gt;pppd, &lt;/strong&gt;which stopped me to use that. And when I tried to install &lt;strong&gt;openl2tpd&lt;/strong&gt; on Centos 5, it asked to enable the L2TP support on kernel. I didn’t want to play with kernel that time.&lt;br /&gt;&lt;br /&gt;That was the reason, I switched to &lt;strong&gt;xl2tpd&lt;/strong&gt; application. It is the same application &lt;strong&gt;l2tpd &lt;/strong&gt;but maintained&lt;strong&gt; &lt;/strong&gt;by &lt;a href="http://www.xelerance.com/software/xl2tpd/"&gt;Xelerance Corporation&lt;/a&gt;. I don’t use &lt;strong&gt;l2tpd&lt;/strong&gt; due to some compilation problem. I also face the compilation problem with &lt;strong&gt;xl2tpd, &lt;/strong&gt;but it was manageable. You will also see the use of &lt;strong&gt;rp-l2tpd, &lt;/strong&gt;it is also solving some dependency problem for &lt;strong&gt;xl2tpd.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class="aligncenter size-full wp-image-62" title="L2TP VPN" alt="L2TP VPN" src="http://linuxexplore.wordpress.com/files/2009/07/l2tp-vpn.jpg" width="460" height="177" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Downloading &amp;amp; Installing xl2tpd&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;xl2tpd&lt;/strong&gt; can be downloaded from &lt;a href="http://www.xelerance.com/software/xl2tpd/xl2tpd-1.2.4.tar.gz"&gt;http://www.xelerance.com/software/xl2tpd/xl2tpd-1.2.4.tar.gz&lt;/a&gt; or you can download it from any other website. After downloading the application use the following commands to install it.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# tar –xvf xl2tpd-1.2.4.tar.gzroot@rahul-pc~# cd xl2tpd-1.2.4&lt;br /&gt;&lt;br /&gt;root@rahul-pc~# make&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;When you give the make command, it can show you some error on compilation (especially on fresh installed Centos 5 system, may be due to some dependencies), but creates the &lt;strong&gt;xl2tpd &lt;/strong&gt;binary. You can use that binary for configuring L2TP VPN server. Copy that binary to &lt;strong&gt;/usr/local/sbin/&lt;/strong&gt; directory.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# cp xl2tpd /usr/local/sbin/&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;xl2tpd.conf&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Also copy the &lt;strong&gt;xl2tpd.conf &lt;/strong&gt;file, from the &lt;strong&gt;examples&lt;/strong&gt; directory on your xl2tpd source directory, to &lt;strong&gt;/etc/xl2tpd/&lt;/strong&gt; directory (you need to create that directory as you installing the &lt;strong&gt;xl2tpd&lt;/strong&gt; manually).&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# cp examples/xl2tpd.conf /etc/xl2tpd/&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Change the &lt;strong&gt;xl2tpd.conf&lt;/strong&gt; according to your usage; means change the IP address in conf file that you require for your VPN network i.e. tunnel IP address. In my case &lt;strong&gt;xl2tpd.conf&lt;/strong&gt; file look something like this.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;;; This is a minimal sample xl2tpd configuration file for L2TP without IPsec.&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;; The idea is to provide an L2TP daemon to which remote L2TP clients can&lt;br /&gt;&lt;br /&gt;; connect. In this example, the internal (protected) network&lt;br /&gt;&lt;br /&gt;; is 192.168.1.0/24. A special IP range within this network is reserved&lt;br /&gt;&lt;br /&gt;; for the remote clients: 10.10.10.0/24&lt;br /&gt;&lt;br /&gt;; (i.e. 10.10.10.1 ... 10.10.10.254)&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;; The listen-addr parameter can be used if you want to bind the L2TP daemon&lt;br /&gt;&lt;br /&gt;; to a specific IP address instead of to all interfaces. For instance,&lt;br /&gt;&lt;br /&gt;; you can bind it to the interface of the internal LAN (e.g. 192.168.1.98&lt;br /&gt;&lt;br /&gt;; in the example below).&lt;br /&gt;&lt;br /&gt;[global]&lt;br /&gt;&lt;br /&gt;; listen-addr = 192.168.1.98&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;; requires openswan-2.5.18 or higher - Also does not yet work in combination&lt;br /&gt;&lt;br /&gt;; with kernel mode l2tp as present in linux 2.6.23+&lt;br /&gt;&lt;br /&gt;; ipsec saref = yes&lt;br /&gt;&lt;br /&gt;; forceuserspace = yes&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;; debug tunnel = yes&lt;br /&gt;&lt;br /&gt;; L2TP Network Server configuration.&lt;br /&gt;&lt;br /&gt;[lns default]&lt;br /&gt;&lt;br /&gt;ip range = 10.10.10.2-10.10.10.254&lt;br /&gt;&lt;br /&gt;local ip = 10.10.10.1&lt;br /&gt;&lt;br /&gt;; Always use CHAP instead of PAP, it will provide you a little security&lt;br /&gt;&lt;br /&gt;; with L2TP (without IPsec).&lt;br /&gt;&lt;br /&gt;require chap = yes&lt;br /&gt;&lt;br /&gt;refuse pap = yes&lt;br /&gt;&lt;br /&gt;require authentication = yes&lt;br /&gt;&lt;br /&gt;name = LinuxVPNserver&lt;br /&gt;&lt;br /&gt;ppp debug = yes&lt;br /&gt;&lt;br /&gt;; PPP option file name, it may use /etc/ppp/options by default, if you comment this&lt;br /&gt;&lt;br /&gt;pppoptfile = /etc/ppp/options.xl2tpd&lt;br /&gt;&lt;br /&gt;length bit = yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You can modify this file according to your requirement. The entire configuration is completed from xl2tp side, now time to configure the PPP parameters.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;options.xl2tpd&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;First of all, create a file named /etc/ppp/options.xl2tpd (option file name written in xl2tpd.conf file) with following entries.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;ipcp-accept-localipcp-accept-remote&lt;br /&gt;&lt;br /&gt;ms-dns 192.168.22.240&lt;br /&gt;&lt;br /&gt;ms-wins 192.168.22.240&lt;br /&gt;&lt;br /&gt;noccp&lt;br /&gt;&lt;br /&gt;auth&lt;br /&gt;&lt;br /&gt;crtscts&lt;br /&gt;&lt;br /&gt;idle 1800&lt;br /&gt;&lt;br /&gt;mtu 1410&lt;br /&gt;&lt;br /&gt;mru 1410&lt;br /&gt;&lt;br /&gt;defaultroute&lt;br /&gt;&lt;br /&gt;debug&lt;br /&gt;&lt;br /&gt;lock&lt;br /&gt;&lt;br /&gt;proxyarp&lt;br /&gt;&lt;br /&gt;connect-delay 5000&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You can change your dns &amp;amp; wins server IP address in the file. You can also add some other parameters that are supported by your pppd, like require-mschap-v2, see the man page of your pppd.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;chap-secrets&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Put your authentication on /etc/ppp/chap-secrets file.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;# Secrets for authentication using CHAP# client server secret IP addresses&lt;br /&gt;&lt;br /&gt;"username" "*" "password" "10.10.10.2"&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The IP address field is showing the remote tunnel static IP address. You can assign the dynamic IP addresses also by using radius server &amp;amp; dhcp-pppd plugin etc. But I don’t know what is the easiest method to do this &amp;amp; how to. Also my requirement is completed by using static IP address. But I want to know its other methods also. Anyone, who can put some light on this, please writes.&lt;br /&gt;&lt;br /&gt;Same chap-secrets file can be used, if you are using mschap protocol in option file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;Running xl2tpd&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After doing the entire above configuration, you can start xl2tpd. Give the following command.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;xl2tpd -D&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;strong&gt;-D&lt;/strong&gt; option is opening the debug of xl2tpd. It is recommended to start the application in debugging mode at first time (during testing time). Remove &lt;strong&gt;–D&lt;/strong&gt; option to stop the debugs.&lt;br /&gt;&lt;br /&gt;When you try to run xl2tpd, it will show you a error for /var/run/xl2tpd/l2tp-control not found. This l2tp-control file can be extracted from rp-l2tpd application. Or you can compile the xl2tpd properly, may be it will gives you the l2tp-control binary. You can also try this by creating a blank non-binary file by using touch command (I didn’t try this, it’s just a silly ideaJ).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="TEXT-DECORATION: underline"&gt;Download &amp;amp; compile rp-l2tpd to get the l2tp-control&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To download the rp-l2tpd go to &lt;a href="http://sourceforge.net/projects/rp-l2tp/"&gt;http://sourceforge.net/projects/rp-l2tp/&lt;/a&gt;. Compile the application by following commands.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# tar -xvf rp-l2tpd-0.4.tar.gzroot@rahul-pc~# cd rp-l2tpd-0.4&lt;br /&gt;&lt;br /&gt;root@rahul-pc~# ./configure&lt;br /&gt;&lt;br /&gt;root@rahul-pc~# make&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;After successful compilation you can copy the &lt;strong&gt;l2tp-control&lt;/strong&gt; binary to /usr/local/sbin/ directory.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# cp handlers/l2tp-control /usr/local/sbin/&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Create the soft-link of control file to /var/run/xl2tpd/ directory.&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="0"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="638"&gt;root@rahul-pc~# mkdir /var/run/xl2tpd/root@rahul-pc~# ln -s /usr/local/sbin/l2tp-control /var/run/xl2tpd/l2tp-control&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now you can start the xl2tpd tunneling server by giving the above commands. It will start &amp;amp; work perfectly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530258360787846571-7863575298954030936?l=secureyourlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secureyourlinux.blogspot.com/feeds/7863575298954030936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=530258360787846571&amp;postID=7863575298954030936' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/7863575298954030936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/7863575298954030936'/><link rel='alternate' type='text/html' href='http://secureyourlinux.blogspot.com/2009/07/l2tp-vpn-without-ipsec-how-to.html' title='L2TP VPN using xl2tpd'/><author><name>Rahul Panwar</name><uri>http://www.blogger.com/profile/17689688846398284532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530258360787846571.post-726718131723293656</id><published>2009-06-14T18:08:00.029+05:30</published><updated>2009-08-03T01:10:31.841+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='LDAP'/><category scheme='http://www.blogger.com/atom/ns#' term='slapd.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='LDAP Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenLDAP'/><category scheme='http://www.blogger.com/atom/ns#' term='LDAP Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenLDAP Howto'/><title type='text'>LDAP (Lightweight Directory Access Protocol) How to</title><content type='html'>&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;What is LDAP?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;I am not going to define LDAP very deeply. Simply, it is a lightweight version of Directory Access Protocol (DAP), which is a part of X.500, a standard for directory service in a network.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;Overview&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;LDAP can be used for different purposes. Some people use it for maintaining their centralized email address book, for building the domains, for authentication of users from centralized database, for querying and modifying the other directory services etc.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;I am using the LDAP for building a centralized authentication database, where all remote users can authenticate.&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bO7s_IZ3xSA/Sji6F5ZX-nI/AAAAAAAAADI/BNn0NKImPGw/s1600-h/LDAP.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 280px; DISPLAY: block; HEIGHT: 400px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5348229167971826290" border="0" alt="" src="http://1.bp.blogspot.com/_bO7s_IZ3xSA/Sji6F5ZX-nI/AAAAAAAAADI/BNn0NKImPGw/s400/LDAP.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;A LDAP client connects the server by using TCP port 389. It sends the authentication request &amp;amp; the server sends the responses in return after authenticating the username. But all these communication is unsecured; we can secure this communication by using TLS with LDAP. The default port for the secure LDAP communication is 636. It is denoted as &lt;b&gt;ldaps&lt;/b&gt; in URL schemes.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;For more theory on LDAP you can visit &lt;a href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol"&gt;LDAP wiki&lt;/a&gt;. Time for some practical.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;OpenLDAP&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;I use &lt;b&gt;openLDAP&lt;/b&gt; open source application for LDAP implementation. To download the latest versions of this application go to &lt;a href="http://www.openldap.org/software/download/"&gt;http://www.openldap.org/software/download/&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;Installation&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;So many people like to use GUI &amp;amp; CUI tools to download &amp;amp; install the openLDAP package directly from the internet like &lt;b&gt;yum&lt;/b&gt; in Fedora/Centos, &lt;b&gt;apt&lt;/b&gt; in Debian and &lt;b&gt;Add/Remove Package&lt;/b&gt; in Fedora or Redhat. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;But I prefer to download the source package and install it manually. Manual process can be used to load the package on embedded application also but the GUI &amp;amp; some CUI tools can create so many problems while loading.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;?xml:namespace prefix = u4 /&gt;&lt;u4:p style="FONT-FAMILY: lucida grande"&gt;&lt;/u4:p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;u4:p&gt;&lt;/u4:p&gt;After downloading the &lt;b&gt;openLDAP &lt;/b&gt;package, install it by following commands:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# tar –xvf openldap-VERSION.tgz&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# cd openldap-VERSION&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]#./configure&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# make depend&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# make&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# make test&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# make install&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;During installation of any open source package in Linux there may be some dependencies, but I didn’t find any dependency for &lt;b&gt;openLDAP&lt;/b&gt; with my O.S. (I was using Fedora core 8).&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;LDAP Server Configuration&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;b&gt;&lt;u4:p&gt;&lt;/u4:p&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;After finishing the installation of &lt;b&gt;openldap&lt;/b&gt; package, configure the &lt;b&gt;sldap.conf&lt;/b&gt; file in &lt;b&gt;/usr/local/etc/openldap/ &lt;/b&gt;directory. If you used the rpm or deb package for the installation then your &lt;b&gt;slapd.conf &lt;/b&gt;file location may be changed to &lt;b&gt;/etc/openldap/&lt;/b&gt; directory. But that’s not a big problem; you can give the path of your configuration file during the initialization of service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;Before starting the &lt;b&gt;sldap.conf&lt;/b&gt; file configuration, create the LDAP “root” user password. It can be created only by root, by giving the following command.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# slappasswd&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;New password:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;Re-enter new password:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;{SSHA}oph6+eOAY0S1zDzugZjQ0AGxs9FFfhrV&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;u4:p style="FONT-FAMILY: lucida grande"&gt;&lt;/u4:p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;The above output is required to add in &lt;b&gt;sldap.conf&lt;/b&gt; file.Edit the file &lt;b&gt;sldap.conf&lt;/b&gt; and change the following things in the file for our scenario:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;database bdb&lt;br /&gt;suffix "dc=coral,dc=com"&lt;br /&gt;rootdn "cn=Manager,dc=coral,dc=com"&lt;br /&gt;rootpw {SSHA}oph6+eOAY0S1zDzugZjQ0AGxs9FFfhrV&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;u4:p&gt;&lt;/u4:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;/p&gt;Check the path of LDAP database directory in configuration file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;directory /usr/local/var/openldap-data&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;Now you can start the &lt;b&gt;sldapd&lt;/b&gt; service, by giving the following command:&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# /usr/local/libexec/slapd –d 1&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;b&gt;&lt;u4:p&gt;&lt;/u4:p&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;b&gt;Note:&lt;/b&gt; “-d 1” option is used for full debugging, to test any problem in &lt;b&gt;sldapd&lt;/b&gt; service. Debugging mode is very helpful to diagnose the problem, if any, comes on further steps.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;After starting the &lt;b&gt;sldapd&lt;/b&gt; service, you can convert the local users of server to LDAP users. In order to import all local user to LDAP or selected users to LDAP, you must convert the user info file (&lt;b&gt;/etc/passwd&lt;/b&gt;) to the ldif (LDAP Data Interchange Files). You can do this by using &lt;b&gt;migrate_passwd.pl&lt;/b&gt; script with &lt;b&gt;openldap &lt;/b&gt;package. But if you are using source package to install the openldap, then you need to download this script from the given link.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;a href="http://www.padl.com/download/MigrationTools.tar.gz"&gt;http://www.padl.com/download/MigrationTools.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-alt:"ＭＳ 明朝"; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Cambria; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face 	{font-family:"\@MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"MS Mincho"; 	mso-fareast-language:JA;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;To create &lt;b&gt;ldif&lt;/b&gt; file follow the steps given below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;In first step Change the &lt;b&gt;dn&lt;/b&gt; entry from &lt;b&gt;migrate_common.ph&lt;/b&gt; to suite your setup. Default &lt;b&gt;dn &lt;/b&gt;is &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:+0;"&gt;dc=padl,dc=com&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:+0;"&gt; &amp;amp; you need to change the word &lt;b&gt;padl &lt;/b&gt;with word &lt;b&gt;coral (&lt;/b&gt;my&lt;b&gt; dn &lt;/b&gt;entry in &lt;b&gt;sldapd.conf&lt;/b&gt; file&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@rahul-pc~]# ./migrate_passwd.pl /etc/passwd /etc/openldap/ldapuser.ldif&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10ptfont-family:lucida grande;" class="MsoNormal" &gt;&lt;span style="LINE-HEIGHT: 115%;font-size:10;" &gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;The &lt;b&gt;ldif&lt;/b&gt; file looks something like this&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;dn: uid=root,ou=People,dc=example,dc=com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;uid: root&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;cn: root&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;You also need to change the &lt;b&gt;cn: root &lt;/b&gt;to&lt;b&gt; cn:Manager &lt;/b&gt;in the &lt;b&gt;ldif &lt;/b&gt;file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;Next, you have to create a &lt;b&gt;*.ldif&lt;/b&gt; file for our domain name “&lt;b&gt;coral.com”.&lt;/b&gt; This can be done by creating a file named &lt;b&gt;“coral.com.ldif”&lt;/b&gt; with following entries or use some example file with the package.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;dn: dc=coral,dc=com&lt;br /&gt;dc: coral&lt;br /&gt;description: Root LDAP entry for coral.com&lt;br /&gt;objectClass: dcObject&lt;br /&gt;objectClass: organizationalUnit&lt;br /&gt;ou: rootobject&lt;br /&gt;&lt;br /&gt;dn: ou=People, dc=coral,dc=com&lt;br /&gt;ou: People description: All people in organization&lt;br /&gt;objectClass: organizationalUnit&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;NOTE:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt; Two &lt;b&gt;dn&lt;/b&gt; entries must be separated with one blank line, otherwise it can show some during the import process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;Now the only step left is to import the &lt;b&gt;ldif&lt;/b&gt; file to LDAP. First you need to import the domain info (coral.com.ldif) &amp;amp; than user info (ldapusers.ldif). This is done as shown below, first domain info.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[root@rahul-pc~]# ldapadd -x -D "cn=Manager,dc=coral,dc=com" -W -f /etc/openldap/coral.com.ldif&lt;br /&gt;Enter LDAP Password:&lt;br /&gt;adding new entry "dc=coral,dc=com"&lt;br /&gt;&lt;br /&gt;adding new entry "ou=People, dc=coral,dc=com"&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:+0;"&gt;and user info&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[root@rahul-pc~]# ldapadd -x -D "cn=Manager,dc=coral,dc=com" -W -f /etc/openldap/ldapusers.ldif&lt;br /&gt;Enter LDAP Password:&lt;br /&gt;adding new entry "uid=naruto,ou=People,dc=coral,dc=com"&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal" face="lucida grande"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;span style="font-size:+0;"&gt;The LDAP is now configured &amp;amp; running. Now time to configure the LDAP client.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link style="FONT-FAMILY: lucida grande" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link style="FONT-FAMILY: lucida grande" rel="themeData" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link style="FONT-FAMILY: lucida grande" rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-alt:"ＭＳ 明朝"; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Cambria; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face 	{font-family:"\@MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"MS Mincho"; 	mso-fareast-language:JA;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;br /&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;LDAP Client Configuration&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;span style="font-size:+0;"&gt;To configure the client machine you can use the tools &lt;b&gt;authconfig-tui&lt;/b&gt; (GUI type) or authconfig (Console based). To use &lt;b&gt;authconfig-tui&lt;/b&gt; give the following command&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@ldap-client~]# env LANG=C authconfig-tui&lt;/span&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;br /&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;span style="font-size:+0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10ptfont-family:lucida grande;" class="MsoNormal" &gt;&lt;b&gt;&lt;span style="font-size:+0;"&gt;NOTE: “env LANG=C”&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt; parameter is used to avoid the jumbled output because of our command line shell’s language incompatibility.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10ptfont-family:lucida grande;" class="MsoNormal" &gt;&lt;span style="font-size:+0;"&gt;After this command following screen will appear:&lt;/span&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal" face="lucida grande"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bO7s_IZ3xSA/SjjEPPh_e4I/AAAAAAAAADQ/HUy2MnIWjp4/s1600-h/LDAP-Client1.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 203px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5348240323648650114" border="0" alt="" src="http://2.bp.blogspot.com/_bO7s_IZ3xSA/SjjEPPh_e4I/AAAAAAAAADQ/HUy2MnIWjp4/s400/LDAP-Client1.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; FONT-FAMILY: lucida grande; MARGIN-BOTTOM: 10pt" class="MsoNormal"&gt;&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-alt:"ＭＳ 明朝"; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Cambria; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face 	{font-family:"\@MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"MS Mincho"; 	mso-fareast-language:JA;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;br /&gt;Select &lt;span style="FONT-WEIGHT: bold"&gt;Use LDAP&lt;/span&gt; &amp;amp; then &lt;span style="FONT-WEIGHT: bold"&gt;Next&lt;/span&gt;. It opens the next screen to enter the LDAP server name or IP address, enter the &lt;span style="FONT-WEIGHT: bold"&gt;DN &lt;/span&gt;information &amp;amp; select &lt;span style="FONT-WEIGHT: bold"&gt;OK&lt;/span&gt;.&lt;span style="font-family:';font-size:100%;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; FONT-FAMILY: lucida grande; MARGIN-BOTTOM: 10pt" class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bO7s_IZ3xSA/SjjGOMb8BJI/AAAAAAAAADY/Pxe5lXdNtwA/s1600-h/LDAP-Client2.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 184px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5348242504661337234" border="0" alt="" src="http://3.bp.blogspot.com/_bO7s_IZ3xSA/SjjGOMb8BJI/AAAAAAAAADY/Pxe5lXdNtwA/s400/LDAP-Client2.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; FONT-FAMILY: lucida grande; MARGIN-BOTTOM: 10pt" class="MsoNormal"&gt;&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CRahul%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-alt:"ＭＳ 明朝"; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Cambria; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face 	{font-family:"\@MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4; 	mso-font-charset:128; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-1610612033 1757936891 16 0 131231 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"MS Mincho"; 	mso-fareast-language:JA;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;This wizard will configure your client machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-size:130%;" &gt;Testing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can test this by doing ssh on client machine IP with any ldapusers. You should ensure that the ldapusers, you are using for ssh, are not created on client machine. It will automatically go to LDAP server for authentication and connect to LDAP client.&lt;/span&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;&lt;/span&gt; &lt;p style="LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10pt" class="MsoNormal"&gt;&lt;span style="font-family:';"&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bO7s_IZ3xSA/SjjGOMb8BJI/AAAAAAAAADY/Pxe5lXdNtwA/s1600-h/LDAP-Client2.png"&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="FONT-FAMILY: lucida grande" class="MsoNormal"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530258360787846571-726718131723293656?l=secureyourlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secureyourlinux.blogspot.com/feeds/726718131723293656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=530258360787846571&amp;postID=726718131723293656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/726718131723293656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/726718131723293656'/><link rel='alternate' type='text/html' href='http://secureyourlinux.blogspot.com/2009/06/ldap-lightweight-directory-access.html' title='LDAP (Lightweight Directory Access Protocol) How to'/><author><name>Rahul Panwar</name><uri>http://www.blogger.com/profile/17689688846398284532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bO7s_IZ3xSA/Sji6F5ZX-nI/AAAAAAAAADI/BNn0NKImPGw/s72-c/LDAP.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-530258360787846571.post-6581779205752788173</id><published>2009-06-08T23:27:00.003+05:30</published><updated>2009-08-03T01:11:51.995+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='Howto'/><category scheme='http://www.blogger.com/atom/ns#' term='Network Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Introduction'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Security'/><title type='text'>Introduction to Linux Security</title><content type='html'>This is my first post in this blog. I am going to explore the security features of Linux in this blog. I already created a similar blog, named &lt;a href="http://secureurlinux.blogspot.com/"&gt;http://secureurlinux.blogspot.com&lt;/a&gt;. Same topics you can also find there. But that blog was written by me when i started the study on Linux Security.&lt;br /&gt;And this time i am going to explain each &amp;amp; every topic with my experience. What the problems i faced during the installation &amp;amp; configuration of any security feature, i will try to explain my best.&lt;br /&gt;So keep in touch with my website to get the updated information.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Rahul Panwar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/530258360787846571-6581779205752788173?l=secureyourlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://secureyourlinux.blogspot.com/feeds/6581779205752788173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=530258360787846571&amp;postID=6581779205752788173' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/6581779205752788173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/530258360787846571/posts/default/6581779205752788173'/><link rel='alternate' type='text/html' href='http://secureyourlinux.blogspot.com/2009/06/introduction-to-linux-security.html' title='Introduction to Linux Security'/><author><name>Rahul Panwar</name><uri>http://www.blogger.com/profile/17689688846398284532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
