You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Table of Contents

Install

download from http://lin-srv01:81/LikewiseOpen-6.0.0.8269-linux-i386-deb.sh

Configure

/opt/likewise/bin/lwconfig AssumeDefaultDomain true
echo '%DOMAIN\\domain^admins ALL=(root) /sbin/admin' >> /etc/sudoers
/opt/likewise/bin/lwconfig Local_HomeDirTemplate %H/%D/%U
cp /etc/nsswitch.conf /home/vault/backup/likewise/nsswitch.conf && nano /etc/nsswitch.conf

change line

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

to

hosts:          files dns mdns4_minimal [NOTFOUND=return] mdns4

Then restart the Likewise services

/opt/likewise/bin/lwsm restart lwio

add to domain using

domainjoin-cli join domain.local amelong

Set the Home Directory and Shell for Domain Users

Run the Registry editing tool:

/opt/likewise/bin/lwregshell

In the lsass branch, there are two keys that contain value entries for the home directory and shell. One is for the local provider, the other is for the Active Directory provider. Locations:

cd HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory
set_value LoginShellTemplate /bin/bash
set_value HomeDirTemplate %H/%D/%U
cd HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\Local
set_value LoginShellTemplate /bin/bash
set_value HomeDirTemplate %H/%D/%U

After you change a setting in the registry for the Likewise agent, you must force the agent to load the change by executing the following command with super-user privileges:

Refresh Configuration without Restart
/opt/likewise/bin/lw-refresh-configuration

Sudoers configurations

Add Groups:

%DOMAIN\\GROUP ALL=(ALL) ALL

Troubleshooting

View/Clear User Cache

Show User Cache
/opt/likewise/bin/lw-ad-cache --enum-users

 

Delete User Cache
/opt/likewise/bin/lw-ad-cache --delete-all

List Daemons

/opt/likewise/bin/lwsm list
Unknown macro: {rate}
  • No labels