Join Ubuntu 14.04LTS to a Windows Domain using PBI
2015-01-20 00:00
183 查看
The following instructions will guide you through the process of joining an Ubuntu 14.04 client to a Windows Domain using Power Broker Identity Services Open Edition version 8.0.1.2029 64bit.
(This process should also work for Lubuntu 14.04)
Environment:
Windows Server 2012 Standard Domain Controller
Ubuntu 14.04 LTS and Lubuntu 14.04 Client PCs
(This process should also work for Lubuntu 14.04)
Environment:
Windows Server 2012 Standard Domain Controller
Ubuntu 14.04 LTS and Lubuntu 14.04 Client PCs
1. | Download the most current stable version of Power Broker Identity Services Open EditionGo to the following address and download the most current version of PBIS:http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=TrueOr, from a terminal type the following commands:cd ~sudo wget http://download.beyondtrust.com/PBISO/8.0.1/linux.deb.x64/pbis-open-8.0.1.2029.linux.x86_64.deb.sh | |
---|---|---|
2. | Make the pbis installation script executableIn the terminal navigate to the directory where pbis-open-8.0.1.2029.linux.x86_64.deb.sh is located and execute the following command:sudo chmod +x pbis-open-8.0.1.2029.linux.x86_64.deb.sh | |
3. | Run the pbis installation scriptFrom the terminal type the following command to install pbis open:sudo ./pbis-open-8.0.1.2029.linux.x86_64.deb.sh | |
4. | Use PBIS Open to join your PC to the Windows DomainFrom the terminal:cd /opt/pbis/bin/sudo domainjoin-cli join --disable ssh $domainname $domainaccount*where domainname = the name of your domain and domainaccount = user@domainname.###EXAMPLE: sudo domainjoin-cli --disable ssh frijoles.com fadmin@frijoles.comWhen prompted for a password supply the appropriate credentials and you should receive a "SUCCESS" prompt when finished. | |
5. | Set-up default configuration for domain usersUse PBIS to pre-configure the user environment for all domain users that log into the newly added system.From the terminal:sudo /opt/pbis/bin/config UserDomainPrefix $domainsudo /opt/pbis/bin/config AssumeDefaultDomain true sudo /opt/pbis/bin/config LoginShellTemplate /bin/bash sudo /opt/pbis/bin/config HomeDirTemplate %H/%U sudo /opt/pbis/bin/config RequireMembershipOf "$domain\\$securitygroup" | |
6. | Edit the pamd.d common-session fileFrom a terminal:sudo vi /etc/pam.d/common-sessionFind the line that states the following: session sufficient pam_lsass.soReplace it with: session [success=ok default=ignore] pam_lsass.so | |
7. | Edit the lightdm configuration fileEdit the lightdm configuration file and append the following lines:sudo vi /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.confallow-guest=falsegreeter-show-manual-login=true*If you are using Lubuntu 14.04 your lightdm configuration file will be: 60-lightdm-gtk-greeter.conf | |
8. | Give sudo access to users/groupsAdd any necessary administrative users and/or groups from your domain to the sudoers file to give them sudo privileges.From a terminal:sudo vi /etc/sudoers*using the file's configuration examples add users/groups appropriately.EXAMPLE:fadmin ALL=(ALL:ALL) ALL | |
9. | Reboot and Log-inReboot your PC and log-in using an appropriate domain user account. |
Conclusion
These instructions have only been tested on Lubuntu 14.04 and Ubuntu 14.04 LTS Distributions. With minimal tweaking these steps should also work for other distributions. Older and now deprecated versions of Likewise-Open should work in a similar fashion as PBIS-Open, and may be required on older distributions.相关文章推荐
- How to join a Ubuntu to Windows Domain
- How to Join a Windows Media Center PC to a Domain
- How to use the Install from Media feature to promote Windows Server 2003-based domain controllers
- Using VirtualBox to run Ubuntu and any other operating system
- How to attack a windows domain
- Error when connecting to Windows Server 2003 using Remote Desktop
- How to own a Windows Domain
- How to reset the Domain Admin Password under Windows Server 2003
- How To Monitor Remote Windows Machine Using Nagios on Linux
- How to integrate custom security policy with Windows domain authentication in ASP.NET
- How to integrate custom security policy into Windows domain authentication
- Using windows live writer to write my blog
- Using Windows Live Writer to write first offline blog
- steps of using wubi to intall ubuntu
- Simulate a Windows Service using ASP.NET to run scheduled jobs
- Remote Desktop from Windows Xp to Ubuntu
- Using Delegates to communicate between Windows Forms
- How To Print Using Custom Page Sizes on Windows NT and Windows 2000(VB6)
- Simulate a Windows Service using ASP.NET to run scheduled jobs
- Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName