From 058a5aee901e6609969ef7e1d482a720a84a4a12 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 --- source/include/includes.h | 7 +++++++ source/include/secrets.h | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'source/include') diff --git a/source/include/includes.h b/source/include/includes.h index 8b61bc573ca..adae49ddeaa 100644 --- a/source/include/includes.h +++ b/source/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/source/include/secrets.h b/source/include/secrets.h index 9abc3637e8b..5990170ccc9 100644 --- a/source/include/secrets.h +++ b/source/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 v1.2.1