Changeset 988 for vendor/current/source4/param/secrets.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source4/param/secrets.h
r740 r988 18 18 */ 19 19 20 #ifndef _S ECRETS_H21 #define _S ECRETS_H20 #ifndef _SOURCE4_PARAM_SECRETS_H 21 #define _SOURCE4_PARAM_SECRETS_H 22 22 23 23 #define SECRETS_PRIMARY_DOMAIN_DN "cn=Primary Domains" … … 29 29 #define SECRETS_LDAP_FILTER "(&(objectclass=ldapSecret)(cn=SAMDB Credentials))" 30 30 31 /**32 * Use a TDB to store an incrementing random seed.33 *34 * Initialised to the current pid, the very first time Samba starts,35 * and incremented by one each time it is needed.36 *37 * @note Not called by systems with a working /dev/urandom.38 */39 31 struct loadparm_context; 40 32 struct tevent_context; … … 44 36 #include "librpc/gen_ndr/misc.h" 45 37 46 struct tdb_wrap *secrets_init(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx); 38 bool randseed_init(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx); 39 47 40 struct ldb_context *secrets_db_connect(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx); 48 41 struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx, … … 54 47 55 48 56 #endif /* _S ECRETS_H */49 #endif /* _SOURCE4_PARAM_SECRETS_H */
Note:
See TracChangeset
for help on using the changeset viewer.