summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
committerJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
commit9f57f01b144b030274cc5d116b864b3c27f251ef (patch)
tree700d64327adb19152e1d511652a1722bb007c3ca /source3/smbd
parent5e9cd44fedc388cf83807592327696a66835af47 (diff)
downloadsamba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.gz
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.bz2
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.zip
clitar.c: #ifdef'ed out all the bits that were giving 'defined but not used'
messages. nttrans.c: More updates. smb.h: Removed stuff that didn't belong in the smb_passwd struct. Persuaded Luke to use a new structure. web/swat.c: Fixed gcc complaints about shadowing global 'string'. Jeremy. (This used to be commit 61c1dbb9785ed1e6fe40f93c7cc65024884df6f5)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c21
1 files changed, 17 insertions, 4 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 0a861bf9c6..73f6786a04 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -30,6 +30,20 @@ extern int oplock_sock;
extern int smb_read_error;
extern int global_oplock_break;
+static char *known_nt_pipes[] = {
+ "\\LANMAN",
+ "\\srvsvc",
+ "\\samr",
+ "\\wkssvc",
+ "\\NETLOGON",
+ "\\ntlsa",
+ "\\ntsvcs",
+ "\\lsass",
+ "\\lsarpc",
+ NULL
+};
+
+
/****************************************************************************
reply to an unsolicited SMBNTtranss - just ignore it!
****************************************************************************/
@@ -166,9 +180,8 @@ due to being in oplock break state.\n", timestring() ));
SSVAL(outbuf,smb_flg2,flg2 | 0x40); /* IS_LONG_NAME */
}
- /* Now we must call the relevant TRANS2 function */
- switch(function_code)
- {
+ /* Now we must call the relevant NT_TRANS function */
+ switch(function_code) {
case NT_TRANSACT_CREATE:
outsize = call_nt_transact_create(inbuf, outbuf, bufsize, cnum,
&setup, &params, &data);
@@ -204,7 +217,7 @@ due to being in oplock break state.\n", timestring() ));
if(data)
free(data);
return (ERROR(ERRSRV,ERRerror));
- }
+ }
/* As we do not know how many data packets will need to be
returned here the various call_nt_transact_xxxx calls