summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_netlog_nt.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-10-17 16:27:26 +0000
committerGerald Carter <jerry@samba.org>2003-10-17 16:27:26 +0000
commit1b259ab003430bc38234c893f2fbbfb30cc7afa0 (patch)
tree2d36fd04d619f6787ae109d75d6aa25930fbdaf7 /source3/rpc_server/srv_netlog_nt.c
parenta278f48c6a2fe7c43c9f3f53eecad5d20c47b89e (diff)
downloadsamba-1b259ab003430bc38234c893f2fbbfb30cc7afa0.tar.gz
samba-1b259ab003430bc38234c893f2fbbfb30cc7afa0.tar.bz2
samba-1b259ab003430bc38234c893f2fbbfb30cc7afa0.zip
* fix some compile warnings in the gums code
* add server support for DsEnumerateDomainTrusts() (This used to be commit 06bacf6e3434db5bd09b48f84206441712e69a63)
Diffstat (limited to 'source3/rpc_server/srv_netlog_nt.c')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 602cd7d2d5..66fa6e7678 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -762,4 +762,18 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
return status;
}
+/*************************************************************************
+ _ds_enum_dom_trusts
+ *************************************************************************/
+NTSTATUS _ds_enum_dom_trusts(pipes_struct *p, DS_Q_ENUM_DOM_TRUSTS *q_u,
+ DS_R_ENUM_DOM_TRUSTS *r_u)
+{
+ NTSTATUS status = NT_STATUS_OK;
+ /* We just return zero trusts for now. At least that way we're
+ consistent with NetTrustedDomainList which is what the fallback
+ for this function is. Both of these functions need to be
+ reworked. */
+
+ return status;
+}