TypeError after bad LDAP config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
New
|
Undecided
|
Unassigned |
Bug Description
I wasn't paying attention and not even sure what I entered, but I was entering in the webui information for LDAP/SSO.
I get the following when going to the SchoolTool page:
Server Error
An internal server error has occurred. This most likely means that you have found a bug in SchoolTool. Please report it on the issue tracker.
Exception
TypeError: must be string or read-only buffer, not None
Traceback
File "/usr/lib/
obj = request.
File "/usr/lib/
ob = super(BrowserRe
File "/usr/lib/
ob = super(HTTPRequest, self).traverse(obj)
File "/usr/lib/
publication.
File "/usr/lib/
self.
File "/usr/lib/
principal = auth.authentica
File "/usr/lib/
return self.authPlugin
File "/usr/lib/
principal = self.getPrincip
File "/usr/lib/
results = list(client.
File "/usr/lib/
users = self.search(base, scope, filter=filter)
File "/usr/lib/
self.connect()
File "/usr/lib/
new_connectio
File "/usr/lib/
msgid = self.bind(
File "/usr/lib/
return self.simple_
File "/usr/lib/
return self._ldap_
File "/usr/lib/
result = func(*args,
Your School - server running SchoolTool 2.1
I tried adding this to schooltool.conf & doing a restart:
<ldap_authentic ation>
allow_web_config no
</ldap_ authentication>
I was hoping to turn off LDAP entirely. But same info on the main page.