{"id":59,"date":"2008-01-18T10:44:10","date_gmt":"2008-01-18T10:44:10","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/"},"modified":"2010-11-11T13:01:43","modified_gmt":"2010-11-11T13:01:43","slug":"connecting-to-ldap-using-kerberos-authentication-in-perl","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/","title":{"rendered":"Connecting to an LDAP server using Kerberos authentication in Perl"},"content":{"rendered":"<p>It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#8217;d document it.<\/p>\n<p>I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that it needed to do it without any external input, so it couldn&#8217;t rely on a password being entered or someone doing a kinit first.<\/p>\n<p>The code is fairly simple. It basically gets the right credentials using a pre-initialised keytab and then sets up the relevant objects and uses them to bind to an LDAP server.<\/p>\n<blockquote>\n<pre>#!\/usr\/local\/bin\/perl -w    \r\n\r\n# How to connect to an LDAP server using GSSAPI Kerberos auth.    \r\n\r\nuse strict;    \r\n\r\nuse Net::LDAP;\r\nuse Authen::SASL qw(Perl);\r\n# This module makes doing the kinit much easier\r\nuse Authen::Krb5::Easy qw(kinit kdestroy kerror);    \r\n\r\n# Location of the keytab which contains testuser's key\r\n# exported in kadmin by: ktadd -k \/tmp\/test.keytab testuser\r\nmy $keytab = '\/tmp\/test.keytab';\r\n# Where to store the credentials\r\nmy $ccache = '\/tmp\/test.ccache';    \r\n\r\n$ENV{KRB5CCNAME} = $ccache;    \r\n\r\n# Get credentials for testuser\r\nkinit($keytab, 'testuser@CS.UKC.AC.UK') || die kerror();    \r\n\r\n# Set up a SASL object\r\nmy $sasl = Authen::SASL-&gt;new(mechanism =&gt; 'GSSAPI') || die \"$@\";    \r\n\r\n# Set up an LDAP connection\r\nmy $ldap = Net::LDAP-&gt;new('ldap.cs.kent.ac.uk') || die \"$@\";    \r\n\r\n# Finally bind to LDAP using our SASL object\r\nmy $mesg = $ldap-&gt;bind(sasl =&gt; $sasl);    \r\n\r\n# This should say \"0 (Success)\" if it worked\r\nprint \"Message is \". $mesg-&gt;code .\" (\". $mesg-&gt;error .\").\\n\";    \r\n\r\n# Clear up the credentials\r\nkdestroy();<\/pre>\n<\/blockquote>\n<p>Hopefully this will help someone else out. Comments welcome \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#8217;d document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that it needed to do it &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[10,12,9,7,8,13,6,11],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-computing","tag-authsasl","tag-authenkrb5easy","tag-gssapi","tag-kerberos","tag-keytab","tag-krb5ccname","tag-ldap","tag-netldap"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#039;d document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tim Bishop\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tim Bishop |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop\" \/>\n\t\t<meta property=\"og:description\" content=\"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#039;d document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-01-18T10:44:10+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-11-11T13:01:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop\" \/>\n\t\t<meta name=\"twitter:description\" content=\"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I&#039;d document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#article\",\"name\":\"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop\",\"headline\":\"Connecting to an LDAP server using Kerberos authentication in Perl\",\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"},\"datePublished\":\"2008-01-18T10:44:10+00:00\",\"dateModified\":\"2010-11-11T13:01:43+00:00\",\"inLanguage\":\"en-GB\",\"commentCount\":7,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#webpage\"},\"articleSection\":\"Computing, Auth::SASL, Authen::Krb5::Easy, GSSAPI, Kerberos, keytab, KRB5CCNAME, LDAP, Net::LDAP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"name\":\"Computing\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"position\":2,\"name\":\"Computing\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#listItem\",\"name\":\"Connecting to an LDAP server using Kerberos authentication in Perl\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#listItem\",\"position\":3,\"name\":\"Connecting to an LDAP server using Kerberos authentication in Perl\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"name\":\"Computing\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\",\"name\":\"Tim Bishop\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Tim Bishop\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/\",\"name\":\"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop\",\"description\":\"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I'd document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2008\\\/01\\\/18\\\/connecting-to-ldap-using-kerberos-authentication-in-perl\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2008-01-18T10:44:10+00:00\",\"dateModified\":\"2010-11-11T13:01:43+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/\",\"name\":\"Tim Bishop\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop","description":"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I'd document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that","canonical_url":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#article","name":"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop","headline":"Connecting to an LDAP server using Kerberos authentication in Perl","author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"},"datePublished":"2008-01-18T10:44:10+00:00","dateModified":"2010-11-11T13:01:43+00:00","inLanguage":"en-GB","commentCount":7,"mainEntityOfPage":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#webpage"},"articleSection":"Computing, Auth::SASL, Authen::Krb5::Easy, GSSAPI, Kerberos, keytab, KRB5CCNAME, LDAP, Net::LDAP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bishnet.net\/tim\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","name":"Computing"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","position":2,"name":"Computing","item":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#listItem","name":"Connecting to an LDAP server using Kerberos authentication in Perl"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#listItem","position":3,"name":"Connecting to an LDAP server using Kerberos authentication in Perl","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","name":"Computing"}}]},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person","name":"Tim Bishop"},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author","url":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/","name":"Tim Bishop","image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"}},{"@type":"WebPage","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#webpage","url":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/","name":"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop","description":"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I'd document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"datePublished":"2008-01-18T10:44:10+00:00","dateModified":"2010-11-11T13:01:43+00:00"},{"@type":"WebSite","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website","url":"https:\/\/www.bishnet.net\/tim\/blog\/","name":"Tim Bishop","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"Tim Bishop |","og:type":"article","og:title":"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop","og:description":"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I'd document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that","og:url":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/","article:published_time":"2008-01-18T10:44:10+00:00","article:modified_time":"2010-11-11T13:01:43+00:00","twitter:card":"summary","twitter:title":"Connecting to an LDAP server using Kerberos authentication in Perl | Tim Bishop","twitter:description":"It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I'd document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that"},"aioseo_meta_data":{"post_id":"59","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-11-11 09:57:27","updated":"2025-07-14 15:04:43","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/\" title=\"Computing\">Computing<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tConnecting to an LDAP server using Kerberos authentication in Perl\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bishnet.net\/tim\/blog"},{"label":"Computing","link":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/"},{"label":"Connecting to an LDAP server using Kerberos authentication in Perl","link":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/01\/18\/connecting-to-ldap-using-kerberos-authentication-in-perl\/"}],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":2,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":355,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions\/355"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}