My Oracle Support Banner

Oracle Linux: How to Join Oracle Linux server to Windows Active Directory (AD) Domain (Doc ID 2653397.1)

Last updated on JANUARY 29, 2024

Applies to:

Linux OS - Version Oracle Linux 6.10 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


This document explains the steps to configure Oracle Linux server with Windows Active Directory(AD) as an authentication service. 

Required ports between the Linux client and the Windows AD:
Service Port Protocol Notes
DNS 53 UDP & TCP  
LDAP  389 UDP & TCP  
Samba 445 UDP & TCP For AD Group Policy Objects (GPOs)
Kerberos   88 UDP and TCP  
Kerberos 464 UDP and TCP Used by kadmin for setting and changing a password
LDAP Global Catalog 3268 TCP If the id_provider = ad option is being used
NTP 123 UDP Optional --> Linux host which will be added to Windows active directory to authenticate with AD users. --> Windows active directory server, to which the Linux host will be joined. This setup should be existed before following the solution given in this document.

After adding the Linux client to Windows AD domain, should be able to login with AD users to this Linux client.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.