Monday, August 11, 2014

Join Ubuntu 14.04LTS to a Windows Domain using PBIS Open

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 64bit.
(This process should also work for Lubuntu 14.04)

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 Edition
Go to the following address and download the most current version of PBIS:
Or, from a terminal type the following commands:
cd ~
sudo wget

2.Make the pbis installation script executable
In the terminal navigate to the directory where is located and execute the following command:
sudo chmod +x

3.Run the pbis installation script
From the terminal type the following command to install pbis open:
sudo ./

4.Use PBIS Open to join your PC to the Windows Domain
From 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
When prompted for a password supply the appropriate credentials and you should receive a "SUCCESS" prompt when finished.

5.Set-up default configuration for domain users
Use 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 $domain
sudo /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 file
From a terminal:
sudo vi /etc/pam.d/common-session
Find the line that states the following:
session sufficient
Replace it with:
session [success=ok default=ignore]

7.Edit the lightdm configuration file
Edit the lightdm configuration file and append the following lines:
sudo vi /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
*If you are using Lubuntu 14.04 your lightdm configuration file will be: 60-lightdm-gtk-greeter.conf

8.Give sudo access to users/groups
Add 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.
fadmin ALL=(ALL:ALL) ALL

9.Reboot and Log-in
Reboot your PC and log-in using an appropriate domain user account.

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.

Post: Ubuntu Domain join problem (pbis) - Error: Received error while querying lwsmd. [code 0x00000002


Unity doesn't load, no Launcher, no Dash appears

Blank desktops suck

When login, nothing happens.
Desktop wallpaper.No Dash, no Launcher, nothing.

You just need to turn the Unity plugin back on. The problem is this is a pain in the bottom because you've now got no graphical method to do this. So:
1.Press Ctrl+Alt+F1 and log in.
2.Install the jibby you'll need to configure the settings by running this:
   sudo apt-get install compizconfig-settings-manager
3.Then run it by doing this:
   export DISPLAY=:0
   The first part tells the terminal which display you want it to load on (otherwise it won't have a clue).
4.Press Ctrl+Alt+F7 (or Ctrl+Alt+F8 sometimes) to get back to the graphical display where there should be a CompizConfig Settings Manager screen sitting there.
5.Find the Unity plugin. Enable it.
6.Everything should spring into life but if it doesn't, you might have to restart. You can do that by going back to TTY1 and running sudo reboot.

Bulk YouTube video Downloader

                U can easily download bulk YouTube videos through this plugin (Mozila firefox addon). Just download the plugin through below mentioned URL..