summaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-24 14:16:41 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-24 14:16:41 +0000
commit058a5aee901e6609969ef7e1d482a720a84a4a12 (patch)
tree64dec5228fbdc2371ad88e1252fe7d52650de823 /source/include
parentad7afbfdea600a62fa1550bd354996ad38807533 (diff)
downloadsamba-058a5aee901e6609969ef7e1d482a720a84a4a12.tar.gz
added "net join" command
this completes the first stage of the smbd ADS support
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h7
-rw-r--r--source/include/secrets.h6
2 files changed, 13 insertions, 0 deletions
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"