Issue #1521 has been updated by luke.

Status changed from Accepted to Ready for Checkin
Assigned to changed from luke to jamtur01

Fixed in the tickets/0.24.x/1521 branch in my repo.

I didn't use this diff because it's not an actual patch and it doesn't take 
into account the behaviour when the user/pass aren't set.
----------------------------------------
Bug #1521: ldapuser and ldappassword options being ignored
http://projects.reductivelabs.com/issues/show/1521

Author: corey
Status: Ready for Checkin
Priority: Normal
Assigned to: jamtur01
Category: LDAP
Target version: 0.24.6
Complexity: Trivial
Affected version: 0.24.5
Keywords: 


I am attempting to use LDAP nodes using an LDAP server that requires 
authentication.  This fails because the ldapuser and ldappassword config 
options aren't being passed to Puppet::Util::Ldap::Connection.new.  Simple 
patch:

<pre>
--- /usr/src/puppet-0.24.5/lib/puppet/util/ldap/connection.rb   2008-07-08 
23:46:19.000000000 +1000
+++ /usr/lib/ruby/1.8/puppet/util/ldap/connection.rb    2008-08-19 
17:45:07.964454296 +1000
@@ -17,7 +17,7 @@
               else
                   false
               end
-        new(Puppet[:ldapserver], Puppet[:ldapport], :ssl => ssl)
+        new(Puppet[:ldapserver], Puppet[:ldapport], :ssl => ssl, :user => 
Puppet[:ldapuser], :password => Puppet[:ldappassword] )
     end

     def close

</pre>


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to