GNU/Linux >> Linux Esercitazione >  >> Linux

Come ottenere ldapsearch su Scientific Linux?

Soluzione 1:

Usa yum whatprovides per vedere quale pacchetto fornisce un file. Quanto segue è stato eseguito su SL6.x:

$ yum whatprovides */ldapsearch
...
openldap-clients-2.4.23-15.el6.x86_64 : LDAP client utilities
Matched from:
Filename    : /usr/bin/ldapsearch

Soluzione 2:

Fa parte del pacchetto openldap-clients, quindi yum install openldap-clients .

Il contenuto del pacchetto è quindi:

$ repoquery -lq openldap-clients
/usr/bin/ldapadd
/usr/bin/ldapcompare
/usr/bin/ldapdelete
/usr/bin/ldapexop
/usr/bin/ldapmodify
/usr/bin/ldapmodrdn
/usr/bin/ldappasswd
/usr/bin/ldapsearch
/usr/bin/ldapurl
/usr/bin/ldapwhoami
/usr/share/man/man1/ldapadd.1.gz
/usr/share/man/man1/ldapcompare.1.gz
/usr/share/man/man1/ldapdelete.1.gz
/usr/share/man/man1/ldapexop.1.gz
/usr/share/man/man1/ldapmodify.1.gz
/usr/share/man/man1/ldapmodrdn.1.gz
/usr/share/man/man1/ldappasswd.1.gz
/usr/share/man/man1/ldapsearch.1.gz
/usr/share/man/man1/ldapurl.1.gz
/usr/share/man/man1/ldapwhoami.1.gz

Linux
  1. Come hai iniziato con Linux?

  2. Come ottenere la larghezza della finestra della console Linux in Python

  3. Come ottengo un equivalente di /dev/one in Linux

  4. Come ottenere l'ID thread di un pthread nel programma linux c?

  5. Come ottenere la dimensione fisica di un file in Linux?

Come ottenere l'elenco degli account utente MySQL in Linux

Come ottenere l'utilizzo della CPU di un singolo processo in Linux

Come ottenere il kernel Linux 5.0 in Ubuntu 18.04 LTS

Come ottenere il tuo indirizzo IP su Linux

Come iniziare con Arch Linux

Come ottenere un elenco di collegamenti simbolici su Linux