summaryrefslogtreecommitdiff
path: root/source3/include
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
commit9195f34e4a777cbc3d81858cb36e97ccff54b1a2 (patch)
tree377c1678364bd67d35cdd5bd36c9c529df1645da /source3/include
parent45d3315e3233ad8b9f04cf31537f495438d9348e (diff)
downloadsamba-9195f34e4a777cbc3d81858cb36e97ccff54b1a2.tar.gz
samba-9195f34e4a777cbc3d81858cb36e97ccff54b1a2.tar.bz2
samba-9195f34e4a777cbc3d81858cb36e97ccff54b1a2.zip
Moved definition of winbind username/password secrets into secrets.h
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index db0e13bacd..69ab4f6c8d 100644
--- a/source3/include/secrets.h
+++ b/source3/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 */