diff options
author | Tim Potter <tpot@samba.org> | 2002-05-29 01:43:44 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-05-29 01:43:44 +0000 |
commit | 568deecbf0bcda46fd9c927ad10b76d748b8c64d (patch) | |
tree | d4fbc740caa88be5608001dcde47c0d58ead43ea /source3/rpc_parse | |
parent | 43b35364ffda5c779452fb41c015b280fefc6ab6 (diff) | |
download | samba-568deecbf0bcda46fd9c927ad10b76d748b8c64d.tar.gz samba-568deecbf0bcda46fd9c927ad10b76d748b8c64d.tar.bz2 samba-568deecbf0bcda46fd9c927ad10b76d748b8c64d.zip |
Added netremotetod to try and figure out which srvsvc commands are denied
when using restrictanonymous.
(This used to be commit 0c65978ed07903af808da5f32cc29531aef23225)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_srv.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c index f469b47923..79cf0d9776 100644 --- a/source3/rpc_parse/parse_srv.c +++ b/source3/rpc_parse/parse_srv.c @@ -2909,3 +2909,14 @@ BOOL srv_io_r_net_file_set_secdesc(char *desc, SRV_R_NET_FILE_SET_SECDESC *r_n, return True; } + +/******************************************************************* + Inits a structure +********************************************************************/ + +void init_srv_q_net_remote_tod(SRV_Q_NET_REMOTE_TOD *q_u, char *server) +{ + q_u->ptr_srv_name = 1; + init_unistr2(&q_u->uni_srv_name, server, strlen(server) + 1); +} + |