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

(-)modules/univention/s4connector/__init__.py (+2 lines)
 Lines 442-447    Link Here 
442
			ud.debug( ud.LDAP, ud.INFO, 'Lost connection to the LDAP server. Trying to reconnect ...' )
442
			ud.debug( ud.LDAP, ud.INFO, 'Lost connection to the LDAP server. Trying to reconnect ...' )
443
			try:
443
			try:
444
				self.open_ucs()
444
				self.open_ucs()
445
				result = self.lo.search( filter = filter, base = base, scope = scope, attr = attr, unique = unique, required = required, timeout = timeout, sizelimit = sizelimit )
446
				return result
445
			except ldap.SERVER_DOWN, e:
447
			except ldap.SERVER_DOWN, e:
446
				ud.debug( ud.LDAP, ud.INFO, 'LDAP-Server seems to be down' )
448
				ud.debug( ud.LDAP, ud.INFO, 'LDAP-Server seems to be down' )
447
				raise search_exception
449
				raise search_exception

Return to bug 27176