summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/include/secrets.h10
-rw-r--r--source/nsswitch/winbindd.h6
2 files changed, 8 insertions, 8 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 */
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 5b63d236ba1..4d35c27c213 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/nsswitch/winbindd.h
@@ -203,10 +203,4 @@ typedef struct {
#define SETENV(name, value, overwrite) ;
#endif
-/* 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"
-
#endif /* _WINBINDD_H */