summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/testjoin.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-08 13:32:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-08 13:32:38 +0200
commitdcc44f1757e24e169ca7730a5c56a0488cd5b110 (patch)
tree8192a866e717df5a2788cb65bc11682b319cc9dc /source4/torture/rpc/testjoin.c
parent8dd6f735bc6ff65a364ac65572529e8abf6f130a (diff)
parent0e59c73fe3a5cde76881294f17bf6ca9258f67a1 (diff)
downloadsamba-dcc44f1757e24e169ca7730a5c56a0488cd5b110.tar.gz
samba-dcc44f1757e24e169ca7730a5c56a0488cd5b110.tar.bz2
samba-dcc44f1757e24e169ca7730a5c56a0488cd5b110.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
(This used to be commit c8dbf00b4490d804e1aac96a3fb66ff726bf9ef6)
Diffstat (limited to 'source4/torture/rpc/testjoin.c')
-rw-r--r--source4/torture/rpc/testjoin.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 02f04946d6..892886c08c 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -553,6 +553,14 @@ const char *torture_join_dom_dns_name(struct test_join *join)
return join->dom_dns_name;
}
+const char *torture_join_server_dn_str(struct test_join *join)
+{
+ if (join->libnet_r) {
+ return join->libnet_r->out.server_dn_str;
+ }
+ return NULL;
+}
+
#if 0 /* Left as the documentation of the join process, but see new implementation in libnet_become_dc.c */
struct test_join_ads_dc {