Hello Davide. Thanks for your help.
I checked the version installed: it is Version 3.4.4 …
my first install was Debian 12 with Nethserver installed as described in the docs. I thought that maybe I messed up something during configuration (domain names were not appropriate).
I then installed on another virtual machine (Virtualbox, OS-Type RedHat9_64 ) with the vmware image (https://tinyurl.com/ns8-rocky-vmdk) according to manuals. Log-in to the server ok, create another user for ssh acces: ok, accessing webUI ok, changing credentials for admin user: ok, add Domain, choose Samba for AD: ok: but it takes a long time, webUI seems to hang, the installation window never closes…
Though, a samba-Server is installed, showing up in the right panel as samba1, but accessing the “add user” or “add group” menu, there is an error saying :“Get password policy Process not authorized” I can’t add a user (or a group).
I managed to add users by accessing the command line:
api-cli run module/samba1/add-user --data - <<EOF
{
“user”: “mduerig”,
“display_name”: “markus duerig”,
“password”: “*******”,
“locked”: false,
“groups”: [
]
}
EOF
response was:
Warning: using user “cluster” credentials from the environment
/usr/lib/python3.12/getpass.py:91: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
New Password:
Warning: Password input may be echoed.
Retype Password:
User ‘markus’ added successfully
Unix username: markus
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2123612221-3268324255-1032417906-1106
Primary Group SID: S-1-5-21-2123612221-3268324255-1032417906-513
Full Name: markus
Home Directory:
HomeDir Drive: (null)
Logon Script:
Profile Path:
Domain:
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: 0
Kickoff time: Thu, 14 Sep 30828 02:48:05 UTC
Password last set: Sun, 02 Feb 2025 12:36:31 UTC
Password can change: Sun, 02 Feb 2025 12:36:31 UTC
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
“”
afterwards the user also shows up in the web UI
however I don’t know how to add groups via the command line
and actually this could/should be done via the web UI.
as it worked on the command line but not with with the webUI my conclusion is so far, that there must be a permission issue with using the webUI (at least for creating users and groups)…
I created several virtual machines with nethserver on rocky linux with the provided image and it behaved the same way.
any help is greatly apreciated. I think that there is an error in my setup as you may have tested thoroughly this functionality.
Thanks a lot Markus