summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-09 15:48:40 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-09 15:48:40 +0000
commit5a3ea52d4a567a341c8f2243783afdb392991ea2 (patch)
treeddff5b50f7a792ee357c20ff5065550275616fd5 /source3/include
parentad54a5671405374b6308929154c6922bc6a7d0d7 (diff)
downloadsamba-5a3ea52d4a567a341c8f2243783afdb392991ea2.tar.gz
samba-5a3ea52d4a567a341c8f2243783afdb392991ea2.tar.bz2
samba-5a3ea52d4a567a341c8f2243783afdb392991ea2.zip
pipes.c:
added api_ntlsarpcTNP() function. hooray! smb.h: added LSA #defines needed by above function. (This used to be commit 5437f666987918516032cf8a5dada107e5d14d25)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 7d7677b3fc..d0baa66992 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -4,6 +4,8 @@
SMB parameters and setup
Copyright (C) Andrew Tridgell 1992-1997
Copyright (C) John H Terpstra 1996-1997
+ Copyright (C) Luke Kenneth Casson Leighton 1996-1997
+ Copyright (C) Paul Ashton 1997
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -256,6 +258,42 @@ typedef char fstring[128];
typedef fstring string;
+/* NETLOGON opcodes and data structures */
+
+#define NET_QUERYFORPDC 7 /* Query for PDC */
+#define NET_QUERYFORPDC_R 12 /* Response to Query for PDC */
+#define NET_SAMLOGON 18
+#define NET_SAMLOGON_R 19
+
+/* Allowable account control bits */
+#define ACB_DISABLED 1 /* 1 = User account disabled */
+#define ACB_HOMDIRREQ 2 /* 1 = Home directory required */
+#define ACB_PWNOTREQ 4 /* 1 = User password not required */
+#define ACB_TEMPDUP /* 1 = Temporary duplicate account */
+#define ACB_NORMAL /* 1 = Normal user account */
+#define ACB_MNS /* 1 = MNS logon user account */
+#define ACB_DOMTRUST /* 1 = Interdomain trust account */
+#define ACB_WSTRUST /* 1 = Workstation trust account */
+#define ACB_SVRTRUST /* 1 = Server trust account */
+#define ACB_PWNOEXP /* 1 = User password does not expire */
+#define ACB_AUTOLOCK /* 1 = Account auto locked */
+
+#define LSA_OPENPOLICY 0x2c
+#define LSA_QUERYINFOPOLICY 0x07
+#define LSA_ENUMTRUSTDOM 0x0d
+#define LSA_REQCHAL 0x04
+#define LSA_SVRPWSET 0x06
+#define LSA_SAMLOGON 0x02
+#define LSA_AUTH2 0x0f
+#define LSA_CLOSE 0x00
+
+/* unknown .... */
+#define LSA_OPENSECRET 0xFF
+#define LSA_LOOKUPSIDS 0xFE
+#define LSA_LOOKUPNAMES 0xFD
+#define LSA_SAMLOGOFF 0xFC
+
+
/* 32 bit time (sec) since 01jan1970 - cifs6.txt, section 3.5, page 30 */
typedef struct time_info
{