Set authentication credentials for LDAP applications after upgrade to 7.5


(Michael Tuschek) #1

System version
NethServer release 7.5.1804 (final)
Kernel release
3.10.0-862.14.4.el7.x86_64

After Upgrading to 7.5 I got an error at the Dashboard saying:

Set authentication credentials for LDAP applications
Some applications require simple LDAP authentication credentials to browse the AD LDAP database and work properly.
I can see all my users and groups and all seems to work, but I cannot change anything without getting an error:

Task completed with errors

(exit status )

After doing a

account-provider-test dump

I see a β€œBindDN” : β€œDOMAINNAME\MAIL$” which is strange,
I expected β€œBindDN” : "ldapservice@AD.DOMAINNAME.COM"

So how can I fix it?

There are 19 users with emails and fileshares.

Greetings Much


(Davide Principi) #2

From which version did you upgrade? Please attach the output of

  yum history pkg-info nethserver-dc

Attach also the output of

 grep -B 5 -E '(ERROR|FAILED)' /var/log/messages
 config show sssd
 config show nsdc

(Michael Tuschek) #3

Thanks Davide,

here are the requested outputs

Summary
[root@mail ~]# yum history pkg-info nethserver-dc
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 24
Begin time     : Wed Nov 28 04:39:58 2018
Package        : nethserver-dc-1.4.0-1.ns7.x86_64
State          : Updated
Size           : 14,220,315
Build host     : b12.nethserver.org
Build time     : Tue Dec 12 16:13:57 2017
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.4.0-1.ns7.src.rpm
Commit Time    : Tue Dec 12 13:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
From repo      : nethserver-updates
Installed by   : System <unset>
Changed by     : System <unset>

Transaction ID : 24
Begin time     : Wed Nov 28 04:39:58 2018
Package        : nethserver-dc-1.5.7-1.ns7.x86_64
State          : Update

Transaction ID : 18
Begin time     : Thu Dec 21 18:52:47 2017
Package        : nethserver-dc-1.3.3-1.ns7.x86_64
State          : Updated
Size           : 14,219,267
Build host     : b3.nethserver.org
Build time     : Tue Dec  5 10:57:47 2017
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.3.3-1.ns7.src.rpm
Commit Time    : Tue Dec  5 13:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
From repo      : nethserver-updates
Installed by   : System <unset>
Changed by     : System <unset>

Transaction ID : 18
Begin time     : Thu Dec 21 18:52:47 2017
Package        : nethserver-dc-1.4.0-1.ns7.x86_64
State          : Update
Size           : 14,220,315
Build host     : b12.nethserver.org
Build time     : Tue Dec 12 16:13:57 2017
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.4.0-1.ns7.src.rpm
Commit Time    : Tue Dec 12 13:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
From repo      : nethserver-updates
Installed by   : System <unset>
Changed by     : System <unset>

Transaction ID : 17
Begin time     : Wed Dec  6 20:14:01 2017
Package        : nethserver-dc-1.2.6-1.ns7.x86_64
State          : Updated
Size           : 14,186,883
Build host     : 4da23e76e0b64c959143e33c91a8d9e7
Build time     : Thu Jul 20 17:29:11 2017
Vendor         : NethServer
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.2.6-1.ns7.src.rpm
Commit Time    : Thu Jul 20 14:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
Command Line   : --disableplugin=nethserver_events install -y nethserver-antivirus nethserver-backup-config nethserver-backup-data nethserver-base nethserver-dc nethserver-diagtools nethserver-dnsmasq nethserver-duc nethserver-firewall-base nethserver-hosts nethserver-httpd nethserver-httpd-admin nethserver-virtualhosts nethserver-samba nethserver-lang-en nethserver-letsencrypt nethserver-lib nethserver-lsm nethserver-mail-common nethserver-mail-filter nethserver-mail-server nethserver-mail-smarthost nethserver-nethforge-release nethserver-ntp nethserver-openssh nethserver-phonehome nethserver-php nethserver-release nethserver-restore-data nethserver-samba nethserver-smartd nethserver-sssd nethserver-unbound nethserver-yum
From repo      : nethserver-updates
Installed by   : System <unset>

