Ubuntu 10.04 Active Directory authentication

From Teknologisk videncenter
Revision as of 18:17, 30 August 2010 by Inckie (talk | contribs)
Jump to: navigation, search

Opsætning af Ubuntu 10.04 Active Directory authentication

det er relativt simple at sætte en Ubuntu maskine til authenticate op imod et AD.

Maskinen skal selvfølgelig være sat op til at bruge dit ADs DNS server(e)

du skal være logget ind som en bruger med administrator rettigheder

sudo apt-get install winbind likewise-open

herefter skal vi melde os ind i domænet:

sudo domainjoin-cli join example Administrator

når du skal logge ind med en domæne bruger skal du prefix brugernavnet med domænet navnet DOMAIN\username


Output fra mit setup

kimse@ubuntu:~$ sudo apt-get install winbind likewise-open
kimse@ubuntu:~$ sudo domainjoin-cli join WSF.local Administrator
Joining to AD Domain:   WSF.local
With Computer DNS Name: ubuntu.wsf.local
Administrator@WSF.LOCAL's password: 
SUCCESS
You should reboot this system before attempting GUI logins as a domain user.
kimse@ubuntu: kimse@ubuntu:~$ reboot
reboot: Need to be root
kimse@ubuntu:~$ sudo reboot
Broadcast message from kimse@ubuntu
	(/dev/pts/0) at 19:08 ...
The system is going down for reboot NOW!
login as: WSF\Administrator

Using keyboard-interactive authentication. Password: WSF\administrator@ubuntu:~$