View | Details | Raw Unified | Return to bug 14827
Collapse All | Expand All

(-)/usr/share/pycentral/python-univention-directory-manager/site-packages/univention/admin/uldap.py (+4 lines)
 Lines 312-317    Link Here 
312
		except ldap.INAPPROPRIATE_MATCHING, msg:
312
		except ldap.INAPPROPRIATE_MATCHING, msg:
313
			raise univention.admin.uexceptions.insufficientInformation, msg[0]['desc']
313
			raise univention.admin.uexceptions.insufficientInformation, msg[0]['desc']
314
		except ldap.LDAPError, msg:
314
		except ldap.LDAPError, msg:
315
			# workaround for bug 14827 ==> msg tuple seems to be empty
316
			if not msg:
317
				univention.debug.debug(univention.debug.ADMIN, univention.debug.ERROR, 'uldap.searchDn: ldapError occured: msg=' % str(msg))
318
				raise univention.admin.uexceptions.ldapError, str(msg)
315
			raise univention.admin.uexceptions.ldapError, msg[0]['desc']
319
			raise univention.admin.uexceptions.ldapError, msg[0]['desc']
316
320
317
	def getPolicies(self, dn, policies=[], attrs={}, result={}, fixedattrs={}):
321
	def getPolicies(self, dn, policies=[], attrs={}, result={}, fixedattrs={}):

Return to bug 14827