{"id":249,"date":"2008-04-17T18:48:29","date_gmt":"2008-04-17T17:48:29","guid":{"rendered":"http:\/\/cyberelk.net\/tim\/?p=249"},"modified":"2014-05-20T09:09:45","modified_gmt":"2014-05-20T08:09:45","slug":"proxy-authentication","status":"publish","type":"post","link":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/","title":{"rendered":"Proxy authentication"},"content":{"rendered":"<p>I just submitted a samba patch to add support for proxy authentication to the CUPS &#8216;smb&#8217; backend.  This makes printing to Windows shared printers a little bit better: instead of having to set the user name and password as part of the CUPS print queue definition, jobs requiring authentication details can now collect them from the user who submitted the job.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"250\" data-permalink=\"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/proxy-auth\/\" data-orig-file=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png\" data-orig-size=\"326,251\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Authentication dialog\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png\" class=\"alignnone size-full wp-image-250\" title=\"Authentication dialog\" src=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png\" alt=\"\" width=\"326\" height=\"251\" srcset=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png 326w, https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-300x230.png 300w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><\/p>\n<p><!--more--><\/p>\n<p>Meanwhile, the job is held in the queue:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"252\" data-permalink=\"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/proxy-auth-job-held\/\" data-orig-file=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-job-held.png\" data-orig-size=\"450,132\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Job Held\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-job-held.png\" class=\"alignnone size-full wp-image-252\" title=\"Job Held\" src=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-job-held.png\" alt=\"\" width=\"450\" height=\"132\" srcset=\"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-job-held.png 450w, https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth-job-held-300x88.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>It resumes processing once the authentication details are supplied.  Still to do: use GNOME Keyring to store the details, to prevent having to enter them over and over again when printing several jobs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just submitted a samba patch to add support for proxy authentication to the CUPS &#8216;smb&#8217; backend. This makes printing to Windows shared printers a little bit better: instead of having to set the user name and password as part of the CUPS print queue definition, jobs requiring authentication details can now collect them from [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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}},"categories":[3],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-software"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Proxy authentication - PRINT HEAD<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Proxy authentication - PRINT HEAD\" \/>\n<meta property=\"og:description\" content=\"I just submitted a samba patch to add support for proxy authentication to the CUPS &#8216;smb&#8217; backend. This makes printing to Windows shared printers a little bit better: instead of having to set the user name and password as part of the CUPS print queue definition, jobs requiring authentication details can now collect them from [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/\" \/>\n<meta property=\"og:site_name\" content=\"PRINT HEAD\" \/>\n<meta property=\"article:published_time\" content=\"2008-04-17T17:48:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-05-20T08:09:45+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png\" \/>\n<meta name=\"author\" content=\"Tim Waugh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tim Waugh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/\"},\"author\":{\"name\":\"Tim Waugh\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#\\\/schema\\\/person\\\/23b749f30a67f1b1c6af17024fc94bf6\"},\"headline\":\"Proxy authentication\",\"datePublished\":\"2008-04-17T17:48:29+00:00\",\"dateModified\":\"2014-05-20T08:09:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/\"},\"wordCount\":104,\"publisher\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#\\\/schema\\\/person\\\/23b749f30a67f1b1c6af17024fc94bf6\"},\"image\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2008\\\/04\\\/proxy-auth.png\",\"articleSection\":[\"Software\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/\",\"url\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/\",\"name\":\"Proxy authentication - PRINT HEAD\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2008\\\/04\\\/proxy-auth.png\",\"datePublished\":\"2008-04-17T17:48:29+00:00\",\"dateModified\":\"2014-05-20T08:09:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#primaryimage\",\"url\":\"http:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2008\\\/04\\\/proxy-auth.png\",\"contentUrl\":\"http:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2008\\\/04\\\/proxy-auth.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/2008\\\/04\\\/17\\\/proxy-authentication\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Proxy authentication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#website\",\"url\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/\",\"name\":\"PRINT HEAD\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#\\\/schema\\\/person\\\/23b749f30a67f1b1c6af17024fc94bf6\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/#\\\/schema\\\/person\\\/23b749f30a67f1b1c6af17024fc94bf6\",\"name\":\"Tim Waugh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/printhead.png\",\"url\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/printhead.png\",\"contentUrl\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/printhead.png\",\"width\":731,\"height\":140,\"caption\":\"Tim Waugh\"},\"logo\":{\"@id\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/printhead.png\"},\"sameAs\":[\"http:\\\/\\\/cyberelk.net\\\/tim\"],\"url\":\"https:\\\/\\\/cyberelk.net\\\/tim\\\/author\\\/twaugh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Proxy authentication - PRINT HEAD","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:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/","og_locale":"en_GB","og_type":"article","og_title":"Proxy authentication - PRINT HEAD","og_description":"I just submitted a samba patch to add support for proxy authentication to the CUPS &#8216;smb&#8217; backend. This makes printing to Windows shared printers a little bit better: instead of having to set the user name and password as part of the CUPS print queue definition, jobs requiring authentication details can now collect them from [&hellip;]","og_url":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/","og_site_name":"PRINT HEAD","article_published_time":"2008-04-17T17:48:29+00:00","article_modified_time":"2014-05-20T08:09:45+00:00","og_image":[{"url":"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png","type":"","width":"","height":""}],"author":"Tim Waugh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tim Waugh","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#article","isPartOf":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/"},"author":{"name":"Tim Waugh","@id":"https:\/\/cyberelk.net\/tim\/#\/schema\/person\/23b749f30a67f1b1c6af17024fc94bf6"},"headline":"Proxy authentication","datePublished":"2008-04-17T17:48:29+00:00","dateModified":"2014-05-20T08:09:45+00:00","mainEntityOfPage":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/"},"wordCount":104,"publisher":{"@id":"https:\/\/cyberelk.net\/tim\/#\/schema\/person\/23b749f30a67f1b1c6af17024fc94bf6"},"image":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#primaryimage"},"thumbnailUrl":"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png","articleSection":["Software"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/","url":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/","name":"Proxy authentication - PRINT HEAD","isPartOf":{"@id":"https:\/\/cyberelk.net\/tim\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#primaryimage"},"image":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#primaryimage"},"thumbnailUrl":"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png","datePublished":"2008-04-17T17:48:29+00:00","dateModified":"2014-05-20T08:09:45+00:00","breadcrumb":{"@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#primaryimage","url":"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png","contentUrl":"http:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2008\/04\/proxy-auth.png"},{"@type":"BreadcrumbList","@id":"https:\/\/cyberelk.net\/tim\/2008\/04\/17\/proxy-authentication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cyberelk.net\/tim\/"},{"@type":"ListItem","position":2,"name":"Proxy authentication"}]},{"@type":"WebSite","@id":"https:\/\/cyberelk.net\/tim\/#website","url":"https:\/\/cyberelk.net\/tim\/","name":"PRINT HEAD","description":"","publisher":{"@id":"https:\/\/cyberelk.net\/tim\/#\/schema\/person\/23b749f30a67f1b1c6af17024fc94bf6"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cyberelk.net\/tim\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/cyberelk.net\/tim\/#\/schema\/person\/23b749f30a67f1b1c6af17024fc94bf6","name":"Tim Waugh","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2023\/01\/printhead.png","url":"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2023\/01\/printhead.png","contentUrl":"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2023\/01\/printhead.png","width":731,"height":140,"caption":"Tim Waugh"},"logo":{"@id":"https:\/\/cyberelk.net\/tim\/wp-content\/uploads\/2023\/01\/printhead.png"},"sameAs":["http:\/\/cyberelk.net\/tim"],"url":"https:\/\/cyberelk.net\/tim\/author\/twaugh\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pnnS2-41","_links":{"self":[{"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":1,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":1079,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/posts\/249\/revisions\/1079"}],"wp:attachment":[{"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyberelk.net\/tim\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}