Issue #2353 has been updated by Luke Kanies. Category set to LDAP Status changed from Unreviewed to Accepted
---------------------------------------- Feature #2353: Make LDAP base filter configurable http://projects.reductivelabs.com/issues/2353 Author: S H Status: Accepted Priority: Normal Assigned to: Category: LDAP Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: The LDAP base filter is hardcoded in puppet/lib/puppet/indirector/node/ldap.rb to always include "objectclass=puppetClient": <pre> 49 def search(request) 50 if classes = request.options[:class] 51 classes = [classes] unless classes.is_a?(Array) 52 filter = "(&(objectclass=puppetClient)(puppetclass=" + classes.join(")(puppetclass=") + "))" 53 else 54 filter = "(objectclass=puppetClient)" 55 end 56 57 infos = [] 58 ldapsearch(filter) { |entry| infos << entry2hash(entry) } 59 60 return infos.collect do |info| 61 info2node(info[:name], info) 62 end 63 end </pre> This makes it difficult to integrate Puppet's LDAPNode support into an existing directory structure. Making this base filter configurable would help a lot. -- 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 -~----------~----~----~----~------~----~------~--~---
