<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux and Open Source Blog &#187; guides</title>
	<atom:link href="http://linewbie.com/tag/guides/feed" rel="self" type="application/rss+xml" />
	<link>http://linewbie.com</link>
	<description>News, Reviews, Thoughts and Trends in Linux and Open Source World.</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Configure OpenLDAP + Samba Domain Controller On Ubuntu 7.10</title>
		<link>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configure-openldap-samba-domain-controller-on-ubuntu-710</link>
		<comments>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html#comments</comments>
		<pubDate>Mon, 07 Jan 2008 05:09:30 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[debian/ubuntu based]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html</guid>
		<description><![CDATA[Preface This document is a step by step guide for configuring Ubuntu 7.10 as a Samba Domain Controller with an LDAP backend (OpenLDAP). The point is to configure a server that can be comparable, from a central authentication point of &#8230; <a href="http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Preface</h3>
<p>This document is a step by step guide for configuring Ubuntu 7.10 as a Samba Domain Controller with an LDAP backend (OpenLDAP). The point is to configure a server that can be comparable, from a central authentication point of view, to a Windows Server 2003 Domain Controller. The end result will be a server with an LDAP directory for storing user, group, and computer accounts. A Windows XP Professional SP2 workstation will be able to join the domain once properly configured. Please note that you do not have a fully comparable Windows domain controller at this time. Do not kid yourself, this guide only gets you a server with LDAP authentication. Of course this can be expanded to include slave servers to spread out authentication over multiple networks. Please also note that it took me approximately two and a half weeks to compile this information and get it working. The same functionality can be had in Windows in less than four hours (and this includes operating system installation). In my humble opinion the open source community will need to work on this side of Linux in order for it to be a true alternative to Windows.</p>
<p><span id="more-439"></span></p>
<h3>Legal/Warranty/Etc&#8230;</h3>
<p>This document is provided as-is with no implied warranty or agreement. I will not support other systems without compensation. This document is the property of Richard Maloley II. This document may be redistributed, copied, printed, and modified at will, however my name must remain as the original source. Legal action can and will be brought against any and all infractions of the terms.</p>
<h3>Special Items of Interest</h3>
<p>* My hostname during the installation was set to: <span class="system">dc01-ubuntu</span><br />
* My fully qualified domain name will be: <span class="system">dc01-ubuntu.example.local</span><br />
* After the installation my <span class="system">/etc/hostname</span> was changed to: <span class="system">dc01-ubuntu.example.local</span><br />
* After the installation my <span class="system">/etc/hosts</span> was changed so that the line 127.0.1.1 contained &#8220;dc01-ubuntu dc01-ubuntu.example.local&#8221; to ensure no issues with name resolution.<br />
* My LDAP domain is: <span class="system">example.local</span><br />
* This translates to a Base DN of: <span class="system">dc=example,dc=local</span><br />
* All passwords used are &#8220;12345&#8243; to keep things simple.<br />
* I am not using TLS or SSL for my LDAP directory. Too much work for this tutorial.<br />
* The user I created during the installation is: <span class="system">sysadmin</span><br />
* The password I assigned during the installation is: <span class="system">12345</span><br />
* This local user will be used for all configuration purposes.</p>
<h3>Assumptions</h3>
<p>* Ubuntu Server 7.10 is installed.<br />
* No other software was installed during the OS install!<br />
* After installation you enabled all the repositories in <span class="system">/etc/apt/sources.list</span><br />
* You fully updated your system</p>
<p class="command">apt-get update<br />
apt-get upgrade<br />
reboot</p>
<p>* You configured a static IP address. For me I used the following information:</p>
<p class="system">address 192.168.0.60<br />
gateway 192.168.0.1<br />
netmask 255.255.255.0</p>
<p>* You edited your <span class="system">/etc/hosts</span> file so that your hostname and fully qualified domain name are on the line <span class="system">127.0.1.1</span></p>
<pre>127.0.1.1 dc01-ubuntu dc01-ubuntu.example.local</pre>
<p>* You installed the OpenSSH Server.</p>
<p class="command">apt-get install openssh-server</p>
<p>* You did not set a password on the root account. All commands will be run with sudo or by opening a root shell.</p>
<p class="command">sudo bash</p>
<p>* Currently you do not have any other software running nor do you have any other users on the system.</p>
<h3>Step 1: Install WebMin</h3>
<p>We will be installing WebMin. Why? I like to use it to configure some things. This step is techinically optional but I feel as though it greatly simplifies administration of the server in the future.</p>
<p>#	Download the WebMin package from their website.</p>
<p class="command">wget http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin_1.380_all.deb</p>
<p>#	Install pre-requisite software.</p>
<p class="command">apt-get install openssl libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl</p>
<p>#	Install WebMin</p>
<p class="command">dpkg -i webmin_1.380_all.deb</p>
<p>#	If the installation is successful you will see a message similar to this:</p>
<p class="system">&#8220;Webmin install complete. You can now login to https://dc01-ubuntu.example.local:10000/<br />
as root with your root password,<br />
or as any user who can use sudo to run commands as root.&#8221;</p>
<h3> Step 2: Install OpenLDAP</h3>
<p>For our LDAP server we will be using the very flexible OpenLDAP Server (slapd).</p>
<p>#	Install the software.</p>
<p class="command">apt-get install slapd ldap-utils migrationtools</p>
<p>#	Answer the on-screen prompts with:</p>
<p class="system">Admin password: 12345<br />
Confirm password: 12345</p>
<p>#	We need to configure OpenLDAP now.</p>
<p class="command">dpkg-reconfigure slapd</p>
<p>#	Answer the on-screen prompts with:</p>
<p><span class="system">No<br />
DNS domain name: example.local<br />
Name of your organization: example.local<br />
Admin password: 12345<br />
Confirm password: 12345<br />
OK<br />
BDB<br />
No<br />
Yes<br />
No</span></p>
<p>#	Restart OpenLDAP.</p>
<p class="command">/etc/init.d/slapd restart</p>
<h3> Step 3: Install SAMBA</h3>
<p>We will be using SAMBA for some main functions in this tutorial. In order to configure OpenLDAP correctly we must first install SAMBA.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install samba smbldap-tools smbclient samba-doc</p>
<h3>Step 4: Configure OpenLDAP for use with SAMBA</h3>
<p>In order to use LDAP and SAMBA we need to configure the <span class="system">/etc/ldap/slapd.conf</span> file.</p>
<p>#	Copy the samba.schema file to the OpenLDAP schema directory.</p>
<p class="command">cp /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz /etc/ldap/schema/</p>
<p>#	Unzip the file.</p>
<p class="command">gzip -d /etc/ldap/schema/samba.schema.gz</p>
<p>#	Open the /etc/ldap/slapd.conf file for editing.</p>
<p class="command">vim /etc/ldap/slapd.conf</p>
<p>#	Add the following lines to the document where the other &#8220;include&#8221; lines are:</p>
<pre>include         /etc/ldap/schema/samba.schema</pre>
<pre>include         /etc/ldap/schema/misc.schema</pre>
<pre></pre>
<p>#	Change the line:</p>
<pre>access to attribute=userPassword</pre>
<p>#	to:</p>
<pre>access to attrs=userPassword,sambaNTPassword,sambaLMPassword</pre>
<p>#	Restart OpenLDAP:</p>
<p class="command">/etc/init.d/slapd restart</p>
<h3> Step 5: Configure SAMBA</h3>
<p>Now we need to configure SAMBA. This includes configuring the <span class="system">/etc/samba/smb.conf</span> file.</p>
<p>#	Open up the SAMBA directory.</p>
<p class="command">cd /etc/samba/</p>
<p>#	Backup the samba configuration file.</p>
<p class="command">cp smb.conf smb.conf.original</p>
<p>#	Open the samba configuration file for editing.</p>
<p class="command">vim smb.conf</p>
<p>#	Make the following changes throughout the file:</p>
<pre>workgroup = EXAMPLE
security = user
passdb backend = ldapsam:ldap://localhost/
obey pam restrictions = no
#######################################################################
#COPY AND PASTE THE FOLLOWING UNDERNEATH "OBEY PAM RESTRICTIONS = NO"
#######################################################################
#
#	Begin: Custom LDAP Entries
#
ldap admin dn = cn=admin,dc=example,dc=local
ldap suffix = dc=example, dc=local
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
; Do ldap passwd sync
ldap passwd sync = Yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
domain logons = yes
#
#	End: Custom LDAP Entries
#
#####################################################
#STOP COPYING HERE!
#####################################################</pre>
<p>#	Comment out the line:</p>
<p><a href="http://howtoforge.com/subscription"><img src="http://howtoforge.com/themes/htf_glass/images/remove_ads.gif" alt="Remove ads" border="0" /></a></p>
<p><script type="text/javascript"> <!-- document.write('</div>
<p>'); //--> </script></p>
<pre>invalid users = root</pre>
<p>#	Add the following line:</p>
<pre>logon path =</pre>
<p>#	Restart SAMBA.</p>
<p class="command">/etc/init.d/samba restart</p>
<p>#	Give SAMBA the &#8220;admin&#8221; password to the LDAP tree.</p>
<p class="command">smbpasswd -w 12345</p>
<h3> Step 6: Configure the SMBLDAP-TOOLS package.</h3>
<p>We will be using the smbldap-tools package to populate our directory, add users, add workstations, etc&#8230; But, the tools need to be configured first!</p>
<p>#	Open up the examples directory.</p>
<p class="command">cd /usr/share/doc/smbldap-tools/examples/</p>
<p>#	Copy the configuration files to<span class="system"> /etc/smbldap-tools</span>:</p>
<p class="command">cp smbldap_bind.conf /etc/smbldap-tools/<br />
cp smbldap.conf.gz /etc/smbldap-tools/</p>
<p>#	Unzip the configuration file.</p>
<p class="command">gzip -d /etc/smbldap-tools/smbldap.conf.gz</p>
<p>#	Open up the <span class="system">/etc/smbldap-tools</span> directory.</p>
<p class="command">cd /etc/smbldap-tools/</p>
<p>#	Get the SID (Security ID) for your SAMBA domain.</p>
<p class="command">net getlocalsid</p>
<p> This results in (example): SID for domain DC01-UBUNTU is: S-1-5-21-949328747-3404738746-3052206637</p>
<p>#	Open the <span class="system">/etc/smbldap-tools/smbldap.conf</span> file for editing.</p>
<p class="command">vim smbldap.conf</p>
<p>#	Edit the file so that the following information is correct (according to your individual setup):</p>
<pre>SID="S-1-5-21-949328747-3404738746-3052206637" ## This line must have the same SID as when you ran "net getlocalsid"
sambaDomain="EXAMPLE"
ldapTLS="0"
suffix="dc=example,dc=local"
sambaUnixIdPooldn="sambaDomainName=EXAMPLE,${suffix}"
userSmbHome=
userProfile=
userHomeDrive=
userScript=
mailDomain="example.local"</pre>
<p>#	Open the <span class="system">/etc/smbldap-tools/smbldap_bind.conf</span> file for editing.</p>
<p class="command">vim smbldap_bind.conf</p>
<p>#	Edit the file so that the following information is correct (according to your individual setup):</p>
<pre>slaveDN="cn=admin,dc=example,dc=local"
slavePw="12345"
masterDN="cn=admin,dc=example,dc=local"
masterPw="12345"</pre>
<p>#	Set the correct permissions on the above files:</p>
<p class="command">chmod 0644 /etc/smbldap-tools/smbldap.conf<br />
chmod 0600 /etc/smbldap-tools/smbldap_bind.conf</p>
<h3> Step 7: Populate LDAP using smbldap-tools</h3>
<p>Now we need to populate our LDAP directory with some necessary SAMBA and Windows entries.</p>
<p>#	Execute the command to populate the directory.</p>
<p class="command">smbldap-populate -u 30000 -g 30000</p>
<p>#	At the password prompt assign your root password:</p>
<p class="system">12345</p>
<p>#	Verify that the directory has information in it by running the command:</p>
<p class="command">ldapsearch -x -b dc=example,dc=local | less</p>
<h3>Step 8: Add an LDAP user to the system</h3>
<p>It is time for us to add an LDAP user. We will use this user account to verify that LDAP authentication is working.</p>
<p>#	Add the user to LDAP</p>
<p class="command">smbldap-useradd -a -m -M ricky -c &#8220;Richard M&#8221; ricky</p>
<p>#	Here is an explanation of the command switches that we used.</p>
<p class="system">-a allows Windows as well as Linux login<br />
-m makes a home directory, leave this off if you do not need local access<br />
-M sets up the username part of their email address<br />
-c specifies their full name</p>
<p>#	Set the password the new account.</p>
<p class="command">smbldap-passwd ricky<br />
#	Password will be: 12345</p>
<h3> Step 9: Configure the server to use LDAP authentication.</h3>
<p>The basic steps for this section came from the Ubuntu Forums (<a href="http://ubuntuforums.org/showthread.php?t=597056" target="_blank">http://ubuntuforums.org/showthread.php?t=597056</a>). Thanks to all who contributed to that thread! Basically we need to tell our server to use LDAP authentication as one of its options. Be careful with this! It can cause your server to break! This is why we always have a backup around.</p>
<p>#	Install the necessary software for this to work.</p>
<p class="command">apt-get install auth-client-config libpam-ldap libnss-ldap</p>
<p>#	Answer the prompts on your screen with the following:</p>
<p class="system">Should debconf manage LDAP configuration?: Yes<br />
LDAP server Uniform Resource Identifier: ldapi://127.0.0.1<br />
Distinguished name of the search base: dc=example,dc=local<br />
LDAP version to use: 3<br />
Make local root Database admin: Yes<br />
Does the LDAP database require login? No<br />
LDAP account for root: cn=admin,dc=example,dc=local<br />
LDAP root account password: 12345</p>
<p>#	Open the <span class="system">/etc/ldap.conf</span> file for editing.</p>
<p class="command">vim /etc/ldap.conf</p>
<p>#	Configure the following according to your setup:</p>
<pre>host 127.0.0.1
base dc=example,dc=local
uri ldap://127.0.0.1/
rootbinddn cn=admin,dc=example,dc=local
bind_policy soft</pre>
<p>#	Copy the <span class="system">/etc/ldap.conf</span> file to <span class="system">/etc/ldap/ldap.conf</span></p>
<p class="command">cp /etc/ldap.conf /etc/ldap/ldap.conf</p>
<p>#	Create a new file <span class="system">/etc/auth-client-config/profile.d/open_ldap</span>:</p>
<p class="command">vim /etc/auth-client-config/profile.d/open_ldap</p>
<p>#	Insert the following into that new file:</p>
<pre>[open_ldap]
nss_passwd=passwd: compat ldap
nss_group=group: compat ldap
nss_shadow=shadow: compat ldap
pam_auth=auth       required     pam_env.so
 auth       sufficient   pam_unix.so likeauth nullok
 auth       sufficient   pam_ldap.so use_first_pass
 auth       required     pam_deny.so
pam_account=account    sufficient   pam_unix.so
 account    sufficient   pam_ldap.so
 account    required     pam_deny.so
pam_password=password   sufficient   pam_unix.so nullok md5 shadow use_authtok
 password   sufficient   pam_ldap.so use_first_pass
 password   required     pam_deny.so
pam_session=session    required     pam_limits.so
 session    required     pam_mkhomedir.so skel=/etc/skel/
 session    required     pam_unix.so
 session    optional     pam_ldap.so</pre>
<p>#	Backup the <span class="system">/etc/nsswitch.conf</span> file:</p>
<p class="command">cp /etc/nsswitch.conf /etc/nsswitch.conf.original</p>
<p>#	Backup the <span class="system">/etc/pam.d/</span> files:</p>
<p class="command">cd /etc/pam.d/<br />
mkdir bkup<br />
cp * bkup/</p>
<p>#	Enable the new LDAP Authentication Profile by executing the following command:</p>
<p class="command">auth-client-config -a -p open_ldap</p>
<p>#	Reboot the server and test to ensure that you can still log in using SSH and LDAP.</p>
<p class="command">reboot</p>
<h3> Step 10: Install BIND (DNS Server)</h3>
<p>Because we are going to be a domain controller and source for authentication it makes sense to also have some DNS services available. Please note that if you have multiple servers at your disposal it is recommended to install a seperate DNS server as well so we have two to look at.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install bind9</p>
<h3> Step 11: Configure our primary DNS Zone using WebMin</h3>
<p>We now want to create our DNS zone so that we are in charge of it and can make use of it. I prefer using a GUI to do this as opposed to editing the zone files.</p>
<p>In a web browser navigate to: <span class="system">https://192.168.0.60:10000</span> (Please use the IP address that YOU assigned to your server.)<br />
Login as &#8220;sysadmin&#8221; and &#8220;12345&#8243;.<br />
Servers &gt; BIND DNS Server<br />
Under &#8220;Existing DNS Zones&#8221; click &#8220;Create master zone&#8221;.</p>
<p class="system">Zone type: Forward (Names to Addresses)<br />
Domain name / Network: example.local<br />
Records file: Automatic<br />
Master server: dc01-ubuntu.example.local<br />
Email address: sysadmin@example.local</p>
<p>Click &#8220;Create&#8221; button.</p>
<p>Click &#8220;Apply Changes&#8221; button.</p>
<p>Click &#8220;Address (0)&#8221; at the top.</p>
<p class="system">Name: dc01-ubuntu<br />
Address: 192.168.0.60<br />
Click &#8220;Create&#8221; button<br />
Click &#8220;Return to record types&#8221;</p>
<p>Click &#8220;Apply Changes&#8221; button.</p>
<h3> Step 12: Configure the server to use itself for DNS</h3>
<p>DNS doesn&#8217;t do a whole lot of good if we don&#8217;t use it. In this section we point our <span class="system">/etc/resolv.conf</span> file to ourselves. I also recommend leaving in a known working DNS server as the seconday source just in case something screws up. In some of my trials I did notice that the server would hang trying to start BIND9.</p>
<p>#	Open the <span class="system">/etc/resolv.conf</span> file for editing.</p>
<p class="command">vim /etc/resolv.conf</p>
<p>#	Add the following lines to the beginning of the file:</p>
<pre>search example.local
nameserver 192.168.0.60</pre>
<p>#	Reboot the server to ensure that DNS is working correctly.</p>
<p class="command">reboot</p>
<h3> Step 13: Add a workstation account to LDAP</h3>
<p>This tutorial is meant to create an opensource domain for Windows XP Professional client (and Linux clients) to authenticate against. Therefore we will add a workstation account for the Windows XP Professional workstation that we will be joining to the domain.</p>
<p>#	Execute the command:</p>
<p class="command">smbldap-useradd -w client-winxp</p>
<p><strong>* &#8220;client-winxp&#8221; is the hostname of the computer that you will be adding to the domain. This must be very specific!</strong></p>
<h3> Step 14: Configure your Windows XP Professional Client</h3>
<p>Now I will walk you through configuring your Windows XP Professional workstation so that it will join the domain.</p>
<p>#	Assumptions:</p>
<p>* This is a vanilla installation of Windows XP Professional SP2.<br />
* The computer name was set during installation to be: <span class="system">client-winxp</span><br />
* The Administrator password assigned is: <span class="system">12345</span><br />
* All other installation options have been left at their default settings.<br />
* After the installation the following occurred:<br />
* The only user account on the computer in use was &#8220;Administrator&#8221;<br />
* All available Windows Updates were installed.<br />
* A static IP address was assigned with the following information (for my setup only!)</p>
<p><span class="system">IP Address: 192.168.0.61<br />
Gateway: 192.168.0.1<br />
Netmask: 255.255.255.0<br />
DNS: 192.168.0.60<br />
Search domain: example.local</span></p>
<p>#	Join the workstation to the domain.</p>
<p>* Log into the computer as Administrator.<br />
* Right click &#8220;My Computer&#8221; and click &#8220;Properties&#8221;.<br />
* Click the tab &#8220;Computer Name&#8221;.<br />
* Click the button labeled &#8220;Change&#8221;.<br />
* At the bottom click the radial button labeled &#8220;Domain&#8221;.<br />
* In the box type the word &#8220;example&#8221; without quotes!<br />
* Click the &#8220;OK&#8221; button.<br />
* At the password prompt enter &#8220;root&#8221; for the user and &#8220;12345&#8243; for the password (substitute the password for what you assigned to your root user earlier!).</p>
<p>It should say &#8220;Welcome to the example domain.&#8221;<br />
* Click &#8220;OK&#8221;.<br />
* Click &#8220;OK&#8221; again.<br />
* Click &#8220;OK&#8221; again.<br />
Restart the workstation.</p>
<p>#	Log in with your test user (&#8220;ricky&#8221;) from earlier.<br />
Try logging into the Windows XP workstation (after selecting the domain from the drop down box) using our test user. It should work without issue!</p>
<p>#	Notes<br />
Please note that this is basic authentication right now. You&#8217;re on your own if you wish to add logon scripts, mapped drives, etc&#8230;</p>
<h3> Step 15: (Optional) Install Apache2 and PHPLDAPAdmin</h3>
<p>A nice way to view and modify your LDAP tree is with a GUI. PHPLDAPAdmin is one that many people recommend so I will show you how to install it and use it.</p>
<p>#	Install the software.</p>
<p class="command">apt-get install apache2 phpldapadmin</p>
<p>#	Open the file <span class="system">/etc/apache2/httpd.conf</span> for editing:</p>
<p class="command">vim /etc/apache2/httpd.conf</p>
<p>#	Add the following line to the top of the file. This prevents an annoying error message from Apache2.</p>
<pre>ServerName dc01-ubuntu.example.local</pre>
<p>#	Restart Apache2</p>
<p class="command">/etc/init.d/apache2 restart</p>
<p># Copy the PHPLDAPAdmin folder into the main web site directory. This is the lazy way of doing things. This way we don&#8217;t need to create a virtual server, we just access PHPLDAPAdmin by going to: <span class="system">http://192.168.0.60/phpldapadmin/</span></p>
<p class="command">cp -R /usr/share/phpldapadmin/ /var/www/phpldapadmin</p>
<p> There you have it! A full Ubuntu LDAP and SAMBA Domain Controller in 15 easy steps.</p>
<p><script type="text/javascript"> <!-- document.write('</p>
<div align="center">'); //--> </script><!-- BEGIN NetShelter Ad Tag for HowtoForge 300x250,336x280 --></p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

