From: Fernando R. <fer...@gm...> - 2007-12-11 19:16:04
|
Hi, How to fix STRONG_AUTH_REQUIRED error? (My ldapserver is master) I'm receiving this error while using modify(dn, modlist) I have a bind with rootdn and rootpw right. My modlist [(0, 'employeeType', ['1']), (0, 'l', ['GETEC']), (0, 'stateOrProvinceName', ['DF'])] The error: Dec 11 16:52:00 localhost integracao:ERROR {'info': 'modifications require authentication', 'desc': 'Strong(er) authentication required'} The code: def _modify(self, dn): self.log.debug("%s: %s"%(dn, self.modlist)) try: ldap_result_id = self.conn.modify(dn, self.modlist) result_type, result_data = self.conn.result(ldap_result_id, 0) except ldap.LDAPError, e: self.log.error(e) -- ----------------------------------------------------- - Fernando Ribeiro - +55-61-8438-5806 ----------------------------------------------------- Firthunands: firthu means peace, nands means daring. "Those who do anything to maintain the peace!" |