View | Details | Raw Unified | Return to bug 41745 | Differences between
and this patch

Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/uldap.py (-6 / +24 lines)
 Lines 228-233   def getPrintable_depth(self, short=1, long=0, trailingslash=1): Link Here 
228
228
229
class access:
229
class access:
230
230
231
	@propery
232
	def binddn(self):
233
		return self.lo.binddn
234
235
	@propery
236
	def bindpw(self):
237
		return self.lo.bindpw
238
239
	@propery
240
	def host(self):
241
		return self.lo.host
242
243
	@propery
244
	def port(self):
245
		return self.lo.port
246
247
	@propery
248
	def base(self):
249
		return self.lo.base
250
251
	@propery
252
	def start_tls(self):
253
		return self.lo.start_tls
254
231
	def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', start_tls=2, lo=None, follow_referral=False):
255
	def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', start_tls=2, lo=None, follow_referral=False):
232
		if lo:
256
		if lo:
233
			self.lo = lo
257
			self.lo = lo
 Lines 240-251   def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', s Link Here 
240
				raise univention.admin.uexceptions.authFail(_("Authentication failed"))
264
				raise univention.admin.uexceptions.authFail(_("Authentication failed"))
241
			except ldap.UNWILLING_TO_PERFORM:
265
			except ldap.UNWILLING_TO_PERFORM:
242
				raise univention.admin.uexceptions.authFail(_("Authentication failed"))
266
				raise univention.admin.uexceptions.authFail(_("Authentication failed"))
243
		self.host = self.lo.host
244
		self.port = self.lo.port
245
		self.base = self.lo.base
246
		self.binddn = self.lo.binddn
247
		self.bindpw = self.lo.bindpw
248
		self.start_tls = start_tls
249
		self.require_license = 0
267
		self.require_license = 0
250
		self.allow_modify = 1
268
		self.allow_modify = 1
251
		self.licensetypes = ['UCS']
269
		self.licensetypes = ['UCS']

Return to bug 41745