Calls to getRootDSE fail with the following error:
2024-03-27 14:14:24+0000 [-] Unhandled Error
Traceback (most recent call last):
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/internet/tcp.py", line 248, in doRead
return self._dataReceived(data)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/internet/tcp.py", line 253, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/ldaptor/protocols/ldap/ldapserver.py", line 42, in dataReceived
self.handle(o)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/ldaptor/protocols/ldap/ldapserver.py", line 120, in handle
d = defer.maybeDeferred(
--- <exception caught here> ---
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/internet/defer.py", line 1075, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/ldaptor/protocols/ldap/ldapserver.py", line 81, in _cbLDAPError
reason.trap(ldaperrors.LDAPException)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/python/failure.py", line 481, in trap
self.raiseException()
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/python/failure.py", line 505, in raiseException
raise self.value.with_traceback(self.tb)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/twisted/internet/defer.py", line 209, in maybeDeferred
result = f(*args, **kwargs)
File "/app/apricot/ldap/read_only_ldap_server.py", line 153, in handle_LDAPSearchRequest
return super().handle_LDAPSearchRequest(request, controls, reply)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/ldaptor/protocols/ldap/ldapserver.py", line 310, in handle_LDAPSearchRequest
return self.getRootDSE(request, reply)
File "/app/apricot/ldap/read_only_ldap_server.py", line 41, in getRootDSE
return super().getRootDSE(request, reply)
File "/root/.local/share/hatch/env/virtual/apricot-server/9TtSrW0h/apricot-server/lib/python3.11/site-packages/ldaptor/protocols/ldap/ldapserver.py", line 195, in getRootDSE
("namingContexts", [root.dn.getText()]),
builtins.AttributeError: 'OAuthLDAPTree' object has no attribute 'dn'
Calls to getRootDSE fail with the following error: