login to windows domain from fedora core

January 1, 2005

Found this article: Linux-Windows Single Sign-On outlining how to authenticate with an Active Directory domain controller at login. Here are the steps:
# system-config-authentication
Check Use Winbind and click next.
On the next page:

  • Security Model: ADS
  • Domain: flat (NetBIOS) name for the domain (COMPANY)
  • Domain Controllers: Fully Qualified Domain Name (FQDN) for a domain controller (dc1.company.com)
  • ADS Realm: FQDN for the domain (company.com)
  • Template Shell: /bin/bash

Once winbind is configured and starts up, join the computer to domain:
# net ads join -U administrator
Finally, add this line to the end of /etc/pam.d/login and /etc/pam.d/gdm session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
so the home directories will get created on the fly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: