summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1999-11-16 14:10:23 +0000
committerRichard Sharpe <sharpe@samba.org>1999-11-16 14:10:23 +0000
commit8a84d000c96fe4487adba5df0f50fa6e8fb27c24 (patch)
tree57d38b9bd189a0f5a3620d16fdbd35989927545f /source3/include
parent089b57b5b4e81ceb854f10e89c5d83fc885f8809 (diff)
downloadsamba-8a84d000c96fe4487adba5df0f50fa6e8fb27c24.tar.gz
samba-8a84d000c96fe4487adba5df0f50fa6e8fb27c24.tar.bz2
samba-8a84d000c96fe4487adba5df0f50fa6e8fb27c24.zip
Changes to implement NET_AUTH based on NET_AUTH2, to get Win2000
happier in joining a Samba domain. (This used to be commit 70274b5253182f3541584ecd844f07376a3d3df9)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_netlogon.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index e8ea7a4dcb..08f4699636 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -30,6 +30,7 @@
#define NET_SRVPWSET 0x06
#define NET_SAMLOGON 0x02
#define NET_SAMLOGOFF 0x03
+#define NET_AUTH 0x05
#define NET_AUTH2 0x0f
#define NET_LOGON_CTRL2 0x0e
#define NET_TRUST_DOM_LIST 0x13
@@ -226,7 +227,23 @@ typedef struct net_r_req_chal_info
} NET_R_REQ_CHAL;
+/* NET_Q_AUTH */
+typedef struct net_q_auth_info
+{
+ DOM_LOG_INFO clnt_id; /* client identification info */
+ DOM_CHAL clnt_chal; /* client-calculated credentials */
+
+
+} NET_Q_AUTH;
+
+/* NET_R_AUTH */
+typedef struct net_r_auth_info
+{
+ DOM_CHAL srv_chal; /* server-calculated credentials */
+
+ uint32 status; /* return code */
+} NET_R_AUTH;
/* NET_Q_AUTH_2 */
typedef struct net_q_auth2_info
@@ -238,7 +255,6 @@ typedef struct net_q_auth2_info
} NET_Q_AUTH_2;
-
/* NET_R_AUTH_2 */
typedef struct net_r_auth2_info
{
@@ -249,7 +265,6 @@ typedef struct net_r_auth2_info
} NET_R_AUTH_2;
-
/* NET_Q_SRV_PWSET */
typedef struct net_q_srv_pwset_info
{