<?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>We Eat Bricks :: Web Development Blog &#187; LDAP</title>
	<atom:link href="http://weeatbricks.com/category/ldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://weeatbricks.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 23 May 2010 12:08:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create a Staff Directory webpage using PHP and LDAP</title>
		<link>http://weeatbricks.com/2007/07/25/create-a-staff-directory-webpage-using-php-and-ldap-2/</link>
		<comments>http://weeatbricks.com/2007/07/25/create-a-staff-directory-webpage-using-php-and-ldap-2/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 21:18:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Intranet]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.weeatbricks.com/?p=39</guid>
		<description><![CDATA[Here&#8217;s the scenario:
We use LDAP to store the information on staff such as names, usernames, email addresses, telephone numbers, photos, passwords etc.
We want a webpage the displays up to date details off all the staff in our organisation. We would like to dynamically extract the information about the staff from our existing LDAP database and [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the scenario:</p>
<p>We use <a href="en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP </a>to store the information on staff such as names, usernames, email addresses, telephone numbers, photos, passwords etc.</p>
<p>We want a webpage the displays up to date details off all the staff in our organisation. We would like to dynamically extract the information about the staff from our existing LDAP database and present it  as a webpage on our intranet.</p>
<p>1. Download the scripts I&#8217;ve written <a href="http://www.weeatbricks.com/downloads/LDAPStaffDirectory.rar">here</a> and extract them to a directory on your Intranet server or somewhere suitable.</p>
<p>EG. http://intranet/StaffDirectory/</p>
<p>2. Configure the script.</p>
<p>Enter you LDAP hostname and distinguished name.<br />Users have previously created using the inetOrgPerson LDAP object Class. This gives us attributes to use such as displayName, mail, telephoneNumber and jpegPhoto.</p>
<p>We enter the LDAP atrributes we wish to extract into the $params array below.</p>
<p class="code"> $ip = &#8220;your_ldap_hostname&#8221;;<br />$dn = &#8220;dc=example,dc=org&#8221;;<br />$params = array( &#8220;displayName&#8221;, &#8220;mail&#8221;, &#8220;telephoneNumber&#8221;, &#8220;jpegPhoto&#8221;);</p>
<p>3. Browse to http://intranet/StaffDirectory/index.php to view all the the details of you staff members.</p>
]]></content:encoded>
			<wfw:commentRss>http://weeatbricks.com/2007/07/25/create-a-staff-directory-webpage-using-php-and-ldap-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
