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!"
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to