Re: ldbsearch and missing LDB_MODULES_PATH, how to set it correctly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux