Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Script doesn't start #33

Open
gianklug opened this issue Sep 1, 2021 · 4 comments
Open

LDAP Script doesn't start #33

gianklug opened this issue Sep 1, 2021 · 4 comments

Comments

@gianklug
Copy link

gianklug commented Sep 1, 2021

When I try to start LDAPauth.py with ice enabled and the right credentials and port I get the following error in the Logfile:

icecpp: error: cannot open `/usr/local/sbin/Murmur.ice' for reading
Traceback (most recent call last):
  File "/usr/local/sbin/LDAPauth.py", line 881, in <module>
    do_main_program()
  File "/usr/local/sbin/LDAPauth.py", line 219, in do_main_program
    Ice.loadSlice('', ["-I/usr/share/slice/","Murmur.ice"])
RuntimeError: Slice preprocessing failed for `'`

I already tried forcing another ice path but as you can see in the first line, it somehow tries to find the .ice in the Directory the Script is in.

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Sep 1, 2021

what version of Mumble are you using?

it somehow tries to find the .ice in the Directory the Script is in.

have you tried copying the Murmur.ice file from the Mumble source tree (src/murmur/Murmur.ice) to the directory in which you are executing the script?

@gianklug
Copy link
Author

gianklug commented Sep 1, 2021

I use version 1.3.4-1, the latest one available in the Debian Bullseye repo.
I will try copying later.

@gianklug
Copy link
Author

gianklug commented Sep 2, 2021

Symlinking the file worked, however I still think this needs some fixing

@Kissaki
Copy link
Member

Kissaki commented Sep 2, 2021

https://github.com/mumble-voip/mumble-scripts/blob/master/Authenticators/LDAP/LDAPauth.py#L214-L219

The logic seems to use the python Ice module to get the correct directory path, and otherwise two default include paths. So if the python ice module is installed via package manager I would expect this to work and search in the systems Ice slice dir path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants