AD authentication on Ubuntu 12.04

1)  Get the latest PBIS Open Edition from BeyondTrust (formerly Likewise):

2)  chmod 755 the file, execute it, then install it.

chmod 755


cd pbis-open-


3)  Join the domain

sudo domainjoin-cli join administrator

4)  Add domain group to sudoers

sudo visudo

%GUAMMIE\\domain^admins ALL=(ALL) ALL

5)  Make domain logins use Bash (or whatever shell you want), refresh lss, and clear ad cache

sudo /opt/likewise/bin/lwregshell set_value ‘[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]’ LoginShellTemplate /bin/bash
sudo /opt/likewise/bin/lwregshell set_value ‘[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\Local]’ LoginShellTemplate /bin/bash
sudo /opt/likewise/bin/lwsm refresh lsass
sudo /opt/likewise/bin/lw-ad-cache –delete-all

That’s it.

Leave a Reply

Your email address will not be published. Required fields are marked *