summaryrefslogtreecommitdiffstats
path: root/source/include/secrets.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-10 00:35:00 +0000
committerTim Potter <tpot@samba.org>2002-04-10 00:35:00 +0000
commitb618b5943d53f33e6f03d8d47cf87efc5e1ad3e5 (patch)
tree38e321108096e354ea230cbda16fcd7bd34ce053 /source/include/secrets.h
parent3e7985c60ee9888285769f1eb0ec81f764c26d91 (diff)
downloadsamba-b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5.tar.gz
samba-b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5.tar.xz
samba-b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5.zip
Moved definition of winbind username/password secrets into secrets.h
Diffstat (limited to 'source/include/secrets.h')
-rw-r--r--source/include/secrets.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/include/secrets.h b/source/include/secrets.h
index db0e13bacdb..69ab4f6c8dc 100644
--- a/source/include/secrets.h
+++ b/source/include/secrets.h
@@ -30,10 +30,17 @@
/* this one is for storing trusted domain account password */
#define SECRETS_DOMTRUST_ACCT_PASS "SECRETS/$DOMTRUST.ACC"
-
+/* The domain sid and our sid are stored here even though they aren't
+ really secret. */
#define SECRETS_DOMAIN_SID "SECRETS/SID"
#define SECRETS_SAM_SID "SAM/SID"
+/* Authenticated user info is stored in secrets.tdb under these keys */
+
+#define SECRETS_AUTH_USER "SECRETS/AUTH_USER"
+#define SECRETS_AUTH_DOMAIN "SECRETS/AUTH_DOMAIN"
+#define SECRETS_AUTH_PASSWORD "SECRETS/AUTH_PASSWORD"
+
/* structure for storing machine account password
(ie. when samba server is member of a domain */
struct machine_acct_pass {
@@ -49,5 +56,4 @@ struct trusted_dom_pass {
DOM_SID domain_sid; /* remote domain's sid */
};
-
#endif /* _SECRETS_H */