Issue #1521 has been reported by corey.

----------------------------------------
Bug #1521: ldapuser and ldappassword options being ignored
http://reductivelabs.com/redmine/issues/show/1521

Author: corey
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
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