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?
┌──(alu@nb)-[~] └─$ apt info ldap-utils Package: ldap-utils Version: 2.5.13+dfsg-5 Priority: optional Section: net Source: openldap Maintainer: Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org> Installed-Size: 780 kB Provides: ldap-client, openldap-utils Depends: libc6 (>= 2.34), libldap-2.5-0 (= 2.5.13+dfsg-5), libsasl2-2 (>= 2.1.28+dfsg) Suggests: libsasl2-modules, libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal Conflicts: ldap-client, openldap-utils, umich-ldap-utils Replaces: openldap-utils, openldapd, slapd (<< 2.2.23-0.pre6) Homepage: https://www.openldap.org/ Tag: implemented-in::c, interface::commandline, network::client, protocol::kerberos, protocol::ldap, role::program, scope::utility, works-with::db Download-Size: 144 kB APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages Description: OpenLDAP utilities This package provides utilities from the OpenLDAP (Lightweight Directory Access Protocol) package. These utilities can access a local or remote LDAP server and contain all the client programs required to access LDAP servers.
Thanks,
Urs
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 ldapwhoamiRegards,
Luis.0 -
Hi Luis,
Great, thank you.
Regards,
Urs0 -
Hi Luis,
Thank you for your answer. I just installed the
ldap-utilspackage. However, after the install the commandldapreturns:bash: ldap: command not found.But the utilities got installed anyway:
┌──(alu@nb)-[~] └─$ man -k ldap ldap.conf (5) - LDAP configuration file/environment variables ldapadd (1) - LDAP modify entry and LDAP add entry tools ldapcompare (1) - LDAP compare tool ldapdelete (1) - LDAP delete entry tool ldapexop (1) - issue LDAP extended operations ldapmodify (1) - LDAP modify entry and LDAP add entry tools ldapmodrdn (1) - LDAP rename entry tool ldappasswd (1) - change the password of an LDAP entry ldapsearch (1) - LDAP search tool ldapurl (1) - LDAP URL formatting tool ldapwhoami (1) - LDAP who am i? tool ldif (5) - LDAP Data Interchange Format URI::ldap (3pm) - LDAP Uniform Resource Locators
Do you have other LDAP-related packages installed on your system which allows the command
ldapto return the installed LDAP utilities?Regards,
Urs0 -
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.0 -
Perfect, thanks.
Regards,
Urs1
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 7 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 16 Cloud & Containers Training
- 2 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 4 System Administration Training
- 1 System Engineering Training
- 2 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 466 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 128 Mobile Computing
- 20 Android
- 93 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 401 Off Topic
- 125 Introductions
- 32 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 705 Software Development
- 1K Software
- 409 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)