Hi, i upgraded my domain controller (dc1 and dc2, Ubuntu 18.04, compiled version of samba). It was a in-place upgrade from samba 4.11.7 to 4.12.3 Now I get the following error: # samba-tool drs showrepl ldb: unable to dlopen /usr/local/samba/lib/ldb/local_password.so : /usr/local/samba/lib/private/libsamdb-common-samba4.so: version `SAMBA_4.11.7' not found (required by /usr/local/samba/lib/ldb/local_password.so) ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_dn.so : /usr/local/samba/lib/private/libdsdb-module-samba4.so: version `SAMBA_4.11.7' not found (required by /usr/local/samba/lib/ldb/simple_dn.so) ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_ldap_map.so : /usr/local/samba/lib/private/libldbsamba-samba4.so: version `SAMBA_4.11.7' not found (required by /usr/local/samba/lib/ldb/simple_ldap_map.so) ... But replication output shows fine. How can i fix this? BR Micha
Hi, it's me again. im trying to answer myself. I just delete the "lib" directory in /usr/local/samba. After i in-place upgrade again the lib folder was also copied and the error is gone. Is this a valid proceed to fix? BR Micha Am 28.05.2020 um 10:27 schrieb Micha Ballmann via samba:> Hi, > > i upgraded my domain controller (dc1 and dc2, Ubuntu 18.04, compiled > version of samba). It was a in-place upgrade from samba 4.11.7 to 4.12.3 > > Now I get the following error: > > # samba-tool drs showrepl > > ldb: unable to dlopen /usr/local/samba/lib/ldb/local_password.so : > /usr/local/samba/lib/private/libsamdb-common-samba4.so: version > `SAMBA_4.11.7' not found (required by > /usr/local/samba/lib/ldb/local_password.so) > ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_dn.so : > /usr/local/samba/lib/private/libdsdb-module-samba4.so: version > `SAMBA_4.11.7' not found (required by > /usr/local/samba/lib/ldb/simple_dn.so) > ldb: unable to dlopen /usr/local/samba/lib/ldb/simple_ldap_map.so : > /usr/local/samba/lib/private/libldbsamba-samba4.so: version > `SAMBA_4.11.7' not found (required by > /usr/local/samba/lib/ldb/simple_ldap_map.so) > > ... > > But replication output shows fine. > > How can i fix this? > > BR > > Micha >
On 28/05/2020 09:59, Micha Ballmann via samba wrote:> Hi, > > it's me again. im trying to answer myself. I just delete the "lib" > directory in /usr/local/samba. After i in-place upgrade again the lib > folder was also copied and the error is gone. > > Is this a valid proceed to fix?Possibly, or you could have just removed the three files that couldn't be opened, they have been removed between 4.11.7 and 4.12.3 Rowland