mumble-voip / mumble-scripts

Mumble scripts is a place for gathering various scripts written for the Mumble VoIP application.
https://www.mumble.info
48 stars 31 forks source link

Port LDAP Authenticator to python 3 #31

Closed andynd closed 3 years ago

andynd commented 4 years ago

As the title says

andynd commented 4 years ago

relates to #26

Kissaki commented 4 years ago

Do you use this productively? What was your test approach?

andynd commented 4 years ago

Do you use this productively? What was your test approach?

Yes it is used in production for the syseleven internal mumble server. Testing was a few manual login attempts with working and not working passwords as well as users which are/aren't in the (config defined) group.

w1n5l0w commented 3 years ago

@andynd I do not get the script to read the LDAPauth.ini which is placed in the same folder. Neither by running it directly, nor if I run it as systemd service as descriped here: https://github.com/mumble-voip/mumble-scripts/issues/19 It doesn't work as root or as mumble-server (when ownership is set accordingly to the respective user and even permissions are 777). OS ist Ubuntu 20.04 LTS and all python3.8 modules are installed as written in the description.

Error message is Fatal error, could not load config file from "LDAPauth.ini"

Any idea what might be missing? The python2 script worked like charm for me, "LDPAPauth.ini hasn't been changed since.

andynd commented 3 years ago

Hmm, sadly the try..except in the code hides the actual exception. Could you comment that out (line 836) and post the actual exception?