<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Blog of Alexander Mamchenkov</title>
	<atom:link href="http://alex.mamchenkov.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://alex.mamchenkov.net</link>
	<description>... mammoth cave ...</description>
	<lastBuildDate>Thu, 10 May 2012 07:14:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Wedding by Alexander Mamchenkov</title>
		<link>http://alex.mamchenkov.net/2012/04/24/wedding/comment-page-1/#comment-59083</link>
		<dc:creator>Alexander Mamchenkov</dc:creator>
		<pubDate>Thu, 10 May 2012 07:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=1053#comment-59083</guid>
		<description>Не, мы пряталась ))))</description>
		<content:encoded><![CDATA[<p>Не, мы пряталась ))))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wedding by Galina Ovcharova</title>
		<link>http://alex.mamchenkov.net/2012/04/24/wedding/comment-page-1/#comment-59081</link>
		<dc:creator>Galina Ovcharova</dc:creator>
		<pubDate>Tue, 08 May 2012 14:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=1053#comment-59081</guid>
		<description>Фотки отличные!
А на официальной церемонии был фотограф?</description>
		<content:encoded><![CDATA[<p>Фотки отличные!<br />
А на официальной церемонии был фотограф?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RT3 ActiveDirectory User Attributes Sync by Alexander Mamchenkov</title>
		<link>http://alex.mamchenkov.net/2009/03/14/rt3-activedirectory-user-attributes-sync/comment-page-1/#comment-59079</link>
		<dc:creator>Alexander Mamchenkov</dc:creator>
		<pubDate>Mon, 23 Apr 2012 08:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=285#comment-59079</guid>
		<description>First of all the script above is one way LDAP -&gt; MySQL. Second is that this script does not authenticate users, it is just to get a list of RT users from MySQL, then check LDAP for these users and update MySQL with info from LDAP. This is run by scheduler (cron), not real time.

Normally, in your case, there is a bit of other logic applied. To check from PHP if user supplied correct password for LDAP, you would try to do ldap_bind using the credentials of the user. If bind is successfull - then user gave correct password, so you can let him in the PHP site (for example set appropriate session vars). In addition, you can have a local DB of users and sync it upon login. If ldap_bind was successfull - check if user is in MySQL DB and if no - add him. You can also save his password locally in MySQL (crypted) and make some kind of caching or failover auth if LDAP is down.

So in this scenario you may use a script given in the post to update your MySQL user table with info from LDAP on periodic basis.</description>
		<content:encoded><![CDATA[<p>First of all the script above is one way LDAP -> MySQL. Second is that this script does not authenticate users, it is just to get a list of RT users from MySQL, then check <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> for these users and update MySQL with info from <acronym title="Lightweight Directory Access Protocol">LDAP</acronym>. This is run by scheduler (cron), not real time.</p>
<p>Normally, in your case, there is a bit of other logic applied. To check from <acronym title="Hypertext PreProcessing">PHP</acronym> if user supplied correct password for <acronym title="Lightweight Directory Access Protocol">LDAP</acronym>, you would try to do ldap_bind using the credentials of the user. If bind is successfull &#8211; then user gave correct password, so you can let him in the <acronym title="Hypertext PreProcessing">PHP</acronym> site (for example set appropriate session vars). In addition, you can have a local DB of users and sync it upon login. If ldap_bind was successfull &#8211; check if user is in MySQL DB and if no &#8211; add him. You can also save his password locally in MySQL (crypted) and make some kind of caching or failover auth if <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> is down.</p>
<p>So in this scenario you may use a script given in the post to update your MySQL user table with info from <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> on periodic basis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by Geek Blog Post &#8211; Get Fancybox to work after Ajax update &#124; Wrecked Magazine &#8211; Jason Small</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59078</link>
		<dc:creator>Geek Blog Post &#8211; Get Fancybox to work after Ajax update &#124; Wrecked Magazine &#8211; Jason Small</dc:creator>
		<pubDate>Sat, 21 Apr 2012 02:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59078</guid>
		<description>[...] http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/" rel="nofollow">http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RT3 ActiveDirectory User Attributes Sync by Ray</title>
		<link>http://alex.mamchenkov.net/2009/03/14/rt3-activedirectory-user-attributes-sync/comment-page-1/#comment-59075</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 17 Apr 2012 02:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=285#comment-59075</guid>
		<description>Hello, thank you for this, this is great.  Can you tell me, will this work also when i want users to login to a php based site?

Example, users goto the site, login and in the background, there is LDAP and PHP/MySQL 2 way sync?

If they put in the wrong LDAP pass, they would get an error from LDAP?
Thanks,</description>
		<content:encoded><![CDATA[<p>Hello, thank you for this, this is great.  Can you tell me, will this work also when i want users to login to a <acronym title="Hypertext PreProcessing">PHP</acronym> based site?</p>
<p>Example, users goto the site, login and in the background, there is <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> and <acronym title="Hypertext PreProcessing">PHP</acronym>/MySQL 2 way sync?</p>
<p>If they put in the wrong <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> pass, they would get an error from <acronym title="Lightweight Directory Access Protocol">LDAP</acronym>?<br />
Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by Alexander Mamchenkov</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59067</link>
		<dc:creator>Alexander Mamchenkov</dc:creator>
		<pubDate>Wed, 14 Mar 2012 06:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59067</guid>
		<description>It really took me a while to figure this out as well.</description>
		<content:encoded><![CDATA[<p>It really took me a while to figure this out as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by rosco</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59050</link>
		<dc:creator>rosco</dc:creator>
		<pubDate>Mon, 20 Feb 2012 22:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59050</guid>
		<description>thank you!!!
i took hours to solve my problem, thats the first block I saw which solved my problem. I would never ever thought that it&#039;s a time problem.
Great work!!</description>
		<content:encoded><![CDATA[<p>thank you!!!<br />
i took hours to solve my problem, thats the first block I saw which solved my problem. I would never ever thought that it&#8217;s a time problem.<br />
Great work!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by sketchgal</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59043</link>
		<dc:creator>sketchgal</dc:creator>
		<pubDate>Mon, 16 Jan 2012 21:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59043</guid>
		<description>Genius!!</description>
		<content:encoded><![CDATA[<p>Genius!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by jose</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59028</link>
		<dc:creator>jose</dc:creator>
		<pubDate>Wed, 21 Dec 2011 01:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59028</guid>
		<description>Yeah! I have been working on it for a week it was a combination of my php file and jquery. I just need a guide on how to that&#039;s what you did thanks again.</description>
		<content:encoded><![CDATA[<p>Yeah! I have been working on it for a week it was a combination of my <acronym title="Hypertext PreProcessing">PHP</acronym> file and jquery. I just need a guide on how to that&#8217;s what you did thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery fancybox with ajax by Alexander Mamchenkov</title>
		<link>http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/comment-page-1/#comment-59026</link>
		<dc:creator>Alexander Mamchenkov</dc:creator>
		<pubDate>Tue, 20 Dec 2011 12:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://alex.mamchenkov.net/?p=300#comment-59026</guid>
		<description>I am glad you managed to win over it :)</description>
		<content:encoded><![CDATA[<p>I am glad you managed to win over it :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 9/20 queries in 0.011 seconds using disk: basic
Object Caching 516/528 objects using disk: basic

Served from: alex.mamchenkov.net @ 2012-05-21 16:58:45 -->
