Tuesday, September 30, 2008

Finally an Easy way for Linux to Join AD

This has been the number one road block for using Linux at our School. About once a year I format a student system into Linux. It starts rosy, I'm feeling good about all the open source software we're going to use. It's an upbeat day. Flash forward to about a week later and I'm sadly RISing it back to XP. Why?

Students just can't login with their AD accounts like they do on Windows or Mac. They have to jump hoops, learn how to mount network shares, access network printers. Sure, the technologist out there might argue "but that stuff is all easy." It might be, but it's different enough to cause grumbling in the ranks.

To try to solve this I've wrestled with joining machines to the AD. I usually can do it, but it takes way ... way too long to do this on every machine. However, this has changed! I'm not really sure when this package came out, but I just found it today. It works like a charm. Here are the short steps for a denebian system

sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join fqdn.of.your.domain Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start

For a better explanation, and for more info, run over to this site where I found these instructions: Bobby Allen's Blog.

Now I just need to remember how to trigger a .sh login script from AD ...

1 comment:

King Arthur said...

Thanks for the info about Likewise.
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.