Home
» LINUX
»
How to Join a Pardus Linux Client to an Active Directory Domain
How to Join a Pardus Linux Client to an Active Directory Domain
Use Pardus Domain Joiner CLI, after confirming DNS and time are correct
For a Pardus Linux client, the direct route is Pardus Domain Joiner, the official Pardus tool for domain enrollment. The current Pardus package tracker lists the command-line package pardus-domain-joiner-cli, version 1.1.2. Its documented join command supports either SSSD or Winbind. This guide uses SSSD in its example; choose the service your organization supports.
Joining will work only if the client can discover an Active Directory domain controller through DNS, reach the required domain services, and authenticate with an account permitted to create or reuse a computer account. A tool cannot compensate for a client using public DNS that cannot resolve the AD domain, a clock that is out of sync, or a join account without the needed rights.
Example values used below: the AD DNS domain is corp.example.com, the authorized join account is joinadmin, and the client name is pdws-042. Replace them with your real domain and approved account. Do not type your password as a command-line argument; the Pardus CLI prompts for it when omitted.
Check the client hostname first and choose a unique name that follows your organization’s computer-naming policy.
Before you start: check the client and the AD environment
Use an elevated local administrator account on Pardus. Ask your AD administrator for the fully qualified DNS domain name, any required organizational unit (OU), whether to use SSSD or Winbind, the allowed join account, and the required login-name format. Joining a computer to a domain creates or updates a computer account in Active Directory; it does not automatically grant every domain user permission to log in locally.
DNS: Configure the client to use a DNS resolver that can answer for the AD zone and its service records. It is often the domain controller’s DNS service, but a correctly configured internal resolver can also work. A public-only resolver will usually fail to locate a private AD domain controller.
Clock: Ensure the system date and time are synchronized with the organization’s time source. Kerberos authentication is time-sensitive.
Hostname: Give the client a unique host name before joining. For example, pdws-042. Confirm that this name does not collide with another active computer account.
Network: Verify that the Pardus machine can reach the domain controllers and services allowed by your network policy. Firewalls and VPN routes can affect discovery and enrollment.
Active Directory uses DNS to help clients locate domain controllers. Microsoft’s guidance identifies LDAP and Kerberos SRV records as important discovery records. If discovery fails, check the client’s configured DNS server and the AD records before changing the join command.
Review the system time and synchronization status; correct clock problems before attempting a Kerberos-backed domain join.
Install and use the Pardus domain tool
Refresh APT metadata, check that the package is available for your Pardus release, and install it from the configured Pardus repository:
The package tracker lists this CLI in the Pardus 25 repository, but availability can vary by edition or repository configuration. If APT shows no candidate, do not download a random package from a third-party site. Check the official Pardus repository or use the graphical Pardus Domain Joiner if it is offered for your installation. Pardus describes that GTK application as a tool for joining or removing a system from a domain; its exact screens can differ by version.
Set the intended local host name if it needs to change. Replace the sample name with the one approved for your network:
sudo hostnamectl set-hostname pdws-042
hostnamectl status
Then ask the Pardus tool to discover the domain before joining:
sudo pardus-domain-joiner-cli info corp.example.com
The command should return discovery information for the requested domain. If it cannot find the realm or domain controller, stop and check DNS, network reachability, VPN state, and the exact DNS domain name. Do not substitute the short NetBIOS name for the DNS domain unless your organization specifically requires it.
The example join syntax names the SSSD service, AD DNS domain, and authorized join account; the password is entered at the secure prompt.
When prompted, enter the password for joinadmin. The Pardus CLI README documents sssd and winbind as the service choices, and says it will prompt securely when a password is not supplied. Keep the password out of shell history and shared scripts. Use a delegated account with only the rights needed to join computers, not a permanent Domain Admin credential.
If your IT team has provided an OU distinguished name (DN), the CLI also documents an optional --ou argument. For example:
Use the OU DN exactly as supplied by the directory administrator. If no OU is required, omit the option. The command also documents a --hostname option; use it only when you need to set the AD computer name separately and have confirmed the expected behavior for your package version.
A successful command should finish without an enrollment error. If it fails, record the complete error text and correct the underlying cause before retrying. Repeated attempts with an incorrect DNS resolver, an expired password, or an unauthorized account are unlikely to help and may leave a stale computer object that the AD administrator needs to review.
Confirm enrollment and test a domain login
Check the joiner’s status after the command completes:
sudo pardus-domain-joiner-cli status
Then check whether the client can resolve a test user through the configured identity service. Use the exact login format approved by your IT team:
id alice@corp.example.com
If the account resolves, the output should include the user’s numeric identity and group information. If it does not, check whether the user is allowed to log in to this client, whether the organization requires a particular user-name format, and whether the selected SSSD or Winbind service is active. Test an interactive login with an approved test account before handing the machine to a user.
Joining the domain establishes domain membership and enables identity lookups through the configured service. It does not guarantee that every Windows Group Policy setting, roaming profile, sudo rule, network share, printer, or software deployment policy will behave the same way on Linux. Configure and validate those capabilities separately with your organization’s Linux management approach.
Common failures and what to check
Symptom
First checks
The domain cannot be discovered
Confirm the AD DNS domain name, client DNS resolver, LDAP SRV records, VPN route, and reachability to a domain controller.
“Cannot contact any KDC” or a Kerberos error
Check DNS discovery for Kerberos services, system time synchronization, domain-controller reachability, and the realm/domain spelling.
The join account is rejected
Confirm credentials, password status, account permissions, computer-account quota or reuse rules, and the requested OU.
The join succeeds but a user cannot log in
Check the selected identity service, login-name format, account access policy, group lookup, and the client’s authentication logs.
For troubleshooting, use the joiner’s info and status commands before editing Kerberos, SSSD, or Samba configuration files. The lower-level realmd command-line interface also provides discovery, join, leave, list, and login-permission commands on systems that use realmd, but do not mix manual realmd changes with Pardus Domain Joiner without understanding which configuration files the Pardus tool manages.
Run the status check after joining, then verify that an approved domain user resolves and can sign in.