Hallo an Alle,
nach dem Update vom 7.1 auf 7.2 haben wir das Problem dass die Lehrer Keine Rechte mehr in der Schulkonsole haben, hier ist der Fehler:
Request
**POST** /api/lmn/smbclient/createSessionWorkingDirectory
Type
SMBAuthenticationError
Message
Failed to authenticate with server: SpnegoError (1): SpnegoError (16): Operation not supported or available, Context: Retrieving NTLM store without NTLM_USER_FILE set to a filepath, Context: Unable to negotiate common mechanism
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/smbprotocol/session.py", line 282, in connect
out_token = context.step(in_token)
File "/usr/local/lib/python3.10/dist-packages/spnego/_negotiate.py", line 124, in step
mech_token_in, mech_list_mic, is_spnego = self._step_spnego_input(in_token=in_token)
File "/usr/local/lib/python3.10/dist-packages/spnego/_negotiate.py", line 171, in _step_spnego_input
mech_list = self._rebuild_context_list(mech_types=in_token.mech_types)
File "/usr/local/lib/python3.10/dist-packages/spnego/_negotiate.py", line 416, in _rebuild_context_list
raise BadMechanismError(context_msg="Unable to negotiate common mechanism", base_error=last_err)
spnego.exceptions.BadMechanismError: SpnegoError (1): SpnegoError (16): Operation not supported or available, Context: Retrieving NTLM store without NTLM_USER_FILE set to a filepath, Context: Unable to negotiate common mechanism
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/aj/api/endpoint.py", line 77, in wrapper
result = fx(self, context, *args, **kwargs)
File "/usr/lib/linuxmuster-webui/plugins/lmn_smbclient/views/lmnsmbclient.py", line 657, in handle_api_create_working_dir
if not smbclient.path.isdir(path):
File "/usr/local/lib/python3.10/dist-packages/smbclient/path.py", line 103, in isdir
return _stat_ismode(path, py_stat.S_ISDIR, True, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/smbclient/path.py", line 147, in _stat_ismode
return check(stat(path, follow_symlinks=follow, **kwargs).st_mode)
File "/usr/local/lib/python3.10/dist-packages/smbclient/_os.py", line 592, in stat
raw = SMBRawIO(
File "/usr/local/lib/python3.10/dist-packages/smbclient/_io.py", line 362, in __init__
tree, fd_path = get_smb_tree(path, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/smbclient/_pool.py", line 304, in get_smb_tree
session = register_session(
File "/usr/local/lib/python3.10/dist-packages/smbclient/_pool.py", line 422, in register_session
session.connect()
File "/usr/local/lib/python3.10/dist-packages/smbprotocol/session.py", line 284, in connect
raise SMBAuthenticationError(f"Failed to authenticate with server: {err}") from err
smbprotocol.exceptions.SMBAuthenticationError: Failed to authenticate with server: SpnegoError (1): SpnegoError (16): Operation not supported or available, Context: Retrieving NTLM store without NTLM_USER_FILE set to a filepath, Context: Unable to negotiate common mechanism
Danke im Voraus für eure Hilfe