Issue #11042 has been updated by Jeff McCune.

Status changed from Investigating to Merged - Pending Release
Assignee deleted (Jeff McCune)
Target version changed from 2.7.x to 2.7.20
Branch set to https://github.com/puppetlabs/puppet/pull/1234

# Merged into 2.7.x 3.0.x and master

As [c305a32](https://github.com/puppetlabs/puppet/commit/c305a32)

<pre>
$ git branch --contains c305a32
  2.7.x
  3.0.x
* master
</pre>

This fix will be released in Puppet 2.7.20, 3.0.2 and future major and minor 
releases.

Thank you for the contribution Neil.  If there's anything I can do to help with 
other problems you're facing please let me know.

-Jeff
----------------------------------------
Bug #11042: Inconsistent translation of group names to numbers when creating 
users in ldap
https://projects.puppetlabs.com/issues/11042#change-74877

Author: Neil Hemingway
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: LDAP
Target version: 2.7.20
Affected Puppet version: 2.7.1
Keywords: LDAP provider user group
Branch: https://github.com/puppetlabs/puppet/pull/1234


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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to