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.

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
5k views

Problem with PBISOpen and Ubuntu 14.04LTS

I'm testing openpbis 8.3 version and I have authentication problem when I'm trying to open new session on Ubuntu 14.04 LTS, not in local network but only in distant network. Adding the computer on ...
Minus63's user avatar
  • 61
4 votes
1 answer
1k views

How to automount user homes from MS Server via sss

I'd like to make an Ubuntu box member of an AD and automount home directories during login from a Samba server. I managed to join the AD the realmd way. So I can look-up users and their passwd lines. ...
Martin's user avatar
  • 41
4 votes
1 answer
8k views

How to add Active Directory users as sudoers

I'm following this article. What I've done: I can connect to Active Directory I can login to the Active Directory Now what I'm looking for is a way to make any active directory user a sudoer. I'm ...
pedrommuller's user avatar
3 votes
0 answers
6k views

Samba Winbindd Failing Everyday

Everyday morning on my domain controller running samba 4.7.6-ubuntu winbind fails, If I try to run the command wbinfo -u (to list all users) I get the error could not obtain winbind interface ...
Dan's user avatar
  • 471
3 votes
0 answers
1k views

Can't login with domain members on ubuntu 14.04 client joined to (samba4 -ubuntu 14.04) active directory domain

I have a samba4 server: [global] workgroup = MYWG realm = MYWG.ORG netbios name = MYWGADM server role = active directory domain controller dns forwarder = 8.8.8.8 idmap_ldb:...
user3215433's user avatar
2 votes
0 answers
50 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
2 votes
0 answers
759 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
2 votes
0 answers
322 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
2 votes
0 answers
7k views

SAMBA with Active Directory user group permissions

I have setup SAMBA with Active Directory authentication (Kerberos & nsswitch etc.) on a Ubuntu box and am trying to correctly set up a shared folder on this Ubuntu box with an Active Directory ...
Nathan's user avatar
  • 21
2 votes
0 answers
4k views

realmd domain join with kinit in Ubuntu 18.04

I’m trying to set up an Ubuntu 18.04 machine and joining it to an Active Directory domain. Previously (e. g. on Ubuntu 17.10) I could do # kinit -kt /path/to/keytab my_username # realm join ad....
Socob's user avatar
  • 839
2 votes
1 answer
1k views

Active Directory User - SUDO

Let me preface this by saying that I am a bit of a Linux newbie. So, situation is, I have joined a Ubuntu server to a local Active Directory domain. This appears to have been successful since I can ...
user592732's user avatar
2 votes
0 answers
2k views

I have a problem with domain trust between Samba and AD

I configured Samba PDC and AD Domain. Here is my Topology. And I saw that Samba PDC loading AD users. With getent passwd command and wbinfo -ug command. Here is my getent passwd result. root@Lin-srv:~#...
Jun-gi Hong's user avatar
2 votes
0 answers
3k views

Using Ubuntu 12.04 DHCP server to securely update DNS records in Active Directory

What seems, to me, to be a simple question, apparently isn't. I have a Linux (Ubuntu 12.04) DHCP server: isc-dhcp-server, that works GREAT. No issues and all clients can get an address with no issues....
cliff_nh's user avatar
2 votes
1 answer
1k views

Insanity joining Server 12.04 to Windows AD

I've seen lots of stuff about this error on the internet, but had no luck implementing a solution. I'm trying to use Likewise-Open to join an Ubuntu Server 12.04 machine to a Windows Active Dicrectory ...
arthropodSeven's user avatar
2 votes
1 answer
9k views

Equivalent to Windows Group Policies (GPO) in Ubuntu

I am trying to apply GPO for client Ubuntu machines in a centralized way. Is it possible to apply GPO in ubuntu 10.04 ( other than using likewise Enterprise)? Until now my client machines have been ...
supriya swapnam's user avatar
1 vote
0 answers
527 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
1 vote
1 answer
4k 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
1 vote
0 answers
73 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
1 vote
2 answers
709 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
1 vote
0 answers
778 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
1 vote
1 answer
744 views

Ubuntu 20.04 LTS - Unattended Samba upgrade broke our setup

We are using Ubuntu 20.04 LTS on some servers, including a Samba Active Directory DC and a Samba File Server using winbind authentication. On Nov 12th, an unattended upgrade (related to USN-5142-1) ...
MathieuO's user avatar
1 vote
0 answers
2k views

