{"id":7565,"date":"2004-06-11T12:32:26","date_gmt":"2004-06-11T10:32:26","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/11\/ldap2mutt\/"},"modified":"2005-04-26T01:59:09","modified_gmt":"2005-04-25T22:59:09","slug":"ldap2mutt","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/11\/ldap2mutt\/","title":{"rendered":"ldap2mutt"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Although Mutt can query LDAP directories for addresses directly, sometimes connectivity to LDAP server is troublesome (firewalls, company policies, etc).  One way to go around this problem would be to create Mutt addressbook regularly from the content of LDAP directory.  This script does exactly this.  Specify which LDAP server to query, the branch where people records are, and the filter to use.  Output can be redirected to the file of your choice.<\/p>\n<p><a href =\"\/wordpress\/wp-content\/20040611-ldap2mutt.perl\">ldap2mutt.pl<\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Although Mutt can query LDAP directories for addresses directly, sometimes connectivity to LDAP server is troublesome (firewalls, company policies, etc). One way to go around this problem would be to create Mutt addressbook regularly from the content of LDAP directory. This script does exactly this. Specify which LDAP server to query, the branch where people &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/11\/ldap2mutt\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ldap2mutt<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[36,39],"keyring_services":[],"class_list":["post-7565","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","tag-perl","tag-software"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":7379,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/23\/how-can-i-configure-mutt-to-use-addresses-from-ldap-addressbook\/","url_meta":{"origin":7565,"position":0},"title":"How can I configure mutt to use addresses from LDAP addressbook?","author":"Leonid Mamchenkov","date":"March 23, 2004","format":false,"excerpt":"\"mutt ldap address\" \".muttrc ldap address\" \"mutt ldap\" \"ldap script for mutt\" \"ms exchange directory\" You will need to download one of the LDAP querying scripts for mutt. One of them is here. After downloading, edit the script to match your LDAP server and put lines like set query_command=\"\/home\/username\/bin\/mutt-ldap.pl '%s'\"\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22,"url":"https:\/\/mamchenkov.net\/wordpress\/2002\/02\/25\/linux-ha-clustering-mutt-with-ldap-and-workstation-upgrades\/","url_meta":{"origin":7565,"position":1},"title":"Linux HA clustering, mutt with LDAP, and workstation upgrades","author":"Leonid Mamchenkov","date":"February 25, 2002","format":false,"excerpt":"Last few days I have spent installing a HA (High-availability) cluster. I needed an active\/active setup for two nodes to run Apache and PostgreSQL services. Both nodes are connected to external shared storage. It took me some time to get the concepts (especially with quorum partitions and raw devices), but\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5,"url":"https:\/\/mamchenkov.net\/wordpress\/2001\/11\/08\/first-ldap-encounter\/","url_meta":{"origin":7565,"position":2},"title":"First LDAP encounter","author":"Leonid Mamchenkov","date":"November 8, 2001","format":false,"excerpt":"I have started to learn LDAP today. Here is how I did it: Install new Red Hat Linux 7.2 server. During install Specify to authenticate through LDAP which is located at 127.0.0.1 I forgot to permit SSH connection during firewall configuration In boot manager configuration, I have specified to use\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7449,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/20\/exch2mutt\/","url_meta":{"origin":7565,"position":3},"title":"exch2mutt","author":"Leonid Mamchenkov","date":"April 20, 2004","format":false,"excerpt":"This is a very old and outdated couple of scripts that convert MS Exchange user listing to Mutt addressbook format. I don't know why would anyone use it, since Mutt can talk directly with MS Exchange's LDAP directory nowadays. exch2mutt.tar.gz","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7517,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/05\/21\/fix-for-fedora-linux-core-2-ldap-authentication-problem\/","url_meta":{"origin":7565,"position":4},"title":"Fix for Fedora Linux Core 2 LDAP authentication problem","author":"Leonid Mamchenkov","date":"May 21, 2004","format":false,"excerpt":"Just few minutes after posting to Fedora mailing, I've managed to find the solution to my problem with LDAP authentication in Fedora Linux Core 2. Murphy's law in action. :) It seems that there was an undocumented change in default behavior. File \/etc\/ldap.conf (provided by nss_ldap) says: # OpenLDAP SSL\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9037,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/03\/murphys-law-is-still-at-work\/","url_meta":{"origin":7565,"position":5},"title":"Murphy&#8217;s Law is still at work","author":"Leonid Mamchenkov","date":"June 3, 2005","format":false,"excerpt":"Murphy's Law is still at work: If anything can go wrong, it will. Just when I thought I was finishing with integrating main LDAP parts (that includes installation, configuration and testing of LDAP server, deployment of LDAP cluster, development of all needed web interfaces, documenting everything, training other people to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7565"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7565\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7565"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}