Transaction ID : 17
Begin time     : Wed Dec  6 20:14:01 2017
Package        : nethserver-dc-1.3.3-1.ns7.x86_64
State          : Update
Size           : 14,219,267
Build host     : b3.nethserver.org
Build time     : Tue Dec  5 10:57:47 2017
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.3.3-1.ns7.src.rpm
Commit Time    : Tue Dec  5 13:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
From repo      : nethserver-updates
Installed by   : System <unset>
Changed by     : System <unset>

Transaction ID : 2
Begin time     : Wed Sep 13 16:07:56 2017
Package        : nethserver-dc-1.2.6-1.ns7.x86_64
State          : Install
Size           : 14,186,883
Build host     : 4da23e76e0b64c959143e33c91a8d9e7
Build time     : Thu Jul 20 17:29:11 2017
Vendor         : NethServer
License        : GPLv3+
URL            : http://github.com/NethServer/nethserver-dc
Source RPM     : nethserver-dc-1.2.6-1.ns7.src.rpm
Commit Time    : Thu Jul 20 14:00:00 2017
Committer      : Davide Principi <davide.principi@nethesis.it>
Reason         : user
Command Line   : --disableplugin=nethserver_events install -y nethserver-antivirus nethserver-backup-config nethserver-backup-data nethserver-base nethserver-dc nethserver-diagtools nethserver-dnsmasq nethserver-duc nethserver-firewall-base nethserver-hosts nethserver-httpd nethserver-httpd-admin nethserver-virtualhosts nethserver-samba nethserver-lang-en nethserver-letsencrypt nethserver-lib nethserver-lsm nethserver-mail-common nethserver-mail-filter nethserver-mail-server nethserver-mail-smarthost nethserver-nethforge-release nethserver-ntp nethserver-openssh nethserver-phonehome nethserver-php nethserver-release nethserver-restore-data nethserver-samba nethserver-smartd nethserver-sssd nethserver-unbound nethserver-yum
From repo      : nethserver-updates
Installed by   : System <unset>
history pkg-info
Summary
[root@mail ~]# grep -B 5 -E '(ERROR|FAILED)' /var/log/messages
Nov 26 00:30:01 mail systemd: Started Session 125645 of user sogo.
Nov 26 00:30:01 mail systemd: Starting Session 125645 of user sogo.
Nov 26 00:30:02 mail sogo-backup.sh: sogo-backup.sh starting
Nov 26 00:30:02 mail sogo-backup.sh: <0x0x266ee30[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Nov 26 00:30:02 mail sogo-backup.sh: <0x0x266ee30[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Nov 26 00:30:02 mail sogo-backup.sh: 2018-11-26 00:30:02.625 sogo-tool[14793:14793] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 26 00:30:02 mail sogo-backup.sh: 2018-11-26 00:30:02.674 sogo-tool[14793:14793] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 26 00:30:02 mail sogo-backup.sh: 2018-11-26 00:30:02.717 sogo-tool[14793:14793] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 26 00:30:02 mail sogo-backup.sh: 2018-11-26 00:30:02.762 sogo-tool[14793:14793] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 26 00:30:02 mail sogo-backup.sh: 2018-11-26 00:30:02.841 sogo-tool[14793:14793] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
--
Nov 27 00:30:01 mail systemd: Started Session 127145 of user sogo.
Nov 27 00:30:01 mail systemd: Starting Session 127145 of user sogo.
Nov 27 00:30:01 mail sogo-backup.sh: sogo-backup.sh starting
Nov 27 00:30:01 mail sogo-backup.sh: <0x0x1229e30[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Nov 27 00:30:01 mail sogo-backup.sh: <0x0x1229e30[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.615 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.669 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.714 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.756 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.800 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.840 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:01 mail sogo-backup.sh: 2018-11-27 00:30:01.881 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 27 00:30:02 mail sogo-backup.sh: 2018-11-27 00:30:02.013 sogo-tool[19214:19214] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
--
Nov 28 00:30:01 mail systemd: Started Session 128644 of user sogo.
Nov 28 00:30:01 mail systemd: Starting Session 128644 of user sogo.
Nov 28 00:30:02 mail sogo-backup.sh: sogo-backup.sh starting
Nov 28 00:30:02 mail sogo-backup.sh: <0x0x2949e30[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Nov 28 00:30:02 mail sogo-backup.sh: <0x0x2949e30[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Nov 28 00:30:02 mail sogo-backup.sh: 2018-11-28 00:30:02.937 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.047 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.110 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.171 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.236 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.301 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.367 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Nov 28 00:30:03 mail sogo-backup.sh: 2018-11-28 00:30:03.428 sogo-tool[21753:21753] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
--
Nov 28 06:56:10 mail esmith::event[7316]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:56:10 mail esmith::event[7316]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:56:10 mail esmith::event[7316]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:56:10 mail esmith::event[7316]:    return getattr(self._sock,name)(*args)
Nov 28 06:56:10 mail esmith::event[7316]: socket.error: [Errno 2] No such file or directory
Nov 28 06:56:10 mail esmith::event[7316]: [ERROR] User edv modification failed
Nov 28 06:56:10 mail esmith::event[7316]: Action: /etc/e-smith/events/user-modify/S40nethserver-dc-user-modify FAILED: 1 [0.084627]
--
Nov 28 06:56:11 mail systemd: Started Memcached.
Nov 28 06:56:11 mail systemd: Starting Memcached...
Nov 28 06:56:11 mail esmith::event[7316]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.278044]
Nov 28 06:56:11 mail esmith::event[7316]: [NOTICE] clearing sssd cache for user edv@obkircher.at
Nov 28 06:56:11 mail esmith::event[7316]: Action: /etc/e-smith/events/user-modify/S90nethserver-sssd-clear-cache SUCCESS [0.770157]
Nov 28 06:56:11 mail esmith::event[7316]: Event: user-modify FAILED
--
Nov 28 06:56:12 mail esmith::event[7366]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:56:12 mail esmith::event[7366]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:56:12 mail esmith::event[7366]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:56:12 mail esmith::event[7366]:    return getattr(self._sock,name)(*args)
Nov 28 06:56:12 mail esmith::event[7366]: socket.error: [Errno 2] No such file or directory
Nov 28 06:56:12 mail esmith::event[7366]: [ERROR] Failed to update the members list of group daten at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:56:12 mail esmith::event[7366]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.067284]
Nov 28 06:56:12 mail esmith::event[7366]: [NOTICE] clearing sssd cache for group daten@obkircher.at
Nov 28 06:56:13 mail esmith::event[7366]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.718031]
Nov 28 06:56:13 mail esmith::event[7366]: Event: group-modify FAILED
--
Nov 28 06:56:13 mail esmith::event[7385]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:56:13 mail esmith::event[7385]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:56:13 mail esmith::event[7385]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:56:13 mail esmith::event[7385]:    return getattr(self._sock,name)(*args)
Nov 28 06:56:13 mail esmith::event[7385]: socket.error: [Errno 2] No such file or directory
Nov 28 06:56:13 mail esmith::event[7385]: [ERROR] Failed to update the members list of group intern at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:56:13 mail esmith::event[7385]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.079783]
Nov 28 06:56:13 mail esmith::event[7385]: [NOTICE] clearing sssd cache for group intern@obkircher.at
Nov 28 06:56:14 mail esmith::event[7385]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.623092]
Nov 28 06:56:14 mail esmith::event[7385]: Event: group-modify FAILED
--
Nov 28 06:56:14 mail esmith::event[7404]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:56:14 mail esmith::event[7404]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:56:14 mail esmith::event[7404]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:56:14 mail esmith::event[7404]:    return getattr(self._sock,name)(*args)
Nov 28 06:56:14 mail esmith::event[7404]: socket.error: [Errno 2] No such file or directory
Nov 28 06:56:14 mail esmith::event[7404]: [ERROR] Failed to update the members list of group projekte at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:56:14 mail esmith::event[7404]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.074158]
Nov 28 06:56:14 mail esmith::event[7404]: [NOTICE] clearing sssd cache for group projekte@obkircher.at
Nov 28 06:56:15 mail esmith::event[7404]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.46459]
Nov 28 06:56:15 mail esmith::event[7404]: Event: group-modify FAILED
--
Nov 28 06:56:16 mail esmith::event[7420]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:56:16 mail esmith::event[7420]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:56:16 mail esmith::event[7420]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:56:16 mail esmith::event[7420]:    return getattr(self._sock,name)(*args)
Nov 28 06:56:16 mail esmith::event[7420]: socket.error: [Errno 2] No such file or directory
Nov 28 06:56:16 mail esmith::event[7420]: [ERROR] Faild to set expiry on user edv@obkircher.at
Nov 28 06:56:16 mail esmith::event[7420]: Action: /etc/e-smith/events/password-policy-update/S30nethserver-dc-password-policy FAILED: 1 [0.209595]
Nov 28 06:56:16 mail esmith::event[7420]: Event: password-policy-update FAILED
--
Nov 28 06:57:05 mail esmith::event[7500]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:57:05 mail esmith::event[7500]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:57:05 mail esmith::event[7500]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:57:05 mail esmith::event[7500]:    return getattr(self._sock,name)(*args)
Nov 28 06:57:05 mail esmith::event[7500]: socket.error: [Errno 2] No such file or directory
Nov 28 06:57:05 mail esmith::event[7500]: [ERROR] User edv modification failed
Nov 28 06:57:05 mail esmith::event[7500]: Action: /etc/e-smith/events/user-modify/S40nethserver-dc-user-modify FAILED: 1 [0.060128]
--
Nov 28 06:57:05 mail systemd: Started Memcached.
Nov 28 06:57:05 mail systemd: Starting Memcached...
Nov 28 06:57:05 mail esmith::event[7500]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.259304]
Nov 28 06:57:05 mail esmith::event[7500]: [NOTICE] clearing sssd cache for user edv@obkircher.at
Nov 28 06:57:06 mail esmith::event[7500]: Action: /etc/e-smith/events/user-modify/S90nethserver-sssd-clear-cache SUCCESS [0.496795]
Nov 28 06:57:06 mail esmith::event[7500]: Event: user-modify FAILED
--
Nov 28 06:57:07 mail esmith::event[7550]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:57:07 mail esmith::event[7550]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:57:07 mail esmith::event[7550]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:57:07 mail esmith::event[7550]:    return getattr(self._sock,name)(*args)
Nov 28 06:57:07 mail esmith::event[7550]: socket.error: [Errno 2] No such file or directory
Nov 28 06:57:07 mail esmith::event[7550]: [ERROR] Failed to update the members list of group projekte at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:57:07 mail esmith::event[7550]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.074178]
Nov 28 06:57:07 mail esmith::event[7550]: [NOTICE] clearing sssd cache for group projekte@obkircher.at
Nov 28 06:57:07 mail esmith::event[7550]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.475371]
Nov 28 06:57:07 mail esmith::event[7550]: Event: group-modify FAILED
--
Nov 28 06:57:08 mail esmith::event[7566]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:57:08 mail esmith::event[7566]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:57:08 mail esmith::event[7566]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:57:08 mail esmith::event[7566]:    return getattr(self._sock,name)(*args)
Nov 28 06:57:08 mail esmith::event[7566]: socket.error: [Errno 2] No such file or directory
Nov 28 06:57:08 mail esmith::event[7566]: [ERROR] Faild to set expiry on user edv@obkircher.at
Nov 28 06:57:08 mail esmith::event[7566]: Action: /etc/e-smith/events/password-policy-update/S30nethserver-dc-password-policy FAILED: 1 [0.188005]
Nov 28 06:57:08 mail esmith::event[7566]: Event: password-policy-update FAILED
--
Nov 28 06:57:45 mail esmith::event[7624]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:57:45 mail esmith::event[7624]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:57:45 mail esmith::event[7624]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:57:45 mail esmith::event[7624]:    return getattr(self._sock,name)(*args)
Nov 28 06:57:45 mail esmith::event[7624]: socket.error: [Errno 2] No such file or directory
Nov 28 06:57:45 mail esmith::event[7624]: [ERROR] Failed to update the members list of group daten at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:57:45 mail esmith::event[7624]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.072396]
Nov 28 06:57:45 mail esmith::event[7624]: [NOTICE] clearing sssd cache for group daten@obkircher.at
Nov 28 06:57:45 mail nmbd[1227]: [2018/11/28 06:57:45.914726,  0] ../source3/nmbd/nmbd_incomingrequests.c:213(process_name_registration_request)
Nov 28 06:57:45 mail nmbd[1227]:  process_name_registration_request: unicast name registration request received for name #001#002SMB_NSCHECK<ff> from IP 192.168.10.91 on subnet UNICAST_SUBNET. Error - should be sent to WINS server
Nov 28 06:57:46 mail esmith::event[7624]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.674427]
Nov 28 06:57:46 mail esmith::event[7624]: Event: group-modify FAILED
--
Nov 28 06:59:39 mail esmith::event[7758]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 06:59:39 mail esmith::event[7758]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 06:59:39 mail esmith::event[7758]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 06:59:39 mail esmith::event[7758]:    return getattr(self._sock,name)(*args)
Nov 28 06:59:39 mail esmith::event[7758]: socket.error: [Errno 2] No such file or directory
Nov 28 06:59:39 mail esmith::event[7758]: [ERROR] Failed to update the members list of group daten at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 06:59:39 mail esmith::event[7758]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.057457]
Nov 28 06:59:39 mail esmith::event[7758]: [NOTICE] clearing sssd cache for group daten@obkircher.at
Nov 28 06:59:40 mail esmith::event[7758]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.846472]
Nov 28 06:59:40 mail esmith::event[7758]: Event: group-modify FAILED
--
Nov 28 08:40:47 mail esmith::event[4658]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 08:40:47 mail esmith::event[4658]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 08:40:47 mail esmith::event[4658]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 08:40:47 mail esmith::event[4658]:    return getattr(self._sock,name)(*args)
Nov 28 08:40:47 mail esmith::event[4658]: socket.error: [Errno 2] No such file or directory
Nov 28 08:40:47 mail esmith::event[4658]: [ERROR] User edv modification failed
Nov 28 08:40:47 mail esmith::event[4658]: Action: /etc/e-smith/events/user-modify/S40nethserver-dc-user-modify FAILED: 1 [0.084998]
--
Nov 28 08:40:48 mail systemd: Started Memcached.
Nov 28 08:40:48 mail systemd: Starting Memcached...
Nov 28 08:40:48 mail esmith::event[4658]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.244008]
Nov 28 08:40:48 mail esmith::event[4658]: [NOTICE] clearing sssd cache for user edv@obkircher.at
Nov 28 08:40:48 mail esmith::event[4658]: Action: /etc/e-smith/events/user-modify/S90nethserver-sssd-clear-cache SUCCESS [0.63639]
Nov 28 08:40:48 mail esmith::event[4658]: Event: user-modify FAILED
--
Nov 28 08:40:49 mail esmith::event[4708]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 08:40:49 mail esmith::event[4708]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 08:40:49 mail esmith::event[4708]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 08:40:49 mail esmith::event[4708]:    return getattr(self._sock,name)(*args)
Nov 28 08:40:49 mail esmith::event[4708]: socket.error: [Errno 2] No such file or directory
Nov 28 08:40:49 mail esmith::event[4708]: [ERROR] Failed to update the members list of group daten at /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify line 86.
Nov 28 08:40:49 mail esmith::event[4708]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.070773]
Nov 28 08:40:49 mail esmith::event[4708]: [NOTICE] clearing sssd cache for group daten@obkircher.at
Nov 28 08:40:50 mail esmith::event[4708]: Action: /etc/e-smith/events/group-modify/S90nethserver-sssd-clear-cache SUCCESS [0.683903]
Nov 28 08:40:50 mail esmith::event[4708]: Event: group-modify FAILED
--
Nov 28 08:40:51 mail esmith::event[4724]:  File "/bin/nsdc-run", line 38, in <module>
Nov 28 08:40:51 mail esmith::event[4724]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')
Nov 28 08:40:51 mail esmith::event[4724]:  File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 28 08:40:51 mail esmith::event[4724]:    return getattr(self._sock,name)(*args)
Nov 28 08:40:51 mail esmith::event[4724]: socket.error: [Errno 2] No such file or directory
Nov 28 08:40:51 mail esmith::event[4724]: [ERROR] Faild to set expiry on user edv@obkircher.at
Nov 28 08:40:51 mail esmith::event[4724]: Action: /etc/e-smith/events/password-policy-update/S30nethserver-dc-password-policy FAILED: 1 [0.194621]
Nov 28 08:40:51 mail esmith::event[4724]: Event: password-policy-update FAILED
[root@mail ~]# config show sssd
sssd=service
    AdDns=192.168.10.253
    LdapURI=
    Provider=ad
    Realm=AD.DOMAINNAME.AT
    Workgroup=DOMAINNAME
    status=enabled