Ubuntu 20.04 LTS sssd update from 2.2.3-3ubuntu0.4 to 2.2.3-3ubuntu0.6 broke AD logins

I have a number of servers running Ubuntu 20.04 LTS joined to Windows Active Directory via this procedure - https://www.server-world.info/en/note?os=Ubuntu_20.04&p=realmd Over this weekend, I ran ...
Barmaglot's user avatar
1 vote
1 answer
709 views

Ubuntu 21.04 | Join Office365 Active Directory when installing

Having read that Ubuntu 21.04 supports joining active directory when installing I quickly downloaded the newest version and gave it a spin. Sadly it doesn't really work and just freezes the ...
NicolasM's user avatar
1 vote
1 answer
1k views

Domain AD users aren't get discovered after adding Ubuntu under AD domain control

I've Joined a my ad domain with my Ubuntu 20.04.2 LTS VM (I followed this doc) and I'veJoined the AD domain with Ubuntu as sudo realm join -U Administrator win2016.local realm list show below output ...
Swapnil Kotwal's user avatar
1 vote
0 answers
3k views

SSSD with AD: How can I ensure AD groups not missing when ldap_id_mapping = False?

Why does altering ldap_id_mapping present different group memberships on the same AD user? I was hoping to have my UID/GID be the same as AD with IDMU: SSSD with AD: use UID/GID specified on domain ...
Avery Freeman's user avatar
1 vote
1 answer
2k views

How to solve "not found:(NXDOMAIN)

I install Samba in ubuntu 18.04 showing. After install samba, I test the installation by #samba-tool domain level show:(it give me the result) Domain and forest function level for domain 'DC=nassa, DC=...
Makdumul Islam's user avatar
1 vote
0 answers
588 views

SSSD Active Directory Integration with VSFTPD

My goal is to setup VSFTPD with AD authentication via SSSD. I ran through the article on Ubuntu's website here https://ubuntu.com/server/docs/service-sssd. I was able to join my domain, however ...
Parakoopa's user avatar
  • 111
1 vote
1 answer
861 views

Updated users/Groups from Active Directory Integration with Ubuntu 18.04 LTS

I set up the AD Integration for my Ubuntu 18.04 LTS workstation through a Virtual Machine using these two links: https://discourse.ubuntu.com/t/service-sssd/11579 https://docs.microsoft.com/en-us/...
Thomas Kwok's user avatar
1 vote
0 answers
3k views

"No DNS domain configured" when I join AD domain

I have an issue to join Active Directory with my DNS. Someone can help me with this issue. I checked my /etc/hostsfile and everything is fine. root@terminal:~# sudo net ads join -k Result: Using ...
Matcreux's user avatar
1 vote
0 answers
3k views

SSSD service not working to join Active Directory - Ubuntu 18.04 LTS

I'm a new user of Ubuntu. I want that my Ubuntu desktop could join Windows AD domain.When I try to join Active Directory with the procedure SSSD and Active Directory from Ubuntu Documentation. I'm in ...
Matcreux's user avatar
1 vote
0 answers
155 views

Active Directory with ubuntu compputer

How I open Ubuntu device by a user from active directory after joining this device to the active directory ?
MAAN SHARBAJI's user avatar
1 vote
0 answers
981 views

