summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-09-23 21:49:09 +0000
committerLuke Leighton <lkcl@samba.org>1998-09-23 21:49:09 +0000
commit29201d4b9b52652c7a992d0f6b677a09b4c33912 (patch)
tree1f9a68a693b41ee703e01706ff03e1dbad09bf21 /source/smbd
parent05fb3c82a57549fba74016eae31b53de30417b3c (diff)
downloadsamba-29201d4b9b52652c7a992d0f6b677a09b4c33912.tar.gz
samba-29201d4b9b52652c7a992d0f6b677a09b4c33912.tar.xz
samba-29201d4b9b52652c7a992d0f6b677a09b4c33912.zip
nttrans.c:
winreg was missing from the list of pipes. advise using the array already defined in... rpc_parse/parse_rpc.c's pipe_names[], but writing code to strip "\PIPE\" from the front when making the check. one location to update when adding new pipes, not two. srv_pipe_hnd.c: moved the ZERO_STRUCT(p) macro to _before_ the DLIST_ADD(Pipes, p) macro. dlinklist.h: added { }s around the code inserted by DLIST_ADD and DLIST_REMOVE macros
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/nttrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index 514b5a0813a..4d3572c6a8b 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -44,6 +44,7 @@ static char *known_nt_pipes[] = {
"\\ntsvcs",
"\\lsass",
"\\lsarpc",
+ "\\winreg",
NULL
};