1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

Moved definition of winbind username/password secrets into secrets.h

This commit is contained in:
Tim Potter -
parent 3e7985c60e
commit b618b5943d
2 changed files with 8 additions and 8 deletions

View File

@ -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 */

View File

@ -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 */