SSSD with "ldap_id_mapping = false" will fail to start, clearing /var/lib/sss/db/* and restarting service does not resolve

I’m working through a strange issue with SSSD on Ubuntu 18.04 - Unit is bound to the domain using Realmd, with SSSD as the primary authentication management service. If I change the line: ...
scotchman's user avatar
1 vote
0 answers
143 views

Connect to Azure AD

I've been trying to find how to connect a lapto running Ubuntu 19.04 to an Azure AD domain. Has anyone got any experience of this and can you help? Thank you all :)
Neil-James's user avatar
1 vote
0 answers
518 views

Samba Print Server not uploading drivers to clients

I am running Samba4 on Ubuntu 18.04 as a AD/DC. I am also using this server as a CUPS print server that will host 4 printers. Everything is configured and running with the following smb.conf file: [...
Elcid_91's user avatar
  • 111
1 vote
1 answer
80 views

Samba share not working with AD Groups

I am new to linux and samba world i created a windows AD and added to this AD ubuntu machine. what i want to do its to create a share folder using samba and to group from AD to get permission to this ...
Alexxx55555's user avatar
1 vote
0 answers
187 views

SSH keys and Active Directory

I am trying to figure out a way of stopping disabled users (in AD) from accessing a specific server with their ssh keys. I have multiple users who can access the server however few of them have setup ...
Oscar's user avatar
  • 299
1 vote
0 answers
862 views

Problem Joining Windows Server

i was trying to connect my ubuntu 18.04 to my company windows server by this tutorial https://bitsofwater.com/2018/05/08/join-ubuntu-18-04-to-active-directory/ all went great until i tried to join ...
iki iki's user avatar
  • 11
1 vote
0 answers
2k views

"user NOT in sudoers" when using RealmD, SSSD

Recently began joining our Ubuntu server to the domain for authentication. For the most part I have been successful and believe to have all configs identical on each system. However, ran into two ...
Arnydo's user avatar
  • 11
1 vote
1 answer
3k views

Issue for restricting SSH access from a Windows AD Group (using sssd)

I joined a ubuntu 16.04 server to my Windows AD for SSH authentication. It works fine until I want to restrict access to a specific group with sssd here's the content of my /etc/sssd/sssd.conf [sssd]...
d4rd4n0's user avatar
  • 11
1 vote
0 answers
478 views

Integrate Ubuntu 18.04 box with one AD domain and user with other AD domain

I will try to explain my problem as simple as I can. I have the following problem: Our organization has two Active Directory forests, in one hand computer.forest.com has the computer objects, in the ...
jpdrummer's user avatar
1 vote
0 answers
13k views

Failed to start Samba NMB Daemon and other errors

I'm trying to set up an Ubuntu active directory domain controller with Samba. I installed Samba, and configured it using samba-tool. During system boot, I get 3 errors: [FAILED] Failed to start ...
user7391836's user avatar
1 vote
1 answer
2k views

Join server to active directory without adding login via AD

Everything I've found so far about joining an Ubuntu machine to a Windows Active Directory domain includes allowing logging in to the Ubuntu machine using user accounts from the Active Directory. I've ...
purplecho's user avatar
  • 103
1 vote
0 answers
1k views

How can I configure PAM to do a simple LDAP authentication against an Active Directory server, without having to join the Ubuntu 16.04 VM to a domain?

I'm using Vagrant and some ansible scripts to provision an Ubuntu 16.04 server image on my Windows 10 computer that is joined to a domain. I want to log into the VM using the same credentials as I log ...
JonTheNiceGuy's user avatar
1 vote
0 answers
669 views

How can I encrypt the home directory with active directory user credentials

We are evaluating how Ubuntu Desktops will suit our development environment. But we can't find a way to encrypt home directory with active directory(AD) user credentials. All the users are places in ...
Sha's user avatar
  • 11
1 vote
0 answers
2k views

SSSD ad authentication windows server 2012 R2

I want to login with AD users on a client with no gui. It is a Ubuntu 16.04 machine with SSSD. Active Directory server is Windows Server 2012 R2. I cannot login on console login with "[email protected]"...
Xenioz's user avatar
  • 11
1 vote
0 answers
862 views

Samba - AD cant login from diferent hostname

I installed samba with winbind and is currently running properly using the AD to auth clients via the server hostname and ip address. However i would like the clients to be able to login to the share ...
JVieira's user avatar
  • 11
1 vote
0 answers
5k views

Problem with AD user authentication after joining Windows Domain

I've been trying to add my linux machine into the AD of my office in order to work without problems. I started following this guide: SSSD and Active Directory in my ubuntu 16.04 (fresh install) and ...
Jeoxs's user avatar
  • 11
1 vote
3 answers
2k views

Problem with Samba 4.3.8

I've installed samba (v.4.3.8) in Ubuntu Server 14.04.4 and provision a domain but when I try to join a Windows Client to domain, a Network resource is not available error is shown. . Although if I ...
Carlos Alonso's user avatar
1 vote
1 answer
336 views

Connect with an AD user to a ubuntu Machine

I try to log on under a ubuntu machine with an AD user via the GUI lightdm , but access is denied with "invalid password , please try again " My machine has been added in the AD : net ads join -U ...
mamaka's user avatar
  • 11
1 vote
0 answers
203 views

ubuntu active directory domain controller with AWS LAMP server

I have a AWS LAMP server. We are bunch of people to develops the open source stuff. As now many people have joined us, we are thinking to have a active directory domain controller. I have gone ...
KuKu's user avatar
  • 31