Issue #11042 has been updated by Neil Hemingway.
My two options are: 1. https://github.com/nhemingway/puppet/commit/28715fa0f2448ec4c8498d5a063766a1c2ccb969 1. https://github.com/nhemingway/puppet/commit/89f97a9d37352ec6a6901745c5eae149b49568ec ---------------------------------------- Bug #11042: Inconsistent translation of group names to numbers when creating users in ldap https://projects.puppetlabs.com/issues/11042 Author: Neil Hemingway Status: Unreviewed Priority: Normal Assignee: Neil Hemingway Category: LDAP Target version: 2.7.x Affected Puppet version: 2.7.1 Keywords: LDAP provider user group Branch: Puppet::Provider::User::Ldap translates group names to numbers when modifying an existing user (using gid=), but not when creating a new one. I believe this to be because gid= is not called when creating a new user due to the prefetch approach. I have a couple of options for patches both of which seem to achieve the correct result, but (being new to the internals of puppet), I'm not sure whether I've "fixed" the problem in the best place, or whether there is somewhere more appropriate. I've cloned the repo and will be pushing my patches to github under two different branches for you to compare/comment/rip to shreds/suggest improvements etc. -- 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://projects.puppetlabs.com/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.