[root@mail ~]# config show nsdc
nsdc=service
    IpAddress=192.168.10.253
    ProvisionType=newdomain
    bridge=br0
    status=enabled

DOMAINNAME is a placeholder for my domain.

Greetings Michael


(Michael Tuschek) #4

By the way, no emails are getting in.
Sending of emails is no problem


(Davide Principi) #5

To avoid data-loss, I suggest to stop Postfix until we found a solution

 systemctl stop postfix

(Michael Tuschek) #6

Stopped Postfix, Thanks


(Davide Principi) #7

Did you restore from backup? If so you might be hit by

Please try the suggested bug workaround (just updated)

Then run

 /etc/e-smith/events/nethserver-dc-save/S96nethserver-dc-createldapservice ev

(Michael Tuschek) #8

checking with:

[root@mail ~]# systemctl status -M nsdc nsdc-run.socket

Unit nsdc-run.socket could not be found.


(Michael Tuschek) #9

[root@mail ~]# systemctl enable --now -M nsdc nsdc-run.socket
Failed to execute operation: No such file or directory


(Davide Principi) #10

Ok attach

 systemctl status nsdc

And

 journalctl -M nsdc

(Michael Tuschek) #11
[root@mail ~]# systemctl status nsdc
● nsdc.service - NethServer Domain Controller container
   Loaded: loaded (/usr/lib/systemd/system/nsdc.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-11-28 07:47:34 CET; 2h 58min ago
     Docs: man:systemd-nspawn(1)
 Main PID: 1228 (systemd-nspawn)
   Status: "Container running."
   CGroup: /machine.slice/nsdc.service
           β”œβ”€1228 /usr/bin/systemd-nspawn --quiet --keep-unit --boot --network-bridge=br0 --machine=nsdc --capability=CAP_SYS_TIME
           β”œβ”€1266 /usr/lib/systemd/systemd
           └─system.slice
             β”œβ”€samba.service
             β”‚ β”œβ”€2176 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2192 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2193 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2194 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
             β”‚ β”œβ”€2195 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2196 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2197 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2198 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2199 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2200 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2201 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2202 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2203 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
             β”‚ β”œβ”€2204 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2205 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2206 /usr/sbin/samba -i --debug-stderr
             β”‚ β”œβ”€2209 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
             β”‚ β”œβ”€2210 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
             β”‚ β”œβ”€2211 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
             β”‚ └─2214 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
             β”œβ”€console-getty.service
             β”‚ └─2175 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
             β”œβ”€ntpd.service
             β”‚ └─2185 /usr/sbin/ntpd -u ntp:ntp -g
             β”œβ”€systemd-logind.service
             β”‚ └─2172 /usr/lib/systemd/systemd-logind
             β”œβ”€dbus.service
             β”‚ └─2168 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
             └─systemd-journald.service
               └─2132 /usr/lib/systemd/systemd-journald

Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Reached target Network.
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Started Samba domain controller daemon.
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: Starting Samba domain controller daemon...
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Started Network Time Service.
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Reached target Multi-User System.
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Reached target Graphical Interface.
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: Starting Update UTMP about System Runlevel Changes...
Nov 28 07:47:41 mail.obkircher.at systemd-nspawn[1228]: [  OK  ] Started Update UTMP about System Runlevel Changes.
Nov 28 07:47:42 mail.obkircher.at systemd-nspawn[1228]: CentOS Linux 7 (Core)
Nov 28 07:47:42 mail.obkircher.at systemd-nspawn[1228]: Kernel 3.10.0-862.14.4.el7.x86_64 on an x86_64
journalctl -M nsdc
Nov 28 07:47:39 nsdc-mail.ad.obkircher.at systemd[1]: Starting Flush Journal to Persistent Storage...
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Started Flush Journal to Persistent Storage.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Create Volatile Files and Directories...
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Started Create Volatile Files and Directories.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Update UTMP about System Boot/Shutdown...
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Started Update UTMP about System Boot/Shutdown.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Reached target System Initialization.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting System Initialization.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Started Daily Cleanup of Temporary Directories.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Daily Cleanup of Temporary Directories.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Timers.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Timers.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Listening on D-Bus System Message Bus Socket.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting D-Bus System Message Bus Socket.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Sockets.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Sockets.
Nov 28 07:47:40 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Basic System.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting D-Bus System Message Bus...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Network Service...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Permit User Sessions...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Login Service...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Network Time Service...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Permit User Sessions.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-logind[22]: New seat seat0.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Console Getty.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Console Getty...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Login Prompts.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Login Prompts.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Login Service.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-networkd[20]: host0           : Cannot configure IPv4 forwarding for interface host0: Read-only file system
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-networkd[20]: host0           : Cannot configure IPv6 forwarding for interface: Read-only file system
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-networkd[20]: Enumeration completed
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Network Service.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-networkd[20]: host0           : gained carrier
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Network.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Network.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd-networkd[20]: host0           : link configured
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Samba domain controller daemon.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Samba domain controller daemon...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at ntpd[23]: ntpd 4.2.6p5@1.2349-o Wed Apr 12 21:24:06 UTC 2017 (1)
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Network Time Service.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Multi-User System.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Multi-User System.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Reached target Graphical Interface.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Graphical Interface.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at ntpd[26]: proto: precision = 0.071 usec
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Starting Update UTMP about System Runlevel Changes...
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at ntpd[26]: 0.0.0.0 c01d 0d kern kernel time sync enabled
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Started Update UTMP about System Runlevel Changes.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at systemd[1]: Startup finished in 4.837s.
Nov 28 07:47:41 nsdc-mail.ad.obkircher.at ntpd[26]: MS-SNTP signd operations currently block ntpd degrading service to all clients.
Nov 28 07:47:44 nsdc-mail.ad.obkircher.at samba[25]: samba version 4.6.11 started.
Nov 28 07:47:44 nsdc-mail.ad.obkircher.at samba[25]: Copyright Andrew Tridgell and the Samba Team 1992-2017
Nov 28 07:47:46 nsdc-mail.ad.obkircher.at samba[25]: samba: using 'standard' process model
Nov 28 07:47:46 nsdc-mail.ad.obkircher.at winbindd[39]: [2018/11/28 07:47:46.628545,  0] ../source3/winbindd/winbindd_cache.c:3171(initialize_winbindd_cache)
Nov 28 07:47:46 nsdc-mail.ad.obkircher.at winbindd[39]:   initialize_winbindd_cache: clearing cache and re-creating with version number 2
Nov 28 07:47:47 nsdc-mail.ad.obkircher.at winbindd[39]: [2018/11/28 07:47:47.193890,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Nov 28 07:47:47 nsdc-mail.ad.obkircher.at winbindd[39]:   STATUS=daemon 'winbindd' finished starting up and ready to serve connections
Nov 28 07:47:47 nsdc-mail.ad.obkircher.at smbd[30]: [2018/11/28 07:47:47.696398,  0] ../lib/util/become_daemon.c:124(daemon_ready)
Nov 28 07:47:47 nsdc-mail.ad.obkircher.at smbd[30]:   STATUS=daemon 'smbd' finished starting up and ready to serve connections
Nov 28 08:02:40 nsdc-mail.ad.obkircher.at systemd[1]: Starting Cleanup of Temporary Directories...
Nov 28 08:02:40 nsdc-mail.ad.obkircher.at systemd[1]: Started Cleanup of Temporary Directories.

(Michael Tuschek) #12

Dear Davide,

The nsdc jornalfile is huge do you need all?

Cheers Michael


(Davide Principi) #13

It looks like your last yum update (cron) died unexpectedly and the samba nsdc version was not upgraded.

First of all, check if your RPM db is consistent. For instance

 rpm -Va

Then see if yum recorded something else

 yum history info 24

(Michael Tuschek) #14

Hier is the end of the

yum history info 24

Scriptlet output:
1 warning: /etc/samba/smb.conf created as /etc/samba/smb.conf.rpmnew
2 warning: /etc/group created as /etc/group.rpmnew
3 warning: /etc/shadow created as /etc/shadow.rpmnew
4 Created symlink from /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service to /usr/lib/systemd/system/NetworkManager-wait-online.service.
5 warning: /etc/shorewall/mangle created as /etc/shorewall/mangle.rpmnew
6 warning: /etc/shorewall/policy created as /etc/shorewall/policy.rpmnew
7 warning: /etc/shorewall/shorewall.conf created as /etc/shorewall/shorewall.conf.rpmnew
8 warning: /etc/freshclam.conf created as /etc/freshclam.conf.rpmnew
9 warning: /usr/share/nextcloud/.htaccess saved as /usr/share/nextcloud/.htaccess.rpmsave
10 warning: /etc/httpd/conf.d/SOGo.conf created as /etc/httpd/conf.d/SOGo.conf.rpmnew
11 warning: /etc/amavisd/amavisd.conf created as /etc/amavisd/amavisd.conf.rpmnew
12 warning: /etc/unbound/unbound.conf created as /etc/unbound/unbound.conf.rpmnew
13
14 UPGRADE: Automatically re-enabling default systemd units:
15 brandbot.path
16 rhel-autorelabel.service
17 rhel-autorelabel-mark.service
18 rhel-configure.service
19 rhel-dmesg.service
20 rhel-domainname.service
21 rhel-import-state.service
22 rhel-loadmodules.service
23 rhel-readonly.service
24

Does this help?


(Michael Tuschek) #15

And here the beginning:

[root@mail ~]# yum history info 24
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 24
Begin time : Wed Nov 28 04:39:58 2018
Begin rpmdb : 830:ab970db60c98ca5c52495cc5d557ee5e655c3f78
User : root
Return-Code : ** Aborted **
Command Line : update
Transaction performed with:
Updated rpm-4.11.3-25.el7.x86_64 @base
Installed yum-3.4.3-158.el7.centos.noarch @base
Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda
Installed yum-plugin-fastestmirror-1.1.31-46.el7_5.noarch @updates
Packages Altered:
Updated NetworkManager-1:1.8.0-11.el7_4.x86_64 @updates
Update 1:1.10.2-16.el7_5.x86_64 @updates


(Davide Principi) #16

You could try

 yum-complete-transaction

(Michael Tuschek) #17

Seems to be not installed

[root@mail ~]# yum-complete-transaction
-bash: yum-complete-transaction: command not found


(Davide Principi) #18

Try

 yum load-transaction

(Michael Tuschek) #19

Thanks Davide,
I had to install yum-utils first with:

yum install yum-utils

then

[root@mail ~]# yum-complete-transaction
Loaded plugins: fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • base: mirror.inode.at
  • epel: epel.ip-connect.vn.ua
  • extras: mirror.softaculous.com
  • nethforge: mirror.alpix.eu
  • nethserver-base: mirror.alpix.eu
  • nethserver-updates: mirror.alpix.eu
  • updates: mirror.alpix.eu
    No unfinished transactions left.

did not help, but

yum reinstall nethserver-dc

fix my user panel


(Michael Tuschek) #20

Thanks you for your great help.

Michael