[Tickets #4918] Group/ldap.php: getGroupMembership()
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Jan 19 02:52:28 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4918
-----------------------------------------------------------------------
Ticket | 4918
Created By | patrick.abiven at apitech.fr
Summary | Group/ldap.php: getGroupMembership()
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
patrick.abiven at apitech.fr (2007-01-19 02:52) wrote:
Hello
We are using ISO-8859-1 charset.
We are setting user permissions on shared calendars through ldap groups,
but we notice that for some groups, the permissions are not set.
When a ldap group is located inside a ldap container whose name have
french accent, the ldap.php getGroupMembership() function returns
incorrect group name, and the permissions are not set.
Suggested workaround in Group/ldap.php line 709 (CVS version) :
- $groups[$result[$i]['dn']] = $result[$i][$this->_params['gid']][0];
+ $groups[ String::convertCharset($result[$i]['dn'], 'UTF-8',
NLS::getCharset())] =
String::convertCharset($result[$i][$this->_params['gid']][0], 'UTF-8',
NLS::getCharset());
Regards
Patrick
More information about the bugs
mailing list