From 30675f81f60bab24f47758baab8316d4467709ef Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 23 Apr 1998 22:59:19 +0000 Subject: Makefile: Added nterr.c into the mix. clientgen.c: Added nt_error as an entry in the struct client_state. password.c: Open the netlogon pipe. smb.h: Added nt_error as an entry in the struct client_state. lib/rpc/parse/parse_net.c: Added comments on net logon. lib/rpc/server/srv_netlog.c: Added comments on net logon. Jeremy. (This used to be commit 899a9f0dce50c73e03c8da2ebe920957491c8ad7) --- source3/include/proto.h | 4 ++++ source3/include/smb.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index adf753ccf5..70f61781ea 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1492,6 +1492,10 @@ BOOL nmb_name_equal(struct nmb_name *n1, struct nmb_name *n2); BOOL send_packet(struct packet_struct *p); struct packet_struct *receive_packet(int fd,enum packet_type type,int t); +/*The following definitions come from nterr.c */ + +char *get_nt_error_msg(uint32 nt_code); + /*The following definitions come from params.c */ BOOL pm_process( char *FileName, diff --git a/source3/include/smb.h b/source3/include/smb.h index 4438024dbd..8d5cc20582 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -298,7 +298,8 @@ struct cli_state { int uid; int protocol; int sec_mode; - int error; + int rap_error; + uint32 nt_error; int privilages; fstring eff_name; fstring desthost; -- cgit