On 17-10-03 13:59:51, Lin Pro wrote:
Fedora 27
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
Hello,
I need to set LDB_MODULES_PATH=/usr/lib64/samba/ldb, so it can
survive a machine reboot.
Which package is responsible for that PATH anyway and how to find out?
Right now here is what it is:
ldbsearch -H /var/lib/samba/private/sam.ldb
WARNING: Module [samba_dsdb] not found - do you need to set
LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
Failed to connect to /var/lib/samba/private/sam.ldb - (null)
After the PATH is set things work OK.
One could set a PATH in one of the .bashrc* files but I am afraid
that the PATH is required by a process, not just a user.
Google is your friend. Set it in /etc/profile.d/whatever.sh; see
https://lists.fedorahosted.org/pipermail/sssd-users/2014-August/001992.html
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
' <http://www.georgeanelson.com/>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx