summaryrefslogtreecommitdiff
path: root/source3/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
commit500a474aae49bd1cc8e75481a3b3cd6e79720d89 (patch)
treef54565577fcc595c6986aefece306ff7aff079f4 /source3/smbd
parent0e091a52074655aedeeaad488d61e241909a3dc5 (diff)
downloadsamba-500a474aae49bd1cc8e75481a3b3cd6e79720d89.tar.gz
samba-500a474aae49bd1cc8e75481a3b3cd6e79720d89.tar.bz2
samba-500a474aae49bd1cc8e75481a3b3cd6e79720d89.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 (This used to be commit 29201d4b9b52652c7a992d0f6b677a09b4c33912)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 514b5a0813..4d3572c6a8 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -44,6 +44,7 @@ static char *known_nt_pipes[] = {
"\\ntsvcs",
"\\lsass",
"\\lsarpc",
+ "\\winreg",
NULL
};