During my Maverick server trial and errors I have discovered (unfortunately) that you can bind to your Maverick server via it’s local hostname (i.e. bonjour name [e.g. server.local]) and you will get the green dot of joy. Unfortunately, if the server Fully Qualified Domain Name (FQDN) (i.e. server.example.com) does not match the local hostname (i.e. server.local) none of your network users will be able to logon. To enable network users to logon you must bind to the Open Directory using the Maverick server’s FQDN. Which means DNS has to be configured correctly on both the server and the client device. Below are some commands you can run to confirm your DNS is configured correctly.
On the Maverick server open Terminal, and enter the text in black. If DNS is correctly configured on the Maverick server text similar to the green text provided below will be displayed after hitting the return key
server:~ admin$ sudo changeip -checkhostname
Primary address = 192.168.0.2
Current HostName = server.example.com
DNS HostName = server.example.com
The names match. There is nothing to change.
dirserv:success = "success"
server:~ admin$ dig -x server.example.com
; <<>> DiG 9.8.3-P1 <<>> -x server.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3757
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;com.example.server.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
in-addr.arpa. 3553 IN SOA b.in-addr-servers.arpa. nstld.iana.org. 2011030302 1800 900 604800 3600
;; Query time: 37 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Wed Jan 8 22:24:54 2014
;; MSG SIZE rcvd: 118
server:~ admin$ dig -x 192.168.0.2
; <<>> DiG 9.8.3-P1 <<>> -x 192.168.0.2
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, statcom: NOERROR, id: 24902
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;2.0.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
2.0.168.192.in-addr.arpa. 10800 IN PTR server.example.com.
;; AUTHORITY SECTION:
0.168.192.in-addr.arpa. 10800 IN NS server.example.com.
;; ADDITIONAL SECTION:
server.example.com. 10800 IN A 192.168.0.2
;; Query time: 36 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Wed Jan 8 22:25:01 2014
;; MSG SIZE rcvd: 106
If you did not receive text similar to the green text above, the DNS configuration of your Maverick server needs to be modified. I recommend reading Mr. Hoffman’s DNS tips for Maverick servers at http://labs.hoffmanlabs.com/node/1436
On the Maverick client(s) open Terminal, and enter the text in black. If DNS is correctly configured on the Maverick client text similar to the green text provided below will be displayed after hitting the return key, press control c to stop the ping command
client4:~ admin$ ping server.example.com
PING server.example.com (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.425 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.482 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.464 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.446 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.475 ms
64 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.436 ms
64 bytes from 192.168.0.2: icmp_seq=6 ttl=64 time=0.467 ms
64 bytes from 192.168.0.2: icmp_seq=7 ttl=64 time=0.454 ms
^C
--- server.example.com ping statistics ---
8 packets transmitted, 8 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.425/0.456/0.482/0.018 ms
If you did not receive text similar to the green text above, the DNS configuration of your Maverick client needs to be modified. On the client machines under system preferences - network - advanced… - DNS tab, remove all DNS IPs but the Open Directory Server (which is running DNS), if the Open Directory IP is not listed added it.