Thứ Năm, 10 tháng 9, 2009

Join Linux vào Active Directory bằng LikewiseOpen

Để joint linux vào Domain của AD bạn cần install thêm Likewise Open
Sau khi download các gói thích hợp cho đúng distro ta tiến hành install tương tự như sau :

[root@fc11 hatu]# cd Likewise Open/

[root@fc11 Likewise Open]# ./LikewiseIdentityServiceOpen-5.1.0.5249-linux-i386-rpm.sh
Creating directory LikewiseIdentityServiceOpen-5.1.0.5249-linux-i386-rpm
Verifying archive integrity... All good.
Uncompressing LikewiseIdentityServiceOpen-5.1.0.5249-linux-i386-rpm......................
Checking setup environment...
Likewise Open is provided under the terms of the GNU General
Public License (GPL version 2) and the GNU Library General
Public License (LGPL version 2.1). The additional components
listed below are covered under separate license agreements:

Samba 3.0 Client libraries and tools - GPLv2
MIT Kerberos - MIT Kerberos 5 and other licenses
OpenLDAP - OpenLDAP Public License
Novell DCE-RPC - BSD
LibXML2 - BSD
libuuid from e2fsprogs - BSD
libiconv - LGPLv2
OpenSSL - BSD

For more details and for the full text for each of these
licenses, read the LICENSES and COPYING files included with
this software.
Do you accept the terms of these licenses? (yes/no) y

License accepted.

Would you like to install now? (yes/no) y
Install started

Preparing... ########################################### [100%]
1:likewise-base ########################################### [ 8%]
2:likewise-krb5 ########################################### [ 15%]
3:likewise-openldap ########################################### [ 23%]
4:likewise-sqlite ########################################### [ 31%]
5:likewise-pstore ########################################### [ 38%]
6:likewise-mod-auth-kerb ########################################### [ 46%]
7:likewise-passwd ########################################### [ 54%]
8:likewise-libxml2 ########################################### [ 62%]
9:likewise-domainjoin ########################################### [ 69%]
10:likewise-rpc ########################################### [ 77%]
11:likewise-eventlog ########################################### [ 85%]
12:likewise-lsass ########################################### [ 92%]
13:likewise-netlogon ########################################### [100%]
Starting netlogond: [ OK ]
Starting lwrdrd: [ OK ]
Install complete

Quá trình cài đặt đã hoàn thành.

Bước tiếp theo để joint vào domain ta thực hiện lệnh theo cú pháp :

#/opt/likewise/bin/domainjoin-cli join yourdomain.com yourADusername

vd :
#/opt/likewise/bin/domainjoin-cli join mydomain.com Administrator

Lưu ý : dùng quyền root với lệnh trên.

Khởi động lại máy bạn là bạn có thể đăng nhập vào linux với user trong domain.

2 nhận xét: