[Samba] LDAP broken after AD DC upgrade from 4.7 to 4.8
- Date: Fri, 25 May 2018 22:04:28 +0200
- From: Bastian Machek via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] LDAP broken after AD DC upgrade from 4.7 to 4.8
I just upgraded my AD DC from 4.7.6 to 4.8.1. (Arch Linux)
After a reboot my LDAP database is almost empty, when accessed from a
LDAP browser or dsa.msc.
samba-tool dbcheck --fix fails as even LostAndFound isn't there anymore.
ERROR(ldb): uncaught exception - descriptor_modify on
CN=SERVER,CN=LostAndFound,DC=dschungel,DC=local failed: No such Base DN:
File "/usr/lib/python2.7/site-packages/samba/netcmd/__init__.py", line
176, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/samba/netcmd/dbcheck.py", line
157, in run
File "/usr/lib/python2.7/site-packages/samba/dbchecker.py", line 218,
error_count += self.check_object(object.dn, attrs=attrs)
File "/usr/lib/python2.7/site-packages/samba/dbchecker.py", line 2308,
File "/usr/lib/python2.7/site-packages/samba/dbchecker.py", line 817,
Funny thing is, if I do ldbsearch on my files in
/var/lib/samba/private/sam.ldb.d/ everything still seems to be there.
Did anybody have any similar problems?
To unsubscribe from this list go to the following URL and read the