summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_netlog.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-19 19:35:48 +0000
committerGerald Carter <jerry@samba.org>2004-02-19 19:35:48 +0000
commit130cf14673d36129637e286803b7e9e2771b7cdc (patch)
tree5302545eac740f446ce19037b56e123846ec7599 /source3/rpc_server/srv_netlog.c
parentdb4623b2209a26e93ef0b7c95d8b1f4ee7328717 (diff)
downloadsamba-130cf14673d36129637e286803b7e9e2771b7cdc.tar.gz
samba-130cf14673d36129637e286803b7e9e2771b7cdc.tar.bz2
samba-130cf14673d36129637e286803b7e9e2771b7cdc.zip
comment out server portion of DsEnumerateDomainTrusts() since it causes 2k/xp clients to fail to join the domain (see comments in srv_netlog_nt.c for details)
(This used to be commit 981bd70a56094740daf6d144f7b802370c0d9056)
Diffstat (limited to 'source3/rpc_server/srv_netlog.c')
-rw-r--r--source3/rpc_server/srv_netlog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c
index 0ef9b088a9..f06a2002e3 100644
--- a/source3/rpc_server/srv_netlog.c
+++ b/source3/rpc_server/srv_netlog.c
@@ -321,6 +321,7 @@ static BOOL api_net_logon_ctrl(pipes_struct *p)
api_ds_enum_dom_trusts:
*************************************************************************/
+#if 0 /* JERRY */
static BOOL api_ds_enum_dom_trusts(pipes_struct *p)
{
DS_Q_ENUM_DOM_TRUSTS q_u;
@@ -350,6 +351,7 @@ static BOOL api_ds_enum_dom_trusts(pipes_struct *p)
return True;
}
+#endif /* JERRY */
/*******************************************************************
array of \PIPE\NETLOGON operations
@@ -365,7 +367,9 @@ static struct api_struct api_net_cmds [] =
{ "NET_LOGON_CTRL2" , NET_LOGON_CTRL2 , api_net_logon_ctrl2 },
{ "NET_TRUST_DOM_LIST", NET_TRUST_DOM_LIST, api_net_trust_dom_list },
{ "NET_LOGON_CTRL" , NET_LOGON_CTRL , api_net_logon_ctrl },
+#if 0 /* JERRY */
{ "DS_ENUM_DOM_TRUSTS", DS_ENUM_DOM_TRUSTS, api_ds_enum_dom_trusts }
+#endif /* JERRY */
};
void netlog_get_pipe_fns( struct api_struct **fns, int *n_fns )