Skip to main content

Questions tagged [active-directory]

Questions that relate to Ubuntu using this directory service created by Microsoft. Compatibility questions include LDAP, Kerberos and DNS-based naming and other network information.

Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

Ubuntu Desktop 24.04 LTS Active directory Authentication

I am complete newbie with Linux and Ubuntu flavour , I have used it in the past without joining our windows local active directory and understand the basic syntax for running commands in terminal. As ...
DPatel's user avatar
  • 1
0 votes
0 answers
16 views

Active Directory stops working after a few hours of joining a domain on Ubuntu Desktop 22.04

Basically we joined the domain to Active Directory and it was working fine but after a few hours the join domain feature stopped working for some reason and users who had never logged in to Ubuntu ...
Adnan.'s user avatar
  • 1
0 votes
0 answers
91 views

Automatic Kerberos authentication of all users (SSO) via Active Directory in GLPI

I would like to make automatic login of all users with their credentials from Active Directory in GLPI. (And users must be authenticated as users, admins as admins, etc. in GLPI). I have LAMP (Ubuntu ...
Nick's user avatar
  • 11
0 votes
0 answers
72 views

Can't login with Active Directory credentials on Ubuntu GUI mode (Failed to start session)

I have Windows Server 2022 and Ubuntu Server 24.04. Ubuntu Server is joined to Windows Server successfully, but I can't login to GUI on Ubuntu Server. In terminal all work`s fine and I can login with ...
Nick's user avatar
  • 11
0 votes
0 answers
15 views

How correctly to bind a Linux server on Active Directory using vSphere customization script?

To deploy new Linux server on our infrastructure we have an Ubuntu Server template in vSphere that we clone and wants to customize using the built-in vSphere mechanism. Using this system we wants to ...
ygini's user avatar
  • 11
1 vote
0 answers
213 views

Supported solution for Ubuntu Desktops in cloud native with Entra ID

Supporting Ubuntu Desktops in traditional Active Directory environments are working quite well using sssd, adsys and landscape. But when it comes to an all cloud native environment using Entra ID, the ...
JohnDoe's user avatar
  • 11
0 votes
0 answers
101 views

Active Directory user group not updating

I updated my AD user account with new groups, and my Ubuntu 22.04 and 20.04 systems aren't getting the new groups. I have to clear the cache and restart SSSD to fix it. Is there a more permanent ...
YamiYukiSenpai's user avatar
0 votes
0 answers
28 views

Delay displaying Active directory user in GDM

After a lot of struggle, I have finally been able to make my laptop work not too bad with Active Directory/winbind authentication. Anyway, I have an annoying issue that I can't figure out. For the ...
Olivier M.'s user avatar
0 votes
0 answers
114 views

Unable to join and authenticate ubuntu server with AD domain

We have followed up with the steps in the below ubuntu site to configure and join ubuntu server with windows AD domain. https://ubuntu.com/server/docs/service-sssd-ad Post completion of steps we are ...
Utkarsh 's user avatar
0 votes
0 answers
62 views

Slow network traffic with DNS only after migrating Ubuntu Server 22.04.2 LTS to airgapped network

I have two networks in my environment, a main network and an offline/air-gapped network. The standard process for deploying Ubuntu servers to the air-gapped network is to clone a template VM on the ...
cmatt4440's user avatar
0 votes
0 answers
232 views

Can't login with domain user after ADSys installation - fetching policy fails, getting GPT.ini invalid argument error

I've implemented Adsys in a virtual environment containing a an ubuntu 22.04 pro and a regular ubuntu 20.04 and an AD server running windows server 2022. Before installing the ADSys the computers had ...
Ofri's user avatar
  • 1
0 votes
0 answers
58 views

Prevent root user to switch user to any Disabled AD user

root user is able to "su" to an user which is Disabled in AD. As it's a security concern, need to prevent root user to su to any AD users, who is disabled in AD. It should check the user ...
Gourab Das's user avatar
2 votes
1 answer
329 views

Setup Kerberos authentication with SSH

I have an Ubuntu server acting as the Domain Controller (domain.local) and a Ubuntu VM (ubu1) acting as a workstation. I wanted to ssh into the ubu1 VM with Kerberose using a keytab file. For this, I ...
Kavishka Gihan's user avatar
0 votes
1 answer
209 views

Trouble logging Active Directory from Windows Server 2022 to an Ubuntu Desktop 22.04 LTS

I actually joined the realm, but the problem is when I try to log in with an Active Directory user, I can't. I added the machine to the active directory via installation and everything is ok. running ...
Alex Morales Luna's user avatar
1 vote
0 answers
1k views

mount with cifs and sec=krb5 fails with "Required key not available"

The problem First time posting here, and also not the most super experienced ubuntu user, so I hope that I can describe my problem well enough. I am trying to mount a windows fileshare to our ubuntu ...
AlexH's user avatar
  • 21
0 votes
0 answers
311 views

SSSD Configuration to Authenticate a one-way trusted domain user

I have a Microsoft "REDFOREST" Active Directory Deployment. I have my REDFOREST domain with all my user accounts. I have my "RESOURCE" domains that have a one-way trust of the ...
MatW's user avatar
  • 1
0 votes
0 answers
113 views

Ubuntu VM Full disk encryption, storing keys in Azure

We currently have a solution to have our data partition encrypted with the keys stored on the system partition to allow for booting without user interaction, but not our system partition as we have no ...
Fabby's user avatar
  • 34.4k
1 vote
2 answers
612 views

customize user profile with ubuntu 22.04 in ad domain with sssd

I have joined an ubuntu 22.04 workstation in an AD domain with SSSD. But I cannot customize the desktop or the screen resolution for domain users. I tried to put in /etc/skel but it didn't work as if ...
smartin62400's user avatar
0 votes
0 answers
178 views

Cannot make Active Directory offline connection persistent

After several weeks of tries and failure, I finally need to ask for help. For starters, I use Ubuntu 22.04 LTS, that I have setup with winbind, PAM, Kerberos. Overall, I am trying to make a ...
Olivier M.'s user avatar
0 votes
0 answers
141 views

Active Directory Group Membership (refenced in the sudoers file) is Intermittent via SSH

ENVIRONMENT We are operating several Ubuntu 22.04 systems. The systems are added to a Windows Active Directory Domain via the GUI as part of the initial configuration. We have an Active Directory ...
lovetolearn's user avatar
0 votes
0 answers
1k views

connecting 22.04 LTS to Active Directory: GSSAPI Error [...] (Server not found in Kerberos database)

I am trying to connect the Ubuntu computers of my department to our active directory which worked well for quiet some of them by now. However, currently I stuck with a computer that has recently been ...
hcr's user avatar
  • 1
0 votes
0 answers
132 views

How to use nslcd to bind windows AD

I try to use nslcd to auth by LDAP server, if openldap, works fine, but try to WindowsAD, always fail but the similar config on CentOS is ok, I config the /etc/nslcd, /etc/nsswitch.conf, /etc/pam.d/...
Chris Zhang's user avatar
0 votes
0 answers
387 views

ADsys Group Policy Objects - User Policies not Caching or Processing

I've got a 22.04 system joined to Active Directory, ADsys installed, a few group policies created. User authentication works fine, machine/computer policies are applying successfully. However, user ...
AruSha's user avatar
  • 1
0 votes
0 answers
160 views

Administrator option is disabled for domain accounts in Ubuntu 22.04

I am the domain admin. My domain account in my system have administrator option disabled. I have tried adding the user to sudoers. That didn't work. Any other way? When opening the software centre or ...
Benjamin MJ's user avatar
1 vote
1 answer
8k views

Can't login to Active Directory although Ubuntu 22.04.3 is joined to Active Directory successfully

I have an Active Directory setup on a physical server Windows Server 2022 Datacenter Edition. I'm trying to join an Ubuntu 22.04.3 virtual machine to that AD. I follow the guide at this link (https://...
TurgayK's user avatar
  • 11
0 votes
1 answer
54 views

Anbox and OpenLDAP to Active Directory for SSO

Anbox and OpenLDAP to Active Directory for SSO We would love to use Anbox with our Active Directory for user authentication. We have Windows 10 OS Instance using Active Direction for logon, being able ...
Paul McGrail's user avatar
1 vote
1 answer
344 views

Logins like [email protected] cause profile files to be owned by root

The users at my school are used to logging in to email, windows etc with a login [email protected] (authenticated with Active Directory via LDAP). Unfortunately this is causing havoc and corrupting ...
Bastion's user avatar
  • 201
0 votes
0 answers
214 views

Can't login to domain users after enroll successfully Ubuntu 22.04

I'm working on ubuntu 22.04. I installed all the required packages and enroll successfully to my domain. my dc is on Windows server 2008 r2. when I'm trying to login to any domain user after I'm ...
Raz 's user avatar
  • 1
0 votes
0 answers
1k views

Give access to specific Active Directory Groups and local users

I have a server which is connected to the active directory, everything works fine (at least I guess) and everyone can access the server with their AD credentials, but I wan only specific group to be ...
YaserMow's user avatar
  • 194
2 votes
0 answers
85 views

Sudo access using AD without using FQDN

I've been able to get my server setup where it will allow me to use my AD credentials to login, and sudo works as well, but only if I sign in using [email protected]. I changed the /etc/sssd/sssd/...
user1709122's user avatar
0 votes
1 answer
858 views

Some Azure Active Directory users are not able to login to Ubuntu Machines

Some AD Users are not able to access Ubuntu machine in the domain, the error after trying to access the server via ssh I get in /var/log/auth.log: Jun 14 11:50:36 SR sshd[1467842]: Invalid user ...
YaserMow's user avatar
  • 194
0 votes
2 answers
1k views

After logging in with my AD credentials, why can I not change any settings?

I've been setting up a new machine with Ubuntu 22.04 Desktop. And since I'm on the IT team, I've been using it as an opportunity to broaden my knowledge of configuring Ubuntu for a work environment, ...
Peter Walker's user avatar
1 vote
0 answers
76 views

sssd do not use corporate domain in PTR record when deployed with vSphere

We have a workflow that deploy Ubuntu 20.04.5 LTS in vSphere VM with automatic AD integration using the following commands: #!/bin/bash if [ x$1 == x"precustomization" ]; then rm -v /...
ygini's user avatar
  • 11
0 votes
1 answer
702 views

Samba won't join computers to domain anymore

DISCLAMER: I'm still trying to fully learn and understand how to properly maintain a samba domain controller. The Problem: I had a working samba installation with AD controlle but now, just a month ...
Fraŋkini's user avatar
0 votes
0 answers
1k views

Domains are not found after joining Ubuntu 22.04 to Active Directory using SSSD

Since Ubuntu 20.04 we are using SSSD and realmd to join these server to one of our Active Directory domains. This works (almost) out-of-the-box. For Ubuntu 22.04, however, we run into issues. And I am ...
Smithers91's user avatar
1 vote
2 answers
1k views

Ubuntu 22.04 Desktop Installer - Stuck on Active Directory page, doesn't like my domain name value?

So, I'm installing 22.04 desktop and I get to the "Who Are You" page, fill in username/password/etc on there, and I check the "use Active Directory" checkbox at the bottom of that ...
hud's user avatar
  • 11
0 votes
1 answer
211 views

How to truncate domain part from username in pam_mount?

I am currently experimenting with the new Active Directory Features in Ubuntu 22.04. I joined the domain with my client and everything worked fine so far. However I want to mount the users home ...
cybertschunk's user avatar
0 votes
1 answer
3k views

Stuck joining Ubuntu Studio 22.04.1 to Active Directory

I am trying to join my freshly installed Ubuntu Studio 22.04.1 to an AD domain hosted on my Synology NAS, by following the instructions in this white paper, starting on page 11 ("Joining After ...
R B's user avatar
  • 316
0 votes
0 answers
70 views

Working with windows shared file in ubuntu

We are using windows(8.1 & 10) and ubuntu(20.04) in our network environment. When we open a xls,word file in ubuntu which is already opened in windows it is not prompting as a read only and also ...
Doffice ecare's user avatar
0 votes
0 answers
6k views

Login failure after successfully adding Ubuntu 22.04 machine to the domain

I have successfully added my machine to my company's domain. When I try to login with my domain credentials at the login screen or via su I see a message "Applying machine settings" and the ...
Nick's user avatar
  • 151
0 votes
1 answer
600 views

Ldap - access for specific machines

We have LDAP server with 300+ users-10 servers with different group. when we creating the users, every user has access of all the 10 servers. So I want to restrict the user access. So LDAP user or ...
Dinesh KS's user avatar
0 votes
0 answers
2k views

su: Permission denied as root

I added my Ubuntu Machine to AD and I can do an ID these user accounts but when I'm logged in as root I can't su to these accounts e.g. su: Permission denied any reason why? is there something I miss ...
John R's user avatar
  • 9
2 votes
0 answers
835 views

Automatic Login with AD domain user on Ubuntu 20.04 or 22.04

Does anyone know how to configure Ubuntu LTS 20.04 or 22.04 (Using default Gnome desktop) to perform autologin using a domain user account? The client has been joined to the domain and it is possible ...
Mikael's user avatar
  • 21
1 vote
0 answers
849 views

22.04 Samba with AD user - cannot access from Windows

Fresh 22.04 install. Only other configuration is NFS (which is working). Directories are 777. Configuration files: sssd.conf [sssd] domains = home.net config_file_version = 2 services = nss, pam [...
Thaddeus's user avatar
0 votes
1 answer
1k views

Logged out immediately after login using Active Directory on Ubuntu 22.04

I am installing a new Ubuntu 22.04 desktop, following the canonical instructions here for adding the computer to the domain, adding it to the domain during installation. The machine is able to pull ...
last_username's user avatar
0 votes
1 answer
31 views

How to select a different user to authenticate Livepatch with?

I am an IT Admin and recently set up an Ubuntu 18.04 laptop for one of my users. As apart of the process, I create a local admin account to set things up and join the computer to our Active Directory ...
jjevid's user avatar
  • 13
1 vote
2 answers
10k views

GUI for joining AD after installation - Ubuntu 22.04

as we know, we can join AD domain in an installation process, but is there GUI to do this after install? like its super easy on Mac and Windows? If there is no GUI, how can i make a request about it?
Jarek Gie's user avatar
0 votes
0 answers
7k views

How to Allow Samba Shares for Domain users?

I have a samba server with shares using POSIX ACL. We installed the Active Directory domain controller by using Turnkey image, I joined Ubuntu Server to the domain following this , Installed ...
Perovic 's user avatar
0 votes
2 answers
4k views

Slow login with Active Directory on Ubuntu 20.04

I am running an Ubuntu 20.04 machine configured to use my organisation's Active Directory (AD) setup. There is a significant difference in the login time depending on whether I am connected to my ...
anon1802's user avatar
  • 113
2 votes
0 answers
347 views

Active Directory SSSD - Change Password on GDM login Screen

Looking to see if I can expand the capabilities of the SSSD/AD system with GDM, or SDDM. We want users to be able to change their Active Directory password through our Ubuntu machines, if their ...
Michael Power's user avatar

1
2 3 4 5