summaryrefslogtreecommitdiff
path: root/source3/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
commitad2974cd05b4d08c8b92f505bf95aa8e8533235f (patch)
tree68ed4b1c3c99a13154fb768ba9f4bfcc1a3e7ce9 /source3/include
parent0ebb29e032f2cdbfdb55184c0b97fd1f71b84609 (diff)
downloadsamba-ad2974cd05b4d08c8b92f505bf95aa8e8533235f.tar.gz
samba-ad2974cd05b4d08c8b92f505bf95aa8e8533235f.tar.bz2
samba-ad2974cd05b4d08c8b92f505bf95aa8e8533235f.zip
added "net join" command
this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
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"