<?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 Topic: KBPublisher and Microsoft AD working closer</title>
<link>http://www.kbpublisher.com/forums/</link>
<description>Forum Topic: KBPublisher and Microsoft AD working closer</description>
<language>en</language>
<pubDate>Tue, 06 Jan 2009 14:03:20 +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>

</channel>
</rss>
