<?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: Victory!  Change Active Directory Password via LDAP through browser</title>
	<atom:link href="http://www.evanhoffman.com/evan/2010/01/13/victory-change-active-directory-password-via-ldap-through-browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evanhoffman.com/evan/2010/01/13/victory-change-active-directory-password-via-ldap-through-browser/</link>
	<description>When 3-nines uptime is just way too much.</description>
	<lastBuildDate>Sun, 05 Sep 2010 23:21:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: evan</title>
		<link>http://www.evanhoffman.com/evan/2010/01/13/victory-change-active-directory-password-via-ldap-through-browser/comment-page-1/#comment-438</link>
		<dc:creator>evan</dc:creator>
		<pubDate>Tue, 30 Mar 2010 18:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=321#comment-438</guid>
		<description>Actually, I tried a bunch of different things and some of them worked &quot;halfway.&quot;  I sent raw LDIF records directly to the AD server and that worked, so I assumed there had to be some way to do it via code, even if it came down to opening a raw socket.  The Perl script I have in use does work though, with the &quot;modify&quot; command.  I think as long as the delete/add takes place in a single transaction (and you provide the old password) it does work.  The problem with PHP, iirc, was that it implemented the delete/add as two separate operations.</description>
		<content:encoded><![CDATA[<p>Actually, I tried a bunch of different things and some of them worked &#8220;halfway.&#8221;  I sent raw LDIF records directly to the AD server and that worked, so I assumed there had to be some way to do it via code, even if it came down to opening a raw socket.  The Perl script I have in use does work though, with the &#8220;modify&#8221; command.  I think as long as the delete/add takes place in a single transaction (and you provide the old password) it does work.  The problem with PHP, iirc, was that it implemented the delete/add as two separate operations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Fried</title>
		<link>http://www.evanhoffman.com/evan/2010/01/13/victory-change-active-directory-password-via-ldap-through-browser/comment-page-1/#comment-437</link>
		<dc:creator>Jason Fried</dc:creator>
		<pubDate>Tue, 30 Mar 2010 18:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=321#comment-437</guid>
		<description>Instead of using  charmap. you can convert the password to UTF16 Little Endian in a simple fashion using just Unicode::String

my $UTF16pass = Unicode::String::utf8(&quot;\&quot;$password\&quot;&quot;)-&gt;utf16le();

Which makes more sense than byte swap.

Does the modify method work for password reset?
I found that i had to use an admin account with replace to get it to work. And most sites I saw said the modify method was broken with Active Directory.</description>
		<content:encoded><![CDATA[<p>Instead of using  charmap. you can convert the password to UTF16 Little Endian in a simple fashion using just Unicode::String</p>
<p>my $UTF16pass = Unicode::String::utf8(&#8220;\&#8221;$password\&#8221;")-&gt;utf16le();</p>
<p>Which makes more sense than byte swap.</p>
<p>Does the modify method work for password reset?<br />
I found that i had to use an admin account with replace to get it to work. And most sites I saw said the modify method was broken with Active Directory.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
