diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 12:11:19 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 12:11:19 +0000 |
commit | 0a23b0b4d5bd77d6f83797b309e06ac4d1a892db (patch) | |
tree | a5889238aa7362a1294a526681f0a4f56c5f62cb /source3 | |
parent | 6fa3f56e0a6fc08f9e7ec9353e280a7295b30bf0 (diff) | |
download | samba-0a23b0b4d5bd77d6f83797b309e06ac4d1a892db.tar.gz samba-0a23b0b4d5bd77d6f83797b309e06ac4d1a892db.tar.bz2 samba-0a23b0b4d5bd77d6f83797b309e06ac4d1a892db.zip |
Add const.
(This used to be commit f7dd66e88dba947a167d9a14c96810854dfc5c9d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_seaccess.c | 2 | ||||
-rw-r--r-- | source3/passdb/secrets.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_seaccess.c b/source3/lib/util_seaccess.c index b137023e55..456d7ba9e2 100644 --- a/source3/lib/util_seaccess.c +++ b/source3/lib/util_seaccess.c @@ -226,7 +226,7 @@ void se_map_standard(uint32 *access_mask, struct standard_mapping *mapping) "Access-Checking" document in MSDN. *****************************************************************************/ -BOOL se_access_check(SEC_DESC *sd, const NT_USER_TOKEN *token, +BOOL se_access_check(const SEC_DESC *sd, const NT_USER_TOKEN *token, uint32 acc_desired, uint32 *acc_granted, NTSTATUS *status) { diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 73201ab62a..4b2c76d8b0 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -227,7 +227,7 @@ BOOL secrets_lock_trust_account_password(char *domain, BOOL dolock) the above call. ************************************************************************/ -BOOL secrets_fetch_trust_account_password(char *domain, uint8 ret_pwd[16], +BOOL secrets_fetch_trust_account_password(const char *domain, uint8 ret_pwd[16], time_t *pass_last_set_time) { struct machine_acct_pass *pass; |