{"id":2635,"date":"2020-06-03T13:33:56","date_gmt":"2020-06-03T11:33:56","guid":{"rendered":"https:\/\/tech.lobobrothers.com\/join-linux-to-active-directory-and-mount-mobile-profile\/"},"modified":"2025-02-06T15:12:36","modified_gmt":"2025-02-06T14:12:36","slug":"join-linux-to-active-directory-and-mount-mobile-profile","status":"publish","type":"post","link":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/","title":{"rendered":"Join Linux to Active Directory and mount mobile profile"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2635\" class=\"elementor elementor-2635 elementor-1098\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3339258 e-flex e-con-boxed e-con e-parent\" data-id=\"3339258\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ee9bbb7 elementor-widget elementor-widget-text-editor\" data-id=\"ee9bbb7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Easier than it seems<\/h2>\n<div><\/div>\n<p>As with any connection made in a Windows environment, the main thing is to use the DNS of your domain. To do this, we configure the network card with said DNS and domain to use in our case PRUEBAS.LOCAL and IP 192.168.10.45<\/p>\n<p>We install NTP and configure it so that our time server is the DC<\/p>\n<p style=\"padding-left: 40px;\"><strong>apt ntp install<\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong>nano \/etc\/ntp.conf<\/strong><\/p>\n<p>and we replace the pools with our DCs<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1112 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/ntp-edit.png\" alt=\"ntp pool\" width=\"715\" height=\"203\" \/><\/p>\n<p>We restart ntp service<\/p>\n<p style=\"padding-left: 40px;\"><strong>service ntp restart<\/strong><\/p>\n<p>And we verify with ntpq -p that it synchronizes correctly with our DC<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1113 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/ntpq-p.png\" alt=\"show ntpq -p\" width=\"580\" height=\"93\" \/><\/p>\n<p>Now we proceed to install the necessary packages<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>apt -y install realmd sssd adcli libwbclient-sssd krb5-user sssd-tools samba-common packagekit samba-common-bin samba-libs<\/strong><\/p>\n<p>It will ask us if we want to modify smb.conf to use WINS, where we will indicate that No is the default option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1116 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-1024x114.png\" alt=\"you want to modify smb.conf\" width=\"800\" height=\"89\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-1024x114.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-300x33.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-768x86.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-1536x171.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432-700x78.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999432.png 1857w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Next, it will ask us for the Kerberos realm where we will put our domain TESTS.LOCAL, in capital letters, although we are going to put it in lowercase so that you can observe the error that will be given if it is not entered in capital letters.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1119 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-1024x104.png\" alt=\"realm kerberos\" width=\"800\" height=\"81\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-1024x104.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-300x30.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-768x78.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-1536x156.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433-700x71.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/Selecci\u00f3n_999433.png 1886w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>and then the servers in our case 192.168.10.45, its the full name of the FQDN server<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1122 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/kerberos.png\" alt=\"server kerberos\" width=\"842\" height=\"176\" \/><\/p>\n<p>Same for the administrative server<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1123 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/kerberos-realm.png\" alt=\"administrative server\" width=\"851\" height=\"171\" \/><\/p>\n<p>Ok, we already have the main thing installed, be careful in previous versions in some distribution you had to patch the packagekit as in Ubuntu 16.04 from this repository<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>add-apt-repository ppa:xtrusia\/packagekit-fix<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>apt update<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>apt upgrade packagekit<\/strong><\/p>\n<p>Our lab machine, as we saw in a previous post, was upgraded to Debian Buster, we will see at the end if we encounter any problems.<\/p>\n<p>We move on to configure nsswitch, edit \/etc\/nsswitch.conf and add sss in the following sections, in the case of Debian Buster it does it automatically.<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>passwd: compat sss<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>group: compat sss<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>\u2026.<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>netgroup: nis sss<\/strong><\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>sudoers: files sss<\/strong><\/p>\n<p class=\"western\">But it is very important to modify the line<\/p>\n<p style=\"padding-left: 40px;\"><strong>hosts: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0files\u00a0 mdns4_minimal [NOTFOUND=return] dns<\/strong><\/p>\n<p>for this other one, where the only thing we do is change the order by putting dns after files, without this change the union will fail.<\/p>\n<p style=\"padding-left: 40px;\"><strong>hosts: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0files dns mdns4_minimal [NOTFOUND=return]<\/strong><\/p>\n<p>We create a Kerberos ticket, as follows<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>kinit -V usarioadministradordominio<\/strong><\/p>\n<p>BE CAREFUL without the domain name because it will take it from the default_realm which is the one we put in the installation, you will see that it will fail with the message<\/p>\n<p style=\"padding-left: 40px;\"><strong>kinit: KDC reply did not match expectations while getting initial credentials<\/strong><\/p>\n<p>This is the typical error that happens frequently and we wanted to reproduce it in this post, this is because when it asked us for the realm we put it in lowercase to reproduce this typical error, just edit \/etc\/krb5.conf and put it in uppercase both in default_realm and in the realms, in addition to adding at the bottom in the section<\/p>\n<p style=\"padding-left: 40px;\"><strong>[domain_realm]<\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong>pruebas.local = PRUEBAS.LOCAL<\/strong><\/p>\n<p style=\"padding-left: 40px;\"><strong>.pruebas.local = PRUEBAS.LOCAL<\/strong><\/p>\n<p>Of course, with your domain<\/p>\n<p>Once set correctly, we will get<\/p>\n<p style=\"padding-left: 40px;\"><strong>Authenticated to Kerberos v5<\/strong><\/p>\n<p>Having the ticket we join our machine to the domain, in the OU that we want and with your domain, in our case we have created an OU called Linux Computers<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>realm join pruebas.local &#8211;computer-ou=&#8221;ou=Linux Computers,dc=pruebas,dc=local&#8221; -U usuarioadministradordominio<\/strong><\/p>\n<p>and we will get<\/p>\n<p style=\"padding-left: 40px;\"><strong>* Successfully enrolled machine in realm<\/strong><\/p>\n<p>We already have our machine joined to the domain, now we are going to mount the mobile profiles, for this we first install<\/p>\n<p style=\"padding-left: 40px;\"><strong>apt install smbclient gvfs-fuse gvfs-backends gvfs-bin cifs-utils libpam-mount<\/strong><\/p>\n<p>Once installed we edit \/etc\/sssd\/sssd.conf<\/p>\n<p style=\"padding-left: 40px;\"><strong>nano \/etc\/sssd\/sssd.conf\u00a0<\/strong><\/p>\n<p>and we put the following line in False leaving it like this<\/p>\n<p style=\"padding-left: 40px;\"><strong>use_fully_qualified_names = False<\/strong><\/p>\n<p>We edit the following<\/p>\n<p style=\"padding-left: 40px;\"><strong>nano \/etc\/security\/pam_mount.conf.xml<\/strong><\/p>\n<p>and below<\/p>\n<p style=\"padding-left: 40px;\"><strong>&lt;!&#8211; Volume definitions &#8211;&gt;<\/strong><\/p>\n<p>We set up the profile by entering the location where we have said user profiles.<\/p>\n<p class=\"western\" style=\"padding-left: 40px;\"><strong>&lt;volume user=&#8221;*&#8221; fstype=&#8221;cifs&#8221; server=&#8221;servidor&#8221; path=&#8221;\/%(USER)&#8221; mountpoint=&#8221;\/home\/%(USER)&#8221; options=&#8221;sec=ntlm,mfsymlinks,nodev,nosuid&#8221; \/&gt;<\/strong><\/p>\n<p>The entire process of joining the domain and setting up the mobile profile in the user&#8217;s \/home can be done using scripts, since for example it is very useful when you have a virtual desktop platform, launching said script automatically in the last step of creating the desktop from the broker.<\/p>\n<p>TL.<\/p>\n<p>Thanks for reading our posts.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-817533b elementor-widget elementor-widget-heading\" data-id=\"817533b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">FAQs<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78eebf3 elementor-widget elementor-widget-toggle\" data-id=\"78eebf3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1261\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1261\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">What are the benefits of integrating Linux with Active Directory?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1261\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1261\"><p>By integrating Linux with Active Directory, administrators can centrally manage users and permissions, enforce security policies, and facilitate access with single credentials (Single Sign-On).<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1262\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-1262\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">What commands are used to verify Linux integration with Active Directory?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1262\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-1262\"><p>Some useful commands are:<\/p>\n<ul>\n<li>realm list \u2192 To check the domain join status.<\/li>\n<li>user id@domain.com \u2192 To check if the domain user is recognized in the system.<\/li>\n<li>getent passwd user \u2192 To check if the user has an account in the system.<\/li>\n<\/ul>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1263\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-1263\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">What common errors can occur when joining Linux to Active Directory and how to fix them?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1263\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-1263\"><ul>\n<li><strong>Authentication failure:<\/strong> Check the system clock with ntpdate to avoid desynchronization with the AD server.<\/li>\n<li><strong>Name resolution failure:<\/strong> Make sure that \/etc\/resolv.conf points to the domain&#8217;s DNS.<\/li>\n<li><strong>Unrecognized domain users:<\/strong> Check the sssd.conf configuration and restart the service with systemctl restart sssd.<\/li>\n<\/ul>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1264\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-1264\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">How to test Kerberos connection to Active Directory on Linux?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1264\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-1264\"><p>To verify that Kerberos is working correctly, you can use the command:<\/p>\n<p style=\"padding-left: 40px;\">kinit user@DOMAIN.COM<\/p>\n<p>If authentication is successful, klist will display the active session ticket.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"What are the benefits of integrating Linux with Active Directory?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>By integrating Linux with Active Directory, administrators can centrally manage users and permissions, enforce security policies, and facilitate access with single credentials (Single Sign-On).<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"What commands are used to verify Linux integration with Active Directory?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Some useful commands are:<\\\/p>\\n<ul>\\n<li>realm list \\u2192 To check the domain join status.<\\\/li>\\n<li>user id@domain.com \\u2192 To check if the domain user is recognized in the system.<\\\/li>\\n<li>getent passwd user \\u2192 To check if the user has an account in the system.<\\\/li>\\n<\\\/ul>\\n\"}},{\"@type\":\"Question\",\"name\":\"What common errors can occur when joining Linux to Active Directory and how to fix them?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<ul>\\n<li><strong>Authentication failure:<\\\/strong> Check the system clock with ntpdate to avoid desynchronization with the AD server.<\\\/li>\\n<li><strong>Name resolution failure:<\\\/strong> Make sure that \\\/etc\\\/resolv.conf points to the domain&#8217;s DNS.<\\\/li>\\n<li><strong>Unrecognized domain users:<\\\/strong> Check the sssd.conf configuration and restart the service with systemctl restart sssd.<\\\/li>\\n<\\\/ul>\\n\"}},{\"@type\":\"Question\",\"name\":\"How to test Kerberos connection to Active Directory on Linux?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>To verify that Kerberos is working correctly, you can use the command:<\\\/p>\\n<p style=\\\"padding-left: 40px;\\\">kinit user@DOMAIN.COM<\\\/p>\\n<p>If authentication is successful, klist will display the active session ticket.<\\\/p>\\n\"}}]}<\/script>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Easier than it seems As with any connection made in a Windows environment, the main thing is to use the DNS of your domain. To do this, we configure the network card with said DNS and domain to use in our case PRUEBAS.LOCAL and IP 192.168.10.45 We install NTP and configure it so that our [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2645,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-2635","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-world"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Join Linux to Active Directory and mount mobile profile - LBT<\/title>\n<meta name=\"description\" content=\"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Join Linux to Active Directory and mount mobile profile - LBT\" \/>\n<meta property=\"og:description\" content=\"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog sobre linux y el mundo opensource\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LoboBrothers\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-03T11:33:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-06T14:12:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\"},\"author\":{\"name\":\"TL\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\"},\"headline\":\"Join Linux to Active Directory and mount mobile profile\",\"datePublished\":\"2020-06-03T11:33:56+00:00\",\"dateModified\":\"2025-02-06T14:12:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\"},\"wordCount\":926,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp\",\"articleSection\":[\"Linux World\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\",\"name\":\"Join Linux to Active Directory and mount mobile profile - LBT\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp\",\"datePublished\":\"2020-06-03T11:33:56+00:00\",\"dateModified\":\"2025-02-06T14:12:36+00:00\",\"description\":\"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...\",\"breadcrumb\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp\",\"width\":1920,\"height\":1440,\"caption\":\"ADMC\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/tech.lobobrothers.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Join Linux to Active Directory and mount mobile profile\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"name\":\"Tech LBT\",\"description\":\"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad\",\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\",\"name\":\"Lobo Brothers Technology\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"width\":110,\"height\":50,\"caption\":\"Lobo Brothers Technology\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LoboBrothers\/\",\"https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\",\"name\":\"TL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"caption\":\"TL\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Join Linux to Active Directory and mount mobile profile - LBT","description":"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...","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:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/","og_locale":"en_US","og_type":"article","og_title":"Join Linux to Active Directory and mount mobile profile - LBT","og_description":"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...","og_url":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/","og_site_name":"Blog sobre linux y el mundo opensource","article_publisher":"https:\/\/www.facebook.com\/LoboBrothers\/","article_published_time":"2020-06-03T11:33:56+00:00","article_modified_time":"2025-02-06T14:12:36+00:00","og_image":[{"width":1920,"height":1440,"url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp","type":"image\/jpeg"}],"author":"TL","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TL","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#article","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/"},"author":{"name":"TL","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb"},"headline":"Join Linux to Active Directory and mount mobile profile","datePublished":"2020-06-03T11:33:56+00:00","dateModified":"2025-02-06T14:12:36+00:00","mainEntityOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/"},"wordCount":926,"commentCount":0,"publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp","articleSection":["Linux World"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/","url":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/","name":"Join Linux to Active Directory and mount mobile profile - LBT","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp","datePublished":"2020-06-03T11:33:56+00:00","dateModified":"2025-02-06T14:12:36+00:00","description":"It is simpler than it seems.as in any binding done in Windows environment, the main thing is to use the DNS of your domain, for this...","breadcrumb":{"@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#primaryimage","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/06\/pc-4673923_1920.jpg.webp","width":1920,"height":1440,"caption":"ADMC"},{"@type":"BreadcrumbList","@id":"https:\/\/tech.lobobrothers.com\/en\/join-linux-to-active-directory-and-mount-mobile-profile\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/tech.lobobrothers.com\/en\/"},{"@type":"ListItem","position":2,"name":"Join Linux to Active Directory and mount mobile profile"}]},{"@type":"WebSite","@id":"https:\/\/tech.lobobrothers.com\/en\/#website","url":"https:\/\/tech.lobobrothers.com\/en\/","name":"Tech LBT","description":"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad","publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tech.lobobrothers.com\/en\/#organization","name":"Lobo Brothers Technology","url":"https:\/\/tech.lobobrothers.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","width":110,"height":50,"caption":"Lobo Brothers Technology"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LoboBrothers\/","https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true"]},{"@type":"Person","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb","name":"TL","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","caption":"TL"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/comments?post=2635"}],"version-history":[{"count":5,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2635\/revisions"}],"predecessor-version":[{"id":8131,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2635\/revisions\/8131"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media\/2645"}],"wp:attachment":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media?parent=2635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/categories?post=2635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/tags?post=2635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}