# Linuxmuster Lehrer Rechte

**URL:** <https://ask.linuxmuster.net/t/linuxmuster-lehrer-rechte/11824>\
**Category:** Schulkonsole\
**Created:** [3. September 2025 um 06:28 UTC](https://ask.linuxmuster.net/t/linuxmuster-lehrer-rechte/11824 "2025-09-03T06:28:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmad](https://ask.linuxmuster.net/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@Ahmad](https://ask.linuxmuster.net/u/Ahmad)\
**Post date:** [3. September 2025 um 06:28 UTC](https://ask.linuxmuster.net/t/linuxmuster-lehrer-rechte/11824/1 "2025-09-03T06:28:20Z")

</div>

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:

```auto
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

---

<div class="post-metadata">

**Author:** ![Arnaud](https://ask.linuxmuster.net/user_avatar/ask.linuxmuster.net/arnaud/32/28_2.png) [@Arnaud](https://ask.linuxmuster.net/u/Arnaud)\
**Post date:** [4. September 2025 um 12:55 UTC](https://ask.linuxmuster.net/t/linuxmuster-lehrer-rechte/11824/2 "2025-09-04T12:55:47Z")

</div>

Hallo Ahmad,

Danke für die komplette Meldung, das hilft um zu verstehen was los ist.  
Für mich sieht es nicht als Rechteprobleme, sondern an die Authentifizieren mit dem Kerberos Ticket.

Es wäre gut, erst mal mit einem Lehreraccount zu testen, ob diese Authentifizierung klappt:

```auto
wget https://raw.githubusercontent.com/linuxmuster/linuxmuster-webui7/lmn72/tests/test-smbclient.py
python3 test-smbclient.py

```

Gruß

Arnaud
