Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

Wednesday, July 7, 2010

Linux/Unix join Windows Domain

    There are several ways to make Linux/Unix to join Windows Domain:
  • Kerberos only

  • LDAP only

  • Kerberos plus LDAP - This is a lower-level option where you set up Linux to use Active Directory's underlying protocols yourself. Described in Kerberos (for authentication) and LDAP (for authorization).

  • Samba (Winbind/Kerberos) - Samba is the tool for joining a Linux machine to a Windows domain.

  • Likewise - Likewise is basically Samba-in-a-box; easier to set up than a full-fledged Samba installation (the GUI should do it for you in under an hour, including time to read its docs), but correspondingly less control. Likewise Open is free of charge; Likewise Enterprise adds features like managing Linux machines via Group Policy.

  • Microsoft Windows Services for Unix includes options for serving usernames to Linux / UNIX via NIS and for synchronizing passwords to Linux / UNIX machines. You'd use this if you wanted to do everything possible from Windows or if you had an existing Linux / UNIX infrastructure you wanted to tie to Windows; for most environments, though, one of the other solutions would be better.

Reference:

http://www.infosecwriters.com/text_resources/pdf/AD_and_Linux_TMunn.pdf

http://serverfault.com/questions/76803/how-can-i-have-a-linux-machine-join-a-windows-domain

http://networking.devel.ws/join-linux-to-an-active-directory-domain

http://www.cyberciti.biz/tips/how-do-i-join-a-windows-2003-active-directory-domain-from-linux-system.html

http://blog.scottlowe.org/2007/07/09/linux-ad-integration-with-windows-server-2008/

http://hi.baidu.com/tl1008/blog/item/078c111a7be891128718bf01.html

http://acd.ucar.edu/~fredrick/linux/samba3/

http://onlamp.com/pub/a/onlamp/2008/04/01/step-by-step-using-samba-to-join-a-windows-domain.html

http://wiki.samba.org/index.php/Samba_&_Active_Directory

http://faculty.ksu.edu.sa/albahlal/Documents/CAP333%20Slides/Unix%20part2.ppt

http://www.interopsystems.com/downloads/Using_Server_for_NIS_IdMU_Kerberos.pdf

 

Authenticate Linux Clients with Active Directory

http://technet.microsoft.com/en-us/magazine/2008.12.linux.aspx

 

Linux-Windows Single Sign-On

http://redmondmag.com/articles/2005/01/01/linuxwindows-single-signon.aspx

 

Integrate Linux with Windows AD Domain Controller

http://blog.palalinha.com/2009/04/integrate-linux-box-with-windows-ad.html

 

OpenSSH on Linux using Windows/Kerberos for Authentication

http://port25.technet.com/Videos/research/OpenSSH%20on%20Linux%20using%20Windows.pdf

 

使用 Winbind將Linux加入 Windows 域環境(伺服務架設實作1)

http://tw.myblog.yahoo.com/chen_10220214/article?mid=6637&prev=6645&l=f&fid=24

 

實作windows xp 加入samba網域二(伺服器架設實作2)

http://tw.myblog.yahoo.com/chen_10220214/article?mid=-2&prev=6637&l=f&fid=24

 

http://tw.myblog.yahoo.com/chen_10220214/archive?l=f&id=24

 

 

Windows Server 2008 - Unix Interoperability

http://edge.technet.com/Media/649/

 

Active Directory 網域服務概觀

ht
tp://technet.microsoft.com/zh-tw/library/cc731053%28WS.10%29.aspx

Print Friendly and PDF
Share/Bookmark

Likewise – for Linux/Unix join domain

Likewise Open is a free, open source application that joins Linux, Unix, and Mac machines to Microsoft Active Directory and securely authenticates users with their domain credentials.

http://www.likewise.com/products/likewise_open/

http://ithelp.ithome.com.tw/question/10031086

Print Friendly and PDF
Share/Bookmark

Friday, February 19, 2010

Crontab 不會自動執行 修復、處理步驟 (Copy from: http://plog.longwin.com.tw/my_note-unix/2010/01/27/crontab-can-not-execute-fix-2010?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+tsungblog+%28Tsung%27s+Blog%29)

Crontab 不會自動執行 修復、處理步驟

發現 Crontab 已經好幾天都不會執行, 有點詭異.

直接 crontab -e 再去 新增 / 修改 也都不會動, 手動執行都是正常.

註: crontab 寫法都是正確的.

檢查、更新 Crontab

做下述的檢查、重新設定的動作看看.

  1. ls /var/spool/cron/crontab # 看權限是某正確, 資料是否正確.
  2. 若有使用 flock, 然後有存 tmp file 的, 把那些 tmp file 都砍了.
  3. crontab -l > cron_backup; crontab -r; crontab cron_backup # 把 crontab 砍掉重新匯入
  4. 以上都做過, Crontab 還是都不會動.

解法

上述做法都沒有用, 最後試試 重新啟動 cron, 結果就可以動了, 重新啟動步驟如下:

  1. ps aux | grep cron
    root     15082  0.0  0.0  18708  1068 ?        Ss   13:23   0:00 cron
  2. kill 15082
  3. ps aux | grep cron # 若已經自動跑起來, 就不需要下面的步驟
  4. /usr/sbin/cron &

From:

http://plog.longwin.com.tw/my_note-unix/2010/01/27/crontab-can-not-execute-fix-2010?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+tsungblog+%28Tsung%27s+Blog%29

Print Friendly and PDF
Share/Bookmark

Tuesday, September 29, 2009

PC-BSD (Based on FreeBSD client OS)

PC-BSD is a free operating system with ease of use in mind. Like any modern system, you can listen to your favorite music, watch your movies, work with office documents and install your favorite applications with a setup wizard at a click.

http://www.pcbsd.org/ Print Friendly and PDF
Share/Bookmark