Welcome to the Linux Foundation Forum!

openldap-clients package

Hi,

In chapter 29 it's referred to the openldap-clients package which I cannot find on my Debian system. Is this package specific to RedHat-based systems (I find references which suggest that)? Are the ldap-utils the replacement I should use for Debian?

  1. ┌──(alu@nb)-[~]
  2. └─$ apt info ldap-utils
  3. Package: ldap-utils
  4. Version: 2.5.13+dfsg-5
  5. Priority: optional
  6. Section: net
  7. Source: openldap
  8. Maintainer: Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
  9. Installed-Size: 780 kB
  10. Provides: ldap-client, openldap-utils
  11. Depends: libc6 (>= 2.34), libldap-2.5-0 (= 2.5.13+dfsg-5), libsasl2-2 (>= 2.1.28+dfsg)
  12. Suggests: libsasl2-modules, libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
  13. Conflicts: ldap-client, openldap-utils, umich-ldap-utils
  14. Replaces: openldap-utils, openldapd, slapd (<< 2.2.23-0.pre6)
  15. Homepage: https://www.openldap.org/
  16. Tag: implemented-in::c, interface::commandline, network::client,
  17. protocol::kerberos, protocol::ldap, role::program, scope::utility,
  18. works-with::db
  19. Download-Size: 144 kB
  20. APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
  21. Description: OpenLDAP utilities
  22. This package provides utilities from the OpenLDAP (Lightweight
  23. Directory Access Protocol) package. These utilities can access a
  24. local or remote LDAP server and contain all the client programs
  25. required to access LDAP servers.
  26.  

Thanks,
Urs

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Answers

  • Hi Urs,

    In chapter 29 it's referred to the openldap-clients package which I cannot find on my Debian system. Is >this package specific to RedHat-based systems (I find references which suggest that)?

    Yes, that's specified in step 1 of Lab 29.2

    Are the ldap-utils the replacement I should use for Debian?

    That's correct. After installed, do "ldap" and press the tab key. You will see the ldap tools:

    ubuntu@master:~$ ldap
    ldapadd ldapdelete ldapmodify ldappasswd ldapurl
    ldapcompare ldapexop ldapmodrdn ldapsearch ldapwhoami

    Regards,
    Luis.

  • Posts: 51

    Hi Luis,

    Great, thank you.

    Regards,
    Urs

  • Posts: 51
    edited October 2024

    Hi Luis,

    Thank you for your answer. I just installed the ldap-utils package. However, after the install the command ldap returns:
    bash: ldap: command not found.

    But the utilities got installed anyway:

    1. ┌──(alu@nb)-[~]
    2. └─$ man -k ldap
    3. ldap.conf (5) - LDAP configuration file/environment variables
    4. ldapadd (1) - LDAP modify entry and LDAP add entry tools
    5. ldapcompare (1) - LDAP compare tool
    6. ldapdelete (1) - LDAP delete entry tool
    7. ldapexop (1) - issue LDAP extended operations
    8. ldapmodify (1) - LDAP modify entry and LDAP add entry tools
    9. ldapmodrdn (1) - LDAP rename entry tool
    10. ldappasswd (1) - change the password of an LDAP entry
    11. ldapsearch (1) - LDAP search tool
    12. ldapurl (1) - LDAP URL formatting tool
    13. ldapwhoami (1) - LDAP who am i? tool
    14. ldif (5) - LDAP Data Interchange Format
    15. URI::ldap (3pm) - LDAP Uniform Resource Locators

    Do you have other LDAP-related packages installed on your system which allows the command ldap to return the installed LDAP utilities?

    Regards,
    Urs

  • Hi Urs,

    Do you have other LDAP-related packages installed on your system which allows the command ldap to >return the installed LDAP utilities?

    No, that's ok, you got the needed packages installed. I was using auto completion in bash, but "ldap" alone won't run anything.

    So you are good to go forward with the lab.

    Regards,
    Luis.

  • Posts: 51

    Perfect, thanks.

    Regards,
    Urs

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training