...
Table
...
of
...
Contents
...
Table of Contents |
---|
Install
download from http://lin-srv01:81/LikewiseOpen-6.0.0.8269-linux-i386-deb.sh
Configure
Code Block | ||
---|---|---|
| ||
]{color} h1. Configure {code:lang=xml} /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{code} {color:#333333}change line{color} {code:lang=xml} |
change line
Code Block | ||
---|---|---|
| ||
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4{code}
{color:#333333}to{color}
{code:lang=xml} |
to
Code Block | ||
---|---|---|
| ||
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4 |
Then restart the Likewise services
Code Block | ||
---|---|---|
| ||
{code} {color:#333333}Then restart the Likewise services{color} {code:lang=xml}/opt/likewise/bin/lwsm restart lwio{code} {color:#333333}add to |
add to domain using
Code Block | ||
---|---|---|
| ||
domain using{color} {code:lang=xml}domainjoin-cli join domain.local amelong{ |
Set the Home Directory and Shell for Domain Users
Run the Registry editing tool:
Code Block | ||
---|---|---|
| ||
code} h1. Set the Home Directory and Shell for Domain Users {color:#333333}Run the Registry editing tool:{color} {code:lang=xml}/opt/likewise/bin/lwregshell{code} {color:#333333}In the lsass |
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:
Code Block | ||||
---|---|---|---|---|
| ||||
{color}
{code:xml}
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:
Code Block | ||||
---|---|---|---|---|
| ||||
{code}
{color:#333333}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:{color}
{code:lang=xml|title=Refresh Configuration without Restart}/opt/likewise/bin/lw-refresh-configuration |
Sudoers configurations
Add Groups:
Code Block |
---|
{code} h1. Sudoers configurations Add Groups: {code}%DOMAIN\\GROUP ALL=(ALL) ALL{code} h1. Troubleshooting h2. |
Troubleshooting
View/Clear
...
User
...
Cache
Code Block | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| =
| |
| =
|
|
| |||||||||
}/opt/likewise/bin/lw-ad-cache --enum-users{code} {color:#333333} {color} {code:lang |
Code Block | ||||
---|---|---|---|---|
| ||||
=xml|title=Delete User Cache}/opt/likewise/bin/lw-ad-cache --delete-all |
List Daemons
Code Block |
---|
{code} h2. List Daemons {code}/opt/likewise/bin/lwsm list{code} {rate} |