s4-dsdb: added samdb_dn_to_dns_domain()
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Aug 2011 07:00:54 +0000 (17:00 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 24 Aug 2011 21:39:38 +0000 (07:39 +1000)
commit9f404b3dea7bd34890eb66ff60432e05efdc2f09
tree9aa42e43da01110b2f7669e1acbfe34cbf479b13
parentbcbb35b0888696db53f63f095e9bf07e493cb9ee
s4-dsdb: added samdb_dn_to_dns_domain()

this converts a DC into the equivalent DNS domain. It is used when
forming t_msdcs NTDS DNS names

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
source4/dsdb/common/util.c