Signed-off-by: Luke Kanies <[EMAIL PROTECTED]>
---
 CHANGELOG                        |    3 +++
 lib/puppet/provider/user/ldap.rb |    2 ++
 spec/unit/provider/user/ldap.rb  |    4 ++++
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 1943e37..8d6db19 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,7 @@
 0.24.?
+    Fixed #1399 - the ldap user provider now knows it can manage
+    passwords.
+
     Fixed #1232 - the rundir no longer specifies a user/group,
     and there are now client- and server-specific yaml directories.
 
diff --git a/lib/puppet/provider/user/ldap.rb b/lib/puppet/provider/user/ldap.rb
index 0d149ac..57f926d 100644
--- a/lib/puppet/provider/user/ldap.rb
+++ b/lib/puppet/provider/user/ldap.rb
@@ -14,6 +14,8 @@ Puppet::Type.type(:user).provide :ldap, :parent => 
Puppet::Provider::Ldap do
 
     confine :feature => :ldap, :false => (Puppet[:ldapuser] == "")
 
+    has_feature :manages_passwords
+
     manages(:posixAccount, :person).at("ou=People").named_by(:uid).and.maps 
:name => :uid,
         :password => :userPassword,
         :comment => :cn,
diff --git a/spec/unit/provider/user/ldap.rb b/spec/unit/provider/user/ldap.rb
index 90fc742..5cae61a 100755
--- a/spec/unit/provider/user/ldap.rb
+++ b/spec/unit/provider/user/ldap.rb
@@ -24,6 +24,10 @@ describe provider_class do
         provider_class.manager.rdn.should == :uid
     end
 
+    it "should be able to manage passwords" do
+        provider_class.should be_manages_passwords
+    end
+
     {:name => "uid",
         :password => "userPassword",
         :comment => "cn",
-- 
1.5.3.7


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to