[SSSD] oddjob/mkhomedir not creating home directory for AD users

Solution Verified - Updated -

Issue

After joining RHEL to AD via SSSD, oddjob/mkhomedir fail to create home directory for AD users.

Note: The following solution requires a successful integration of RHEL to AD via SSSD (with or without realmd) and is not a troubleshooting guide on that.
The systems are configured properly, however pam_oddjob_mkhomedir is failing to create the home directories due to a lack of information on AD side.

Environment

  • Red Hat Enterprise Linux
  • sssd
  • oddjobd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content