You are not logged in.

#1 2014-08-19 12:57:45

shelbydz
Member
Registered: 2014-03-16
Posts: 58

short Active Directory How To -- append for wiki entry

ive been fighting with this for a few days. ill add these steps to the existing wiki page, but just wanted to dump them out while they're fresh in my mind.

My goal: get an arch box on my work's windows domain. Steps that seem to be missing from the wiki are:

* add your computer name plus domain to your /etc/hosts

127.0.0.1   mycomputer.short.example.com  mycomputer

* add the domain controler / DNS to the host file (in my case, its the same machine, so im not sure if you need both, probably do)

 10.10.10.1 dns.short.example.com short.local short 

* add the domain controller / DNS IP address to the /etc/resolve.conf this is the ONLY entry in the file.

 nameserver 10.10.10.1 

I had to get all these correct before net ads join -U administrator would work

Im still working through this, but these were blocking issues that were not addressed.

EDIT:
the individual services seem to need to be enabled prior to trying to start or enabling samba.service

$ systemctl enable smbd
$ systemctl enable nmbd
$ systemctl enable winbindd
<edit /etc/conf.d/samba>
$ systemctl start samba.service

My box is responding to the hostname across the domain, which is what i want. I can log in via ssh like user@host
but ultimately, i want apache to respond this way too. Like
http://host
Currently, when I try to go to that url, i get ERR_CONNECTION_REFUSED
if I go to the box's IP, i get the correct web page.

Last edited by shelbydz (2014-08-19 14:44:36)

Offline

Board footer

Powered by FluxBB