Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92626

Update ldaptor to newest version

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • ALL
    • Security 2024-07-22, Security 2024-08-05, Security 2024-08-19, Security 2024-09-02, Security 2024-09-16, Security 2024-09-30

      When the mock server receives invalid credentials for binding it produces an unexpected error:

      2024-07-12 00:20:45+0000 [MockLDAPServer,9,127.0.0.1] Handled bind request: LDAPBindRequest(version=3, dn=b'cn=ldapz_ldap2,ou=Users,dc=10gen,dc=cc', auth=b'Admin001', sasl=False) locally, reply is <Deferred at 0x7f73b3e60e50 current result: <twisted.python.failure.Failure ldaptor.protocols.ldap.ldaperrors.LDAPInvalidCredentials: <LDAPInvalidCredentials instance at 0x7f73b3e88100 with str error:
      [js_test:ldap_runtime_configuration] sh17970| Traceback (most recent call last):
      [js_test:ldap_runtime_configuration] sh17970| File "/data/mci/a819b3f9ba8b4d701468d9c99effc288/venv/lib/python3.10/site-packages/twisted/python/reflect.py", line 433, in safe_str
      [js_test:ldap_runtime_configuration] sh17970| return str(o)
      [js_test:ldap_runtime_configuration] sh17970| TypeError: _str_ returned non-string (type bytes)
      [js_test:ldap_runtime_configuration] sh17970| >>>
       
      

      Apart from this outputted log, tests do NOT seem to be affected by this.
      This started happening when twisted was updated to the latest version. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: