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

(-)modules/univention/admin/handlers/users/user.py (-1 / +1 lines)
 Lines 2153-2159    Link Here 
2153
2153
2154
				smbpwhistoryPolicy = self.loadPolicyObject('policies/pwhistory')
2154
				smbpwhistoryPolicy = self.loadPolicyObject('policies/pwhistory')
2155
				if smbpwhistoryPolicy is not None and smbpwhistoryPolicy['length'] is not None and len(smbpwhistoryPolicy['length']) > 0:
2155
				if smbpwhistoryPolicy is not None and smbpwhistoryPolicy['length'] is not None and len(smbpwhistoryPolicy['length']) > 0:
2156
					smbpwhlen = int(pwhistoryPolicy['length'])
2156
					smbpwhlen = int(smbpwhistoryPolicy['length'])
2157
					smbpwhistory = self.oldattr.get('sambaPasswordHistory', [''])[0]
2157
					smbpwhistory = self.oldattr.get('sambaPasswordHistory', [''])[0]
2158
					newsmbPWHistory = self.__getsmbPWHistory(password_nt, smbpwhistory, smbpwhlen)
2158
					newsmbPWHistory = self.__getsmbPWHistory(password_nt, smbpwhistory, smbpwhlen)
2159
					ml.append(('sambaPasswordHistory', self.oldattr.get('sambaPasswordHistory', [''])[0], newsmbPWHistory))
2159
					ml.append(('sambaPasswordHistory', self.oldattr.get('sambaPasswordHistory', [''])[0], newsmbPWHistory))

Return to bug 44472