summaryrefslogtreecommitdiff
path: root/source3/include/secrets.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/secrets.h')
-rw-r--r--source3/include/secrets.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index 8a5a573bcc..69ab4f6c8d 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -35,8 +35,6 @@
#define SECRETS_DOMAIN_SID "SECRETS/SID"
#define SECRETS_SAM_SID "SAM/SID"
-#define SECRETS_LDAP_BIND_PW "SECRETS/LDAP_BIND_PW"
-
/* Authenticated user info is stored in secrets.tdb under these keys */
#define SECRETS_AUTH_USER "SECRETS/AUTH_USER"
@@ -50,26 +48,12 @@ struct machine_acct_pass {
time_t mod_time;
};
-/*
- * storage structure for trusted domain
- */
+/* structure for storing trusted domain password */
struct trusted_dom_pass {
- size_t uni_name_len;
- smb_ucs2_t uni_name[32]; /* unicode domain name */
- size_t pass_len;
- fstring pass; /* trust relationship's password */
+ int pass_len;
+ fstring pass;
time_t mod_time;
- DOM_SID domain_sid; /* remote domain's sid */
+ DOM_SID domain_sid; /* remote domain's sid */
};
-/*
- * trusted domain entry/entries returned by secrets_get_trusted_domains
- * (used in _lsa_enum_trust_dom call)
- */
-typedef struct trustdom {
- smb_ucs2_t *name;
- DOM_SID sid;
-} TRUSTDOM;
-
-
#endif /* _SECRETS_H */