Puppet: System Administration Automated

Support

Ticket #1272 (new defect)

Opened 7 months ago

Ldap user provider does not translate group name into gid

Reported by: luke Assigned to: community
Priority: high Milestone: elmo
Component: user Version:
Severity: normal Keywords: ldap, user
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description

If you use the ldap user provider and specify the group by name, it will fail because ldap requires a number, not a name.

The provider should convert the name to a number by querying the db, and it will need to be smart enough to return a name instead of a number when appropriate.

Probably, the type/provider interface should just be expanded to support methods for converting either way.