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 (+2 lines)
 Lines 251-256   def __init__(self, host='localhost', port=None, base='', binddn='', bindpw='', s Link Here 
251
		self.licensetypes = ['UCS']
251
		self.licensetypes = ['UCS']
252
252
253
	def bind(self, binddn, bindpw):
253
	def bind(self, binddn, bindpw):
254
		self.binddn = binddn
255
		self.bindpw = bindpw
254
		try:
256
		try:
255
			self.lo.bind(binddn, bindpw)
257
			self.lo.bind(binddn, bindpw)
256
		except ldap.INVALID_CREDENTIALS:
258
		except ldap.INVALID_CREDENTIALS:

Return to bug 41745