Sean Millichamp wrote: > The useradd provider can't create/modify/delete users in LDAP but > if LDAP is configured on the host where Puppet is running the > getpwent function used to obtain the list of current users for > the instances method will list both local and LDAP users. > > This causes problems when trying to use the resources metatype to > purge unmanaged resources on an LDAP-enabled system since userdel > will never be able to remove them (even if you wanted it to). > > This patch overrides the NSS-based getpwent call in the inherited > instances method to parse /etc/passwd to ensure all of the > users found for useradd are local regardless of the configuration > in nsswitch.conf.
+1. James -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- 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.
