summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-22 14:28:19 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-22 14:28:19 +0000
commit6ee065ce6e099acfc7e83ad399ef6e60b4c625c1 (patch)
treeba2e7194b42aa2526a3476933ad9d913fe28d4b8 /source/include/smb.h
parentec60e48d7982240b7755d246b2f1e8989467f66f (diff)
downloadsamba-6ee065ce6e099acfc7e83ad399ef6e60b4c625c1.tar.gz
samba-6ee065ce6e099acfc7e83ad399ef6e60b4c625c1.tar.xz
samba-6ee065ce6e099acfc7e83ad399ef6e60b4c625c1.zip
Makefile client.c clientutil.c clitar.c nmbsync.c :
redid the split that i did a year ago, taking the functions in client.c out into clientutil.c. guess what? we could now do encrypted password NetServerEnum2 calls in nmbd, if we wanted to. i can now use cli_call_api() to send to different pipes. i hope. pipenetlog.c: allow adding to users group _and_ to admin group. if adding to guest group, don't allow adding to users or admin as well. smb.h : added some pipe #defines (\PIPE\NETLOGON \PIPE\srvsvc ...) proto.h : usual.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 913f5607b72..d10b449e6fd 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -260,6 +260,12 @@ typedef char fstring[128];
typedef fstring string;
+/* pipe strings */
+#define PIPE_LANMAN "\\PIPE\\LANMAN"
+#define PIPE_SRVSVC "\\PIPE\\srvsvc"
+#define PIPE_NETLOGON "\\PIPE\\NETLOGON"
+#define PIPE_NTLSA "\\PIPE\\ntlsa"
+
/* NETLOGON opcodes and data structures */
#define NET_QUERYFORPDC 7 /* Query for PDC */