diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-30 17:29:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-30 17:29:00 +0000 |
commit | c691c7f7d9afb8af542dc83cf934df1dfd38ef17 (patch) | |
tree | d8b9155d5d504203039f73a937d7b034f9cf99bf /source/rpcclient/rpcclient.c | |
parent | d57d9b99dfc2a83d91b952a11eb1ae4cf37e6467 (diff) | |
download | samba-c691c7f7d9afb8af542dc83cf934df1dfd38ef17.tar.gz samba-c691c7f7d9afb8af542dc83cf934df1dfd38ef17.tar.xz samba-c691c7f7d9afb8af542dc83cf934df1dfd38ef17.zip |
add support for DsEnumerateDomainTrusted for enumerating all the
trusted domains in a forest.
Diffstat (limited to 'source/rpcclient/rpcclient.c')
-rw-r--r-- | source/rpcclient/rpcclient.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c index e684f05ecb2..b4c4d2a9cb1 100644 --- a/source/rpcclient/rpcclient.c +++ b/source/rpcclient/rpcclient.c @@ -519,7 +519,9 @@ static NTSTATUS do_cmd(struct cli_state *cli, } } - if ((cmd_entry->pipe_idx == PI_NETLOGON) && !(cli->pipe_auth_flags & AUTH_PIPE_NETSEC)) { + /* some of the DsXXX commands use the netlogon pipe */ + + if (lp_client_schannel() && (cmd_entry->pipe_idx == PI_NETLOGON) && !(cli->pipe_auth_flags & AUTH_PIPE_NETSEC)) { uint32 neg_flags = 0x000001ff; uint32 sec_channel_type; |