summaryrefslogtreecommitdiff
path: root/dfs_server/dfs_server_ad.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-04 13:08:50 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-08 01:43:38 +0200
commitf697956dcba801e4209b375f6ebda3168e2a210d (patch)
treee55e8eb3108f12ee05ccdf5a4fad9917481c63a8 /dfs_server/dfs_server_ad.h
parentde912e783b9ca3a95776fd26073eb43034c0acb0 (diff)
downloadsamba-f697956dcba801e4209b375f6ebda3168e2a210d.tar.gz
samba-f697956dcba801e4209b375f6ebda3168e2a210d.tar.bz2
samba-f697956dcba801e4209b375f6ebda3168e2a210d.zip
dfs_server: add generic dfs_server_ad_get_referrals() call
This is a generic function to implement the domain, dc and sysvol DFS referrals. metze
Diffstat (limited to 'dfs_server/dfs_server_ad.h')
-rw-r--r--dfs_server/dfs_server_ad.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/dfs_server/dfs_server_ad.h b/dfs_server/dfs_server_ad.h
new file mode 100644
index 0000000000..cda923d639
--- /dev/null
+++ b/dfs_server/dfs_server_ad.h
@@ -0,0 +1,23 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Copyright Stefan Metzmacher 2011
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+NTSTATUS dfs_server_ad_get_referrals(struct loadparm_context *lp_ctx,
+ struct ldb_context *sam_ctx,
+ const struct tsocket_address *client,
+ struct dfs_GetDFSReferral *r);