>Investigating the possibility of replacing the MS DNS on Plan9 DNS,not found 
>in the man ndb mention of records of type SRV.
>It is necessary to support Microsoft Active Directory. Maybe I missed 
>something?
>http://en.wikipedia.org/wiki/SRV_record

I got AD to work with Plan 9 DNS just last year.  It didn't work very well, and 
I had problems with the DNS
service dying from time to time and I'd have to go restart it.  Much as I'd 
preferred to have stayed on Plan 9 DNS,
I switched to BIND 9 on OpenBSD and have had far fewer problems.  But anyway, 
here's the Active Directory support 
portion of my /ndb/local.  This supported a domain whose domain was "testad".  
Like I said, it works, but not as
seamlessly as MS DNS or BIND 9 with dynamic updates enabled...  (pardon the 
excessive comments)



#################################################
#
# Active Directory support
# See http://technet.microsoft.com/en-us/library/dd316373.aspx
#
#################################################

#
# Domain Controllers:
#
ip=10.0.0.20 sys=kfdc1 dom=kfdc1.testad.test.local
        ether=
ip=10.0.0.21 sys=kfdc2 dom=kfdc2.testad.test.local
    ether=005056b36086

#
# requisite CNAME aliases
#
cname=kfdc2.testad.test.local
        dom=testad.test.local

cname=kfdc2.testad.test.local
        dom=8df1f9af-8c89-4263-9c30-a40ad5ac728f._msdcs.testad.test.local

#
# SRV records, etc
#
dom=testad.test.local soa=
        refresh=3600 ttl=3600
        ns=ns2.test.local
        #ns=ns1.test.local
        dnsdomain=testad.test.local


dom=_ldap._tcp.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
    srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_kerberos._tcp.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=88
    srv=kfcd2.testad.test.local pri=1 weight=1 port=88

dom=_kpasswd._udp.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=464
        srv=kfdc2.testad.test.local pri=1 weight=1 port=464

dom=_kpasswd._tcp.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=464
        srv=kfdc2.testad.test.local pri=1 weight=1 port=464

dom=_ldap._tcp.dc._msdcs.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
    srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_ldap._tcp.gc._msdcs.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

# only one PDC
dom=_ldap._tcp.pdc._msdcs.testad.test.local soa=
        srv=kfdc2.testad.test.local pri=0 weight=0 port=389

dom=_ldap._tcp.KlamathFalls._sites.gc._msdcs.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_kerberos._tcp.dc._msdcs.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=88
    srv=kfdc2.testad.test.local pri=1 weight=1 port=88

dom=gc._msdcs.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=3268
    srv=kfdc2.testad.test.local pri=1 weight=1 port=3268

dom=_gc._tcp.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=3268
        srv=kfdc2.testad.test.local pri=1 weight=1 port=3268

dom=_ldap._tcp.e3514235-4b06-11d1-ab04-00c04fc2dcd2.domains._msdcs.testad.test.local
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

# Key Management Service
dom=_VLMCS._tcp.testad.test.local soa=
        srv=kfdc2.testad.test.local pri=0 weight=0 port=1688

dom=_ldap._tcp.KlamathFalls._sites.domaindnszones.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_ldap._tcp.domaindnszones.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_ldap._tcp.KlamathFalls._sites.forestdnszones.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389

dom=_ldap._tcp.forestdnszones.testad.test.local soa=
        srv=kfdc1.testad.test.local pri=0 weight=0 port=389
        srv=kfdc2.testad.test.local pri=1 weight=1 port=389



#################################################
#
# End Active Directory Support
#
#################################################

Reply via email to