Changes between Initial Version and Version 1 of Ticket #12157, comment 1
- Timestamp:
- Jun 2, 2015, 12:21:04 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12157, comment 1
initial v1 2 2 But you could try this change. Just above your code excerpt a block like this is found 3 3 4 {{{ 4 {{{#!python 5 5 attrs = {} 6 6 try: … … 12 12 except: 13 13 self.log.warn('Attribute %s not found in %s' % (self.ldap_email_attr, dn.decode('iso-8859-15'))) 14 }}} 14 15 15 }}}16 16 Change to this, adding {{{attrs['XXX'] = ''}}} after each except 17 {{{ 17 18 {{{#!python 18 19 19 20 attrs = {} … … 28 29 attrs['email'] = '' 29 30 self.log.warn('Attribute %s not found in %s' % (self.ldap_email_attr, dn.decode('iso-8859-15'))) 30 31 31 }}}