{"id":216,"date":"2010-04-28T11:06:00","date_gmt":"2010-04-28T11:06:00","guid":{"rendered":"http:\/\/psyphi.net\/blog\/?p=216"},"modified":"2010-04-28T11:06:00","modified_gmt":"2010-04-28T11:06:00","slug":"active-directory-linux-account-integration","status":"publish","type":"post","link":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/","title":{"rendered":"Active Directory + Linux account integration"},"content":{"rendered":"<p>Firstly a note of warning. I&#8217;ve done this mostly using CentOS but there&#8217;s no reason it shouldn&#8217;t work just as well on other distributions. I&#8217;ve gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn&#8217;t able to find a coherent article which described all of the required pieces of the puzzle.<\/p>\n<p>Secondly the objective of this article is to have unified accounting across Windows &#038; Linux, or at least as close as possible. We&#8217;re going to use Microsoft Active Directory, Kerberos, Samba, Winbind, pam and nsswitch. We&#8217;re also going to end up with consistent uids and gids across multiple linux clients.<\/p>\n<p><strong>\/etc\/samba\/smb.conf<\/strong><\/p>\n<pre><code>[global]\r\n\tworkgroup = PSYPHI\r\n\trealm = PSYPHI.LOCAL\r\n\tsecurity = ADS\r\n\tallow trusted domains = No\r\n\tuse kerberos keytab = Yes\r\n\tlog level = 3\r\n\tlog file = \/var\/log\/samba\/%m\r\n\tmax log size = 50\r\n\tprintcap name = cups\r\n\tidmap backend = idmap_rid:PSYPHI=600-20000\r\n\tidmap uid = 600-20000\r\n\tidmap gid = 600-20000\r\n\ttemplate shell = \/bin\/bash\r\n\twinbind enum users = Yes\r\n\twinbind enum groups = Yes\r\n\twinbind use default domain = Yes<\/code><\/pre>\n<p><strong>\/etc\/krb5.conf<\/strong><\/p>\n<pre><code>[logging]\r\n default = FILE:\/var\/log\/krb5libs.log\r\n kdc = FILE:\/var\/log\/krb5kdc.log\r\n admin_server = FILE:\/var\/log\/kadmind.log\r\n\r\n[libdefaults]\r\n default_realm = PSYPHI.LOCAL\r\n dns_lookup_realm = true\r\n dns_lookup_kdc = true\r\n ticket_lifetime = 24h\r\n forwardable = yes\r\n\r\n[realms]\r\n EXAMPLE.COM = {\r\n  kdc = kerberos.example.com:88\r\n  admin_server = kerberos.example.com:749\r\n  default_domain = example.com\r\n }\r\n\r\n PSYPHI.LOCAL = {\r\n }\r\n\r\n[domain_realm]\r\n .example.com = EXAMPLE.COM\r\n example.com = EXAMPLE.COM\r\n\r\n psyphi.local = PSYPHI.LOCAL\r\n .psyphi.local = PSYPHI.LOCAL\r\n[appdefaults]\r\n pam = {\r\n   debug = false\r\n   ticket_lifetime = 36000\r\n   renew_lifetime = 36000\r\n   forwardable = true\r\n   krb4_convert = false\r\n }<\/code><\/pre>\n<p>Next we join the machine to the AD domain &#8211; it&#8217;s necessary to specify a user with the right privileges. It also prompts for a password.<\/p>\n<pre><code>net ads join -U administrator<\/code><\/pre>\n<p>We can check things are working so far by trying to create a kerberos ticket using an existing username. Again it prompts us for a password.<\/p>\n<pre><code>kinit (username)<\/code><\/pre>\n<p>Then <code>klist<\/code> gives us output something like this:<\/p>\n<pre><code>Ticket cache: FILE:\/tmp\/krb5cc_0\r\nDefault principal: username@PSYPHI.LOCAL\r\n\r\nValid starting     Expires            Service principal\r\n04\/28\/10 10:57:32  04\/28\/10 20:57:34  krbtgt\/PSYPHI.LOCAL@PSYPHI.LOCAL\r\n\trenew until 04\/29\/10 10:57:32\r\n\r\n\r\nKerberos 4 ticket cache: \/tmp\/tkt0\r\nklist: You have no tickets cached<\/code><\/pre>\n<p>Cool, so we have a machine joined to the domain and able to use kerberos tickets. Now we can tell our system to use winbind for fetching account information:<\/p>\n<p><strong>\/etc\/pam.d\/system-auth-ac<\/strong><\/p>\n<pre><code>auth        required      pam_env.so\r\nauth        sufficient    pam_unix.so nullok try_first_pass\r\nauth        requisite     pam_succeed_if.so uid &gt;= 500 quiet\r\nauth        sufficient    pam_krb5.so use_first_pass\r\nauth        required      pam_deny.so\r\n\r\naccount     required      pam_unix.so broken_shadow\r\naccount     sufficient    pam_localuser.so\r\naccount     sufficient    pam_succeed_if.so uid &lt; 500 quiet\r\naccount     [default=bad success=ok user_unknown=ignore] pam_krb5.so\r\naccount     required      pam_permit.so\r\n\r\npassword    requisite     pam_cracklib.so try_first_pass retry=3\r\npassword    sufficient    pam_unix.so md5 shadow nullok try_first_pass use_authtok\r\npassword    sufficient    pam_krb5.so use_authtok\r\npassword    required      pam_deny.so\r\n\r\nsession     optional      pam_keyinit.so revoke\r\nsession     required      pam_limits.so\r\nsession     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid\r\nsession     required      \/lib\/security\/pam_mkhomedir.so \r\nsession     required      pam_unix.so\r\nsession     optional      pam_krb5.so<\/code><\/code><\/pre>\n<p>If we&#8217;re on a 64-bit distribution we&#8217;ll find that references to \/lib need to be switched for \/lib64, e.g. \/lib64\/security\/pam_mkhomedir.so . This file will also create new home directories for users if they&#8217;re not present during first log-in.<\/p>\n<p><strong>\/etc\/nsswitch.conf<\/strong><\/p>\n<pre><code>passwd:     files winbind\r\nshadow:     files winbind\r\ngroup:      files winbind\r\n\r\nhosts:      files dns\r\n\r\nbootparams: nisplus [NOTFOUND=return] files\r\n\r\nethers:     files\r\nnetmasks:   files\r\nnetworks:   files\r\nprotocols:  files\r\nrpc:        files\r\nservices:   files\r\n\r\nnetgroup:   nisplus\r\n\r\npublickey:  nisplus\r\n\r\nautomount:  files nisplus\r\naliases:    files nisplus<\/code><\/pre>\n<p>Now we need to tell a few services to start on boot<\/p>\n<pre><code>chkconfig smb on\r\nchkconfig winbind on<\/code><\/pre>\n<p>and start a few services now<\/p>\n<pre><code>service smb start\r\nservice winbind start<\/code><\/pre>\n<p>The Winbind+pam configuration can sometimes take a few minutes to settle down &#8211; I occasionally find it&#8217;s necessary to wait 5 or 10 minutes before accounts are available. YMMV.<\/p>\n<pre><code>getent passwd<\/code><\/pre>\n<p>Should now list local accounts (which take precedence) followed by domain accounts. Using ssh to the box as a domain user should make new home directories in \/home\/PSYPHI\/username. If you decide to migrate home directories from \/home make sure you change uid and gid to the new domain values for that user, then remove the old local account.<\/p>\n<p>There are a handful of limitations of this approach &#8211;<\/p>\n<ol>\n<li>Though usernames and groupnames map ok, linux uids still don&#8217;t map to the windows uids so permissions don&#8217;t quite work across smb\/cifs mounts<\/li>\n<li>The standard linux tools for user &#038; group modification don&#8217;t work for domain accounts (adduser\/usermod\/groupadd\/&#8230; etc.)<\/li>\n<li>Winbind seems unstable. On a lot of systems I&#8217;ve resorted to cronning a <code>service winbind restart<\/code> every 15 minutes, which seriously sucks<\/li>\n<li>&#8230; and probably others too<\/li>\n<\/ol>\n<p>For debugging <code>\/var\/log\/secure<\/code> is very useful, as are the samba logs in <code>\/var\/log\/samba\/<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firstly a note of warning. I&#8217;ve done this mostly using CentOS but there&#8217;s no reason it shouldn&#8217;t work just as well on other distributions. I&#8217;ve gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn&#8217;t able to &hellip; <a href=\"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Active Directory + Linux account integration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[17],"tags":[340,338,337,336,317,335,199,339,334,341,200],"class_list":["post-216","post","type-post","status-publish","format-standard","hentry","category-sysadmin","tag-accounts","tag-activedirectory","tag-ad","tag-authentication","tag-integration","tag-kerberos","tag-linux","tag-nsswitch","tag-samba","tag-winbind","tag-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Firstly a note of warning. I&#039;ve done this mostly using CentOS but there&#039;s no reason it shouldn&#039;t work just as well on other distributions. I&#039;ve gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn&#039;t able to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Roger Pettett\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"psyphi.net blog - Another collection of braingunk and technolint\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Active Directory + Linux account integration - psyphi.net blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Firstly a note of warning. I&#039;ve done this mostly using CentOS but there&#039;s no reason it shouldn&#039;t work just as well on other distributions. I&#039;ve gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn&#039;t able to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-04-28T11:06:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-04-28T11:06:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Active Directory + Linux account integration - psyphi.net blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Firstly a note of warning. I&#039;ve done this mostly using CentOS but there&#039;s no reason it shouldn&#039;t work just as well on other distributions. I&#039;ve gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn&#039;t able to\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#blogposting\",\"name\":\"Active Directory + Linux account integration - psyphi.net blog\",\"headline\":\"Active Directory + Linux account integration\",\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"},\"datePublished\":\"2010-04-28T11:06:00+00:00\",\"dateModified\":\"2010-04-28T11:06:00+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#webpage\"},\"articleSection\":\"sysadmin, accounts, activedirectory, ad, authentication, integration, kerberos, linux, nsswitch, samba, winbind, windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/sysadmin\\\/#listItem\",\"name\":\"sysadmin\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/sysadmin\\\/#listItem\",\"position\":2,\"name\":\"sysadmin\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/sysadmin\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#listItem\",\"name\":\"Active Directory + Linux account integration\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#listItem\",\"position\":3,\"name\":\"Active Directory + Linux account integration\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/sysadmin\\\/#listItem\",\"name\":\"sysadmin\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/\",\"name\":\"Roger Pettett\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Roger Pettett\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#webpage\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/\",\"name\":\"Active Directory + Linux account integration - psyphi.net blog\",\"description\":\"Firstly a note of warning. I've done this mostly using CentOS but there's no reason it shouldn't work just as well on other distributions. I've gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn't able to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/04\\\/active-directory-linux-account-integration\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"datePublished\":\"2010-04-28T11:06:00+00:00\",\"dateModified\":\"2010-04-28T11:06:00+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Active Directory + Linux account integration - psyphi.net blog","description":"Firstly a note of warning. I've done this mostly using CentOS but there's no reason it shouldn't work just as well on other distributions. I've gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn't able to","canonical_url":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#blogposting","name":"Active Directory + Linux account integration - psyphi.net blog","headline":"Active Directory + Linux account integration","author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"},"datePublished":"2010-04-28T11:06:00+00:00","dateModified":"2010-04-28T11:06:00+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#webpage"},"isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#webpage"},"articleSection":"sysadmin, accounts, activedirectory, ad, authentication, integration, kerberos, linux, nsswitch, samba, winbind, windows"},{"@type":"BreadcrumbList","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","position":1,"name":"Home","item":"https:\/\/psyphi.net\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/sysadmin\/#listItem","name":"sysadmin"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/sysadmin\/#listItem","position":2,"name":"sysadmin","item":"https:\/\/psyphi.net\/blog\/category\/sysadmin\/","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#listItem","name":"Active Directory + Linux account integration"},"previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#listItem","position":3,"name":"Active Directory + Linux account integration","previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/sysadmin\/#listItem","name":"sysadmin"}}]},{"@type":"Organization","@id":"https:\/\/psyphi.net\/blog\/#organization","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","url":"https:\/\/psyphi.net\/blog\/"},{"@type":"Person","@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author","url":"https:\/\/psyphi.net\/blog\/author\/rmp\/","name":"Roger Pettett","image":{"@type":"ImageObject","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g","width":96,"height":96,"caption":"Roger Pettett"}},{"@type":"WebPage","@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#webpage","url":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/","name":"Active Directory + Linux account integration - psyphi.net blog","description":"Firstly a note of warning. I've done this mostly using CentOS but there's no reason it shouldn't work just as well on other distributions. I've gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn't able to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/#breadcrumblist"},"author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"creator":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"datePublished":"2010-04-28T11:06:00+00:00","dateModified":"2010-04-28T11:06:00+00:00"},{"@type":"WebSite","@id":"https:\/\/psyphi.net\/blog\/#website","url":"https:\/\/psyphi.net\/blog\/","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","inLanguage":"en-US","publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"psyphi.net blog - Another collection of braingunk and technolint","og:type":"article","og:title":"Active Directory + Linux account integration - psyphi.net blog","og:description":"Firstly a note of warning. I've done this mostly using CentOS but there's no reason it shouldn't work just as well on other distributions. I've gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn't able to","og:url":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/","article:published_time":"2010-04-28T11:06:00+00:00","article:modified_time":"2010-04-28T11:06:00+00:00","twitter:card":"summary_large_image","twitter:title":"Active Directory + Linux account integration - psyphi.net blog","twitter:description":"Firstly a note of warning. I've done this mostly using CentOS but there's no reason it shouldn't work just as well on other distributions. I've gleaned a lot of this information by scouring a lot of other resources around the internet, FAQs, newsgroups etc. but as far as I can remember I wasn't able to"},"aioseo_meta_data":{"post_id":"216","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":"","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":"2024-05-16 13:30:01","updated":"2025-08-15 17:25:13","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:\/\/psyphi.net\/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:\/\/psyphi.net\/blog\/category\/sysadmin\/\" title=\"sysadmin\">sysadmin<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tActive Directory + Linux account integration\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/psyphi.net\/blog"},{"label":"sysadmin","link":"https:\/\/psyphi.net\/blog\/category\/sysadmin\/"},{"label":"Active Directory + Linux account integration","link":"https:\/\/psyphi.net\/blog\/2010\/04\/active-directory-linux-account-integration\/"}],"_links":{"self":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/comments?post=216"}],"version-history":[{"count":6,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/216\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/216\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/media?parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/categories?post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/tags?post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}