Problem: The synchronization to Samba doesn't work and an EOFError traceback is shown

Problem

Problem: The synchronization to Samba doesn’t work for example creating a new user. The following traceback is shown in the log file /var/log/univention/connector-s4-status.log:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/main.py", line 282, in main
    connect()
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/main.py", line 181, in connect
    s4.initialize_ucs()
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 964, in initialize_ucs
    self.poll_ucs()
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1044, in poll_ucs
    dn, new, old, old_dn = cPickle.load(f)
EOFError

Solution

Remove all empty files in the directory /var/lib/univention-connector/s4/.

Mastodon