4teamwork/opengever.core — pull request #125 by lukasgraf (2013-10-28 14:43:05+00:00)
Title: LDAP import: Group ID may be in `cn` or `fullname` attribute - deal with it

LDAP synchronization failed at group ids.
@phgross pached that in the egg. Please move the fix to opengever.core.

```
# Group name is in the 'cn' attribute, which is mapped to 'fullname'
# XXX PATHCHED
info['groupid'] = info.get('cn')[0]
info['groupid'] = info['groupid'].decode('utf-8')
```
https://github.com/4teamwork/opengever.core/blob/master/opengever/ogds/base/ldap_import/ogds_updater.py#L127