Bug 743509 - [RFE] implement a script for joining to the Active Directory domain
Summary: [RFE] implement a script for joining to the Active Directory domain
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 7.0
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
Depends On:
TreeView+ depends on / blocked
Reported: 2011-10-05 07:52 UTC by Ondrej Valousek
Modified: 2013-03-20 23:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2013-03-18 13:02:51 UTC

Attachments (Terms of Use)

Description Ondrej Valousek 2011-10-05 07:52:52 UTC
Right now we have a script to join a machine to the IPA domain.
We should have a similar script to join a machine to Active Directory domain.
It should do the similar tasks - i.e.:
1. configure /etc/samba/smb.conf
2. net ads join (- just to get machine creds in /etc/krb5.keytab)
3. configure sssd.conf to have something like this:

ldap_search_base = <search base>
id_provider = ldap
auth_provider = krb5
chpass_provider = krb5
cache_credentials = True
ldap_sasl_authid = <hostname>$@<REALM>
dns_discovery_domain = <REALM>
krb5_realm = <REALM>
ldap_sasl_mech = GSSAPI
ldap_user_object_class = user
ldap_group_object_class = group
ldap_user_home_directory = unixHomeDirectory
ldap_tls_cacertdir = /etc/openldap/cacerts
ldap_schema = rfc2307bis

4. configure PAM modules for sssd
5. configure /etc/krb5.conf
Does it make any sense?

Comment 2 RHEL Product and Program Management 2011-10-05 08:09:56 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support

Comment 3 Stephen Gallagher 2011-10-05 12:22:27 UTC
Upstream ticket:

Comment 7 Jenny Galipeau 2013-03-18 13:02:51 UTC
Closing RFE, this was implemented by introducing realmd in RHEL 7.0

Note You need to log in before you can comment on or make changes to this bug.