{"id":1063,"date":"2017-04-28T12:03:46","date_gmt":"2017-04-28T19:03:46","guid":{"rendered":"http:\/\/breanneboland.com\/blog\/?p=1063"},"modified":"2017-04-28T12:03:46","modified_gmt":"2017-04-28T19:03:46","slug":"1063","status":"publish","type":"post","link":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/","title":{"rendered":"Yum and ldapsearch: a Lesson for 28 April"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1064\" src=\"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg\" alt=\"\" width=\"1024\" height=\"681\" srcset=\"https:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg 1024w, https:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b-300x200.jpg 300w, https:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b-768x511.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><em><a href=\"https:\/\/www.flickr.com\/photos\/mukluk\/1034486730\" target=\"_blank\" rel=\"noopener noreferrer\">Source<\/a><\/em><\/p>\n<p>The question of how to install things still trips me up sometimes. There are a bunch of possible ways it could be done in any given situation, and fairly often, the preferred method isn&#8217;t detailed overly meticulously in the README or other docs. Sometimes you have to clone repos and run a certain command in that directory; sometimes it means adding something to \/usr\/bin and opening a new terminal window; sometimes you summon a UI with a texty terminal command, which feels oddly like sorcery to me.<\/p>\n<p>It&#8217;s a good deal easier now, but when I was just starting it could be a real trial. I spent a lot of an afternoon at Hackbright struggling with Postgres because I did a brew install instead of <a href=\"https:\/\/postgresapp.com\" target=\"_blank\" rel=\"noopener noreferrer\">Postgres.app<\/a>, which&#8230; did not get me what I needed and introduced a host of other problems. (It did get me a really interesting philosophical kind of conversation about the pros and cons of installing things from too high a level, courtesy of a teacher who became my friend &#8211; who still semifondly recalls that time she had to unpick what fuckery I&#8217;d wrought\u00a0in such good faith.)<\/p>\n<p>Today, trying to figure out how to get the command\u00a0<a href=\"https:\/\/linux.die.net\/man\/1\/ldapsearch\" target=\"_blank\" rel=\"noopener noreferrer\"><em>ldapsearc<\/em><\/a><em>h\u00a0<\/em>available to me, I learned one thing and was reminded of another.<\/p>\n<ol>\n<li>I learned\u00a0<em>yum whatprovides<\/em><em> *\/$WhatYouSeek<\/em>. (Thanks, <a href=\"https:\/\/serverfault.com\/questions\/459083\/how-to-get-ldapsearch-on-scientific-linux\" target=\"_blank\" rel=\"noopener noreferrer\">Server Fault<\/a>.) In my case,\u00a0<em>ldapsearch<\/em> was one of several commands inside a differently named package:\u00a0<em>openldap<\/em>. Oho. (It&#8217;s actually in a couple different families of packages, but I do not need to get Perl up in my business today.)<\/li>\n<li>I was reminded that &#8211; less commonly for the kind of work that I do &#8211; sometimes the needed command is not the name of the package. Some packages aren&#8217;t all about one command doing one thing well, despite the best urgings of the Unix philosophy. So &#8211;\u00a0<em>ldapsearch<\/em> is snuggled into\u00a0<em>openldap<\/em>. Got it.<\/li>\n<\/ol>\n<p>Now you&#8217;ve got it too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source The question of how to install things still trips me up sometimes. There are a bunch of possible ways it could be done in any given situation, and fairly often, the preferred method isn&#8217;t detailed overly meticulously in the README or other docs. Sometimes you have to clone repos and run a certain command &hellip; <a href=\"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Yum and ldapsearch: a Lesson for 28 April<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[230,231,202,223,232],"class_list":["post-1063","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-errata","tag-linux","tag-making-the-internet-i-wish-already-existed","tag-terminal-business","tag-yum"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Yum and ldapsearch: a Lesson for 28 April - Breanne Boland<\/title>\n<meta name=\"description\" content=\"In which I learn a new subcommand for yum and that not all packages are equally transparent.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Yum and ldapsearch: a Lesson for 28 April - Breanne Boland\" \/>\n<meta property=\"og:description\" content=\"In which I learn a new subcommand for yum and that not all packages are equally transparent.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/\" \/>\n<meta property=\"og:site_name\" content=\"Breanne Boland\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-28T19:03:46+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"headline\":\"Yum and ldapsearch: a Lesson for 28 April\",\"datePublished\":\"2017-04-28T19:03:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/\"},\"wordCount\":338,\"publisher\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"image\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/1034486730_d445682736_b.jpg\",\"keywords\":[\"errata\",\"linux\",\"making the internet i wish already existed\",\"terminal business\",\"yum\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/\",\"url\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/\",\"name\":\"Yum and ldapsearch: a Lesson for 28 April - Breanne Boland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/1034486730_d445682736_b.jpg\",\"datePublished\":\"2017-04-28T19:03:46+00:00\",\"description\":\"In which I learn a new subcommand for yum and that not all packages are equally transparent.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#primaryimage\",\"url\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/1034486730_d445682736_b.jpg\",\"contentUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/1034486730_d445682736_b.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2017\\\/04\\\/28\\\/1063\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Yum and ldapsearch: a Lesson for 28 April\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/\",\"name\":\"Breanne Boland\",\"description\":\"Appsec engineer, SRE, writer, UX, endless questions mostly\",\"publisher\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Yum and ldapsearch: a Lesson for 28 April - Breanne Boland","description":"In which I learn a new subcommand for yum and that not all packages are equally transparent.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/","og_locale":"en_US","og_type":"article","og_title":"Yum and ldapsearch: a Lesson for 28 April - Breanne Boland","og_description":"In which I learn a new subcommand for yum and that not all packages are equally transparent.","og_url":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/","og_site_name":"Breanne Boland","article_published_time":"2017-04-28T19:03:46+00:00","og_image":[{"url":"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#article","isPartOf":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/"},"author":{"name":"admin","@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"headline":"Yum and ldapsearch: a Lesson for 28 April","datePublished":"2017-04-28T19:03:46+00:00","mainEntityOfPage":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/"},"wordCount":338,"publisher":{"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"image":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#primaryimage"},"thumbnailUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg","keywords":["errata","linux","making the internet i wish already existed","terminal business","yum"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/","url":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/","name":"Yum and ldapsearch: a Lesson for 28 April - Breanne Boland","isPartOf":{"@id":"https:\/\/breanneboland.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#primaryimage"},"image":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#primaryimage"},"thumbnailUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg","datePublished":"2017-04-28T19:03:46+00:00","description":"In which I learn a new subcommand for yum and that not all packages are equally transparent.","breadcrumb":{"@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#primaryimage","url":"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg","contentUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2017\/04\/1034486730_d445682736_b.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/breanneboland.com\/blog\/2017\/04\/28\/1063\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/breanneboland.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Yum and ldapsearch: a Lesson for 28 April"}]},{"@type":"WebSite","@id":"https:\/\/breanneboland.com\/blog\/#website","url":"https:\/\/breanneboland.com\/blog\/","name":"Breanne Boland","description":"Appsec engineer, SRE, writer, UX, endless questions mostly","publisher":{"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/breanneboland.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","caption":"admin"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g"}}]}},"_links":{"self":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/1063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/comments?post=1063"}],"version-history":[{"count":1,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/1063\/revisions"}],"predecessor-version":[{"id":1065,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/1063\/revisions\/1065"}],"wp:attachment":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/media?parent=1063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/categories?post=1063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/tags?post=1063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}