On 17-10-03 13:59:51, Lin Pro wrote:
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
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