NethServer Version: NS8
Module: OpenLdap
When I create provider for a domain I’m not able to create any user or group for this domain.
Error is something went wrong.
My Provider is OpenLdap internal…
Are there any hints to fix this problem? Without domain users a server is useless…
{
"context": {
"action": "list-domain-groups",
"data": {
"domain": "mydomain.de"
},
"extra": {
"eventId": "c3dcfdff-d5bd-49ce-aed6-c70bcd392809",
"isNotificationHidden": true,
"title": "List domain groups"
},
"id": "3447c571-d8e9-485e-a838-db181aeda2b8",
"parent": "",
"queue": "cluster/tasks",
"timestamp": "2023-03-12T08:53:28.359834008Z",
"user": "admin"
},
"status": "aborted",
"progress": 0,
"subTasks": [],
"validated": false,
"result": {
"error": "Traceback (most recent call last):\n File \"/var/lib/nethserver/cluster/actions/list-domain-groups/50list_groups\", line 33, in <module>\n groups = Ldapclient.factory(**domain).list_groups()\n File \"/usr/local/agent/pypkg/agent/ldapclient/__init__.py\", line 31, in factory\n return LdapclientRfc2307(**kwargs)\n File \"/usr/local/agent/pypkg/agent/ldapclient/base.py\", line 37, in __init__\n self.ldapconn = ldap3.Connection(self.ldapsrv,\n File \"/usr/local/agent/pyenv/lib/python3.9/site-packages/ldap3/core/connection.py\", line 363, in __init__\n self._do_auto_bind()\n File \"/usr/local/agent/pyenv/lib/python3.9/site-packages/ldap3/core/connection.py\", line 387, in _do_auto_bind\n self.open(read_server_info=False)\n File \"/usr/local/agent/pyenv/lib/python3.9/site-packages/ldap3/strategy/sync.py\", line 57, in open\n BaseStrategy.open(self, reset_usage, read_server_info)\n File \"/usr/local/agent/pyenv/lib/python3.9/site-packages/ldap3/strategy/base.py\", line 146, in open\n raise exception_history[0][0]\nldap3.core.exceptions.LDAPSocketOpenError: socket connection error while opening: [Errno 111] Connection refused\n",
"exit_code": 1,
"file": "cluster/task/3447c571-d8e9-485e-a838-db181aeda2b8",
"output": ""
}
}