<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Forum Tag: ldap</title>
<link>http://www.kbpublisher.com/forums/</link>
<description>Forum Tag: ldap</description>
<language>en</language>
<pubDate>Wed, 19 Nov 2008 11:53:09 +0000</pubDate>

<item>
<title>onesign on "KBPublisher and Microsoft AD working closer"</title>
<link>http://www.kbpublisher.com/forums/topic/kpblusher-and-microsoft-ad-working-closer#post-104</link>
<pubDate>Fri, 18 Apr 2008 18:36:10 +0000</pubDate>
<dc:creator>onesign</dc:creator>
<guid isPermaLink="false">104@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;It is possible.&#60;br /&#62;
You have to create all required roles and privileges in KBPublisher.&#60;/p&#62;
&#60;p&#62;When remote user authenticates you need to know his/her privilege and role&#60;br /&#62;
and associate it with privilege and role defined in KBPublisher.&#60;/p&#62;
&#60;p&#62;Quick example:&#60;/p&#62;
&#60;pre&#62;
function remoteDoAuth($username, $password) {

	// LDAP routine, return user data if authenticated
	$user = getLdapUser($username, $password);

	// if found
	if($user) { 

		// assign a priv to user (optional)
		// here we should associate LDAP priv with KBPublisher priv
		if($user['ldap_priv']) {
			$user['priv_id'] = 3; // 3 is id for KBPublisher priv
		}

		// assign a role to user (optional)
		// here we should associate LDAP role with KBPublisher role
		if($user['ldap_priv']) {
			$user['role_id'] = 1; // 1 is id for KBPublisher role
		}
	}

	return $user;
}
&#60;/pre&#62;</description>
</item>
<item>
<title>gwoodslatrobeeduau on "KBPublisher and Microsoft AD working closer"</title>
<link>http://www.kbpublisher.com/forums/topic/kpblusher-and-microsoft-ad-working-closer#post-102</link>
<pubDate>Thu, 17 Apr 2008 23:43:27 +0000</pubDate>
<dc:creator>gwoodslatrobeeduau</dc:creator>
<guid isPermaLink="false">102@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;Would it be possible for Roles to be created in KBPUblisher that were actually the names of AD groups and when a user authenticates into KBPublisher, KBpublisher checks which group they belong. ie we have Ad groups created with names such as KBPublisher-Staff, KBPublisher-Students etc.&#60;/p&#62;
&#60;p&#62;It would also be great if the same could be done with Privileges. ie we have Ad groups created with names such as KBPublisher-Admin, KBPublisher-Moderator etc.
&#60;/p&#62;</description>
</item>
<item>
<title>isaaclesc on "lost on the ldap functions"</title>
<link>http://www.kbpublisher.com/forums/topic/lost-on-the-ldap-functions#post-97</link>
<pubDate>Tue, 15 Apr 2008 16:02:28 +0000</pubDate>
<dc:creator>isaaclesc</dc:creator>
<guid isPermaLink="false">97@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;Has anyone gotten this to work, whether with Active Directory or some other LDAP? If so, would you be willing to post your doRemoteAuth?
&#60;/p&#62;</description>
</item>
<item>
<title>onesign on "lost on the ldap functions"</title>
<link>http://www.kbpublisher.com/forums/topic/lost-on-the-ldap-functions#post-28</link>
<pubDate>Thu, 20 Mar 2008 16:15:08 +0000</pubDate>
<dc:creator>onesign</dc:creator>
<guid isPermaLink="false">28@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;It may be helpful&#60;br /&#62;
&#60;a href=&#34;http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part-1/&#34; rel=&#34;nofollow&#34;&#62;http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part-1/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.developer.com/lang/php/article.php/3100951&#34; rel=&#34;nofollow&#34;&#62;http://www.developer.com/lang/php/article.php/3100951&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jclark on "lost on the ldap functions"</title>
<link>http://www.kbpublisher.com/forums/topic/lost-on-the-ldap-functions#post-24</link>
<pubDate>Wed, 19 Mar 2008 21:18:15 +0000</pubDate>
<dc:creator>jclark</dc:creator>
<guid isPermaLink="false">24@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;Not really all that familiar with PHP...  Any further help with step 1 would be great.
&#60;/p&#62;</description>
</item>
<item>
<title>onesign on "lost on the ldap functions"</title>
<link>http://www.kbpublisher.com/forums/topic/lost-on-the-ldap-functions#post-23</link>
<pubDate>Wed, 19 Mar 2008 20:27:20 +0000</pubDate>
<dc:creator>onesign</dc:creator>
<guid isPermaLink="false">23@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;In short you have to&#60;/p&#62;
&#60;p&#62;1. Create the php script that is able to authenticate your ldap users.&#60;br /&#62;
2. Integrate it with doRemoteAuth
&#60;/p&#62;</description>
</item>
<item>
<title>jclark on "lost on the ldap functions"</title>
<link>http://www.kbpublisher.com/forums/topic/lost-on-the-ldap-functions#post-22</link>
<pubDate>Wed, 19 Mar 2008 17:00:09 +0000</pubDate>
<dc:creator>jclark</dc:creator>
<guid isPermaLink="false">22@http://www.kbpublisher.com/forums/</guid>
<description>&#60;p&#62;I'm completely lost on enabling ldap.  Can anyone provide any help?  I have installed the LDAP function for PHP and it is in my php.ini.  I have modified the config.inc and set that to 1.  I get lost when it comes to modifing the doRemoteAuth php script.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
