Searching LDAP from the command line

This is one example for searching OpenLDAP using the command line:

$ ldapsearch \
    -h myldaphost \
    -p 389 \
    -D "cn=admin,dc=skybert,dc=net" \
    -w bar \
    -x \
    -b "ou=Users,ou=mysite,dc=skybert,dc=net" \
    "cn=myuser*"

~ /home 🏠 ~ talks 💬 ~ bash ~ craftsmanship ~ db ~ dongxi ~ emacs ~ escenic ~ iam ~ java ~ js ~ language ~ latex ~ ldap ~ life ~ linux ~ llm ~ mac-os-x ~ mt-foo ~ network ~ norsk ~ python ~ quotes ~ running ~ security ~ travel ~ unix ~ various ~ vcs ~ webdesign ~ windows ~ discoveries ~ cv 🧙 ~

Licensed under CC BY Creative Commons License ~ 📡 RSS feed ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@hachyderm.io ~ 🎥 youtube.com/@skybert