<?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 on: PHP LDAP change password page</title>
	<atom:link href="http://www.warden.pl/2009/09/02/php-ldap-change-password-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
	<description>&#34;Idiopathic, from the Latin meaning we&#039;re idiots cause we can&#039;t figure out what&#039;s causing it.&#34; by dr House</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:00:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Greg</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1561</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Sat, 04 Feb 2012 00:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1561</guid>
		<description>I am also getting error Error E100 – Wrong user. I am running Active Directory 2003. I can bind to LDAP anonymously. I cannot figure out if I have the $dn variable set correctly. Any advice is greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I am also getting error Error E100 – Wrong user. I am running Active Directory 2003. I can bind to LDAP anonymously. I cannot figure out if I have the $dn variable set correctly. Any advice is greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlos</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1560</link>
		<dc:creator>carlos</dc:creator>
		<pubDate>Tue, 31 Jan 2012 22:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1560</guid>
		<description>the script works perfectly.</description>
		<content:encoded><![CDATA[<p>the script works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sti</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1556</link>
		<dc:creator>sti</dc:creator>
		<pubDate>Mon, 02 Jan 2012 20:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1556</guid>
		<description>I am also getting error Error E100 - Wrong user. Running the code on a Ubuntu server, but authenticating with a windows server 2003 domain controller. Any ideas or suggestions? 

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>I am also getting error Error E100 &#8211; Wrong user. Running the code on a Ubuntu server, but authenticating with a windows server 2003 domain controller. Any ideas or suggestions? </p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: warden</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1553</link>
		<dc:creator>warden</dc:creator>
		<pubDate>Fri, 11 Nov 2011 21:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1553</guid>
		<description>No, this script is for LDAP only.</description>
		<content:encoded><![CDATA[<p>No, this script is for LDAP only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: warden</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1552</link>
		<dc:creator>warden</dc:creator>
		<pubDate>Fri, 11 Nov 2011 21:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1552</guid>
		<description>You have to configure slapd to that it allows anonymous searching:
Check your slapd.conf for:

access to *
        by dn=&quot;cn=admin,dc=domain,dc=com&quot; write
        by * read

That last line is important.</description>
		<content:encoded><![CDATA[<p>You have to configure slapd to that it allows anonymous searching:<br />
Check your slapd.conf for:</p>
<p>access to *<br />
        by dn=&#8221;cn=admin,dc=domain,dc=com&#8221; write<br />
        by * read</p>
<p>That last line is important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wtc</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1551</link>
		<dc:creator>wtc</dc:creator>
		<pubDate>Fri, 11 Nov 2011 18:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1551</guid>
		<description>Hi, I&#039;m using Mac osx server version of openLDAP. I still cannot change the password and keep getting the result of &quot;E200 - Your password cannot be change, please contact the administrator.&quot; 
Does it have to do with some authentication or what? Or something I need to setup in the server?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m using Mac osx server version of openLDAP. I still cannot change the password and keep getting the result of &#8220;E200 &#8211; Your password cannot be change, please contact the administrator.&#8221;<br />
Does it have to do with some authentication or what? Or something I need to setup in the server?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anh</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1550</link>
		<dc:creator>Anh</dc:creator>
		<pubDate>Wed, 09 Nov 2011 03:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1550</guid>
		<description>Hi,

Can this script change password in other modules? Wemin, for example, allows users to change their password in ldap server and samba module.

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can this script change password in other modules? Wemin, for example, allows users to change their password in ldap server and samba module.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Kozler</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1534</link>
		<dc:creator>Charles Kozler</dc:creator>
		<pubDate>Tue, 11 Oct 2011 19:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1534</guid>
		<description>Hey, nevermind! To resolve I uncommented what was in the default slapd.conf 


# users can authenticate and change their password
access to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdMustChange,sambaPwdLastSet
        by self write
        by anonymous auth
        by * none


Which actually led to LDAP failing to authenticate any users so I had to also uncomment the next part


## all others attributes are readable to everybody
access to *
        by * read


I guess if you have everything commented out it assumes some default ACL behavior but if you uncomment one thing, it only uses what is explicitly there.

Thanks again for the wonderful script!</description>
		<content:encoded><![CDATA[<p>Hey, nevermind! To resolve I uncommented what was in the default slapd.conf </p>
<p># users can authenticate and change their password<br />
access to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdMustChange,sambaPwdLastSet<br />
        by self write<br />
        by anonymous auth<br />
        by * none</p>
<p>Which actually led to LDAP failing to authenticate any users so I had to also uncomment the next part</p>
<p>## all others attributes are readable to everybody<br />
access to *<br />
        by * read</p>
<p>I guess if you have everything commented out it assumes some default ACL behavior but if you uncomment one thing, it only uses what is explicitly there.</p>
<p>Thanks again for the wonderful script!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Kozler</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1533</link>
		<dc:creator>Charles Kozler</dc:creator>
		<pubDate>Tue, 11 Oct 2011 19:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1533</guid>
		<description>Hi,

First off, thank you very much for this! I was able to get it running but fail at changing the actual password.  I can confirm that users can change their passwords but usually only when they are logged in to the Windows PC- a little background: I have Samba PDC + OpenLDAP and I have noticed that users can only change their passwords when they are logged in to the PC and pressing Ctrl+Alt+Del so I am wondering if it is an ACL issue? I saw something above but the last time I messed with ACL&#039;s I nearly broke the entire LDAP Domain system by doing so- that said, any help you could give me to get debug this issue further would be great (eg: some variables to tune the debugging, etc)- I can probably work through most of it since I am pretty well versed in PHP but have never messed with the LDAP libraries for it.

Thanks again</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First off, thank you very much for this! I was able to get it running but fail at changing the actual password.  I can confirm that users can change their passwords but usually only when they are logged in to the Windows PC- a little background: I have Samba PDC + OpenLDAP and I have noticed that users can only change their passwords when they are logged in to the PC and pressing Ctrl+Alt+Del so I am wondering if it is an ACL issue? I saw something above but the last time I messed with ACL&#8217;s I nearly broke the entire LDAP Domain system by doing so- that said, any help you could give me to get debug this issue further would be great (eg: some variables to tune the debugging, etc)- I can probably work through most of it since I am pretty well versed in PHP but have never messed with the LDAP libraries for it.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.warden.pl/2009/09/02/php-ldap-change-password-page/#comment-1520</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 20 Jul 2011 21:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.radek.org.pl/?p=149#comment-1520</guid>
		<description>Just wanted to drop yet another note to say thanks.  Plugged it into our intranet and works like a charm!</description>
		<content:encoded><![CDATA[<p>Just wanted to drop yet another note to say thanks.  Plugged it into our intranet and works like a charm!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

