diff options
| author | Luke Kanies <luke@madstop.com> | 2008-07-07 10:46:16 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-07-07 10:46:16 -0500 |
| commit | 0922c3b0217e1723e1dfc968a7c8de2860361369 (patch) | |
| tree | eb5e8ac926d613ffd0dbe747aa815b54bd7e5984 /lib | |
| parent | 81be1c5c3f85f514505e99fab5b8a2b2ae6fbec8 (diff) | |
| download | puppet-0922c3b0217e1723e1dfc968a7c8de2860361369.tar.gz puppet-0922c3b0217e1723e1dfc968a7c8de2860361369.tar.xz puppet-0922c3b0217e1723e1dfc968a7c8de2860361369.zip | |
Fixed #1399 - the ldap user provider knows it can manage passwords.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/provider/user/ldap.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/provider/user/ldap.rb b/lib/puppet/provider/user/ldap.rb index 0d149ac9a..57f926da8 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, |
