I'm replacing my Windows workstations.
Can Ubuntu "login using AD" to Windows Server 2008 R2? Like Windows workstations that belong to a domain?
|
I'm replacing my Windows workstations. Can Ubuntu "login using AD" to Windows Server 2008 R2? Like Windows workstations that belong to a domain? |
|||||||||
|
|
Yes, after I typed "active directory ubuntu authenticate" into google, the top page was this: https://help.ubuntu.com/community/ActiveDirectoryHowto So yes you can do that. There are several ways to use AD for authentication, you can use Centrify Express, Likewise Open, pam_krb5, LDAP or winbind. For Centrify Express see DirectControl. Centrify Express can be used to integrate servers or desktops with Active Directory. Likewise Open is also a solution for Linux workstations to authenticate to an Active Directory domain. For Likewise Open see LikewiseOpen or Likewise Open. For Winbind see ActiveDirectoryWinbindHowto. LikewiseOpen will be easiest: Just install the packages:
If you want to have the gui for it:
Then to integrate it through CLI: Once you've installed the likewise-open package the main executable file is /usr/bin/domainjoin-cli which is used to join your computer to the domain. Before you join a domain you will need to make sure:
To join a domain from a terminal prompt enter:
You will then be prompted for the user's password. Administrator in the example above. If all goes well a SUCCESS message should be printed to the console. The account specified in the domainjoin-cli argument must have permission to join machines in Active Directory. After joining the domain, Likewise Software advises users restart their machines as a number of daemons must be restarted in a specific sequence. Logging inOnce you have successfully joined a Ubuntu machine to an Active Directory domain you can login using any valid AD user. To login you will need to enter the user name as 'domain\username'. For example to ssh to a server joined to the domain enter:
or
or
If configuring a Desktop the username will need to be prefixed with domain\ in gdm. |
|||||
|
|
Likewise Open is a good easy way to do that. As from Ubuntu help page:
Where Then you'll be prompted for the password for Also there is a graphical interface for likewise-open... |
|||||||
|
|
Yes, it's possible, but can be quite a pain to set-up. You have to install libnss-ldap and configure your workstation properly. See the Ubuntu guide to get started. |
|||||||||||
|