summaryrefslogtreecommitdiff
path: root/source/include/nameserv.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-11 15:10:57 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-11 15:10:57 +0000
commit1eaad1c99463dcd42eb8ff4ea5686ad9ec6fc42e (patch)
tree9f9e9027bd363cc58d62ca84766ec1306ed538dc /source/include/nameserv.h
parent15a987b9b84293e0c921388b63519e0cf320601f (diff)
downloadsamba-1eaad1c99463dcd42eb8ff4ea5686ad9ec6fc42e.tar.gz
namelogon.c :
added NTLOGON. (fixed the case 0:) namepacket.c: call to NTLOGON mailslot nameserv.h defines for NETLOGON and NTLOGON mailslot util.c: added andrew's dump_data() function.
Diffstat (limited to 'source/include/nameserv.h')
-rw-r--r--source/include/nameserv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h
index 83f3a3c5246..593c101d92f 100644
--- a/source/include/nameserv.h
+++ b/source/include/nameserv.h
@@ -82,6 +82,7 @@
/* mail slots */
#define BROWSE_MAILSLOT "\\MAILSLOT\\BROWSE"
#define NET_LOGON_MAILSLOT "\\MAILSLOT\\NET\\NETLOGON"
+#define NT_LOGON_MAILSLOT "\\MAILSLOT\\NET\\NTLOGON"
enum name_source {STATUS_QUERY, LMHOSTS, REGISTER, SELF, DNS, DNSFAIL};
enum node_type {B_NODE=0, P_NODE=1, M_NODE=2, NBDD_NODE=3};
@@ -372,6 +373,12 @@ struct packet_struct
} packet;
};
+/* NETLOGON opcodes */
+#define QUERYFORPDC 7 /* Query for PDC */
+#define QUERYFORPDC_R 12 /* Response to Query for PDC */
+#define SAMLOGON 18
+#define SAMLOGON_R 19
+
/* ids for netbios packet types */
#define ANN_HostAnnouncement 1