summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h7
-rw-r--r--source3/include/secrets.h6
2 files changed, 13 insertions, 0 deletions
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"