From ad2974cd05b4d08c8b92f505bf95aa8e8533235f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 24 Nov 2001 14:16:41 +0000 Subject: added "net join" command this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12) --- source3/include/includes.h | 7 +++++++ source3/include/secrets.h | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index 8b61bc573c..adae49ddea 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -737,6 +737,13 @@ typedef struct smb_wpasswd { wpstring pw_shell; } SMB_STRUCT_WPASSWD; +/* used in net.c */ +struct functable { + char *funcname; + int (*fn)(); +}; + + /* Defines for wisXXX functions. */ #define UNI_UPPER 0x1 #define UNI_LOWER 0x2 diff --git a/source3/include/secrets.h b/source3/include/secrets.h index 9abc3637e8..5990170ccc 100644 --- a/source3/include/secrets.h +++ b/source3/include/secrets.h @@ -22,7 +22,13 @@ #ifndef _SECRETS_H #define _SECRETS_H +/* the first one is for the hashed password (NT4 style) the latter + for plaintext (ADS +*/ #define SECRETS_MACHINE_ACCT_PASS "SECRETS/$MACHINE.ACC" +#define SECRETS_MACHINE_PASSWORD "SECRETS/MACHINE_PASSWORD" + + #define SECRETS_DOMAIN_SID "SECRETS/SID" #define SECRETS_SAM_SID "SAM/SID" -- cgit