Web lists-archives.com

[Samba] ldbsearch fails due to LDB_MODULES_PATH not set, is it critical for ADDC operation?




Hello,
ldbsearch -H .... fails with a message that samba_dsdb
is not found and LDB_MODULES_PATH needs to be set. 

Fixing it temporarily with:
export LDB_MODULES_PATH=/usr/lib64/samba/ldb

allows ldbseach command to work.
Is it critical for ADDC operation though?

[root@feddc ~]# rpm -q samba libldb ldb-tools samba-dc
samba-4.7.0-12.fc27.x86_64
libldb-1.2.2-1.fc27.x86_64
ldb-tools-1.2.2-1.fc27.x86_64
samba-dc-4.7.0-12.fc27.x86_64
[root@feddc ~]# cat /etc/redhat-release 
Fedora release 27 (Twenty Seven)


Thank you for looking into it
Lin

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba