Add const.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 28 Sep 2002 12:11:19 +0000 (12:11 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 28 Sep 2002 12:11:19 +0000 (12:11 +0000)
(This used to be commit f7dd66e88dba947a167d9a14c96810854dfc5c9d)

source3/lib/util_seaccess.c
source3/passdb/secrets.c

index b137023e55cfa5b83ae581d8b61109e12df1dd3b..456d7ba9e295e45f1ef8c8e37d28060ba44eada4 100644 (file)
@@ -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)
 {
index 73201ab62a591ec4a2792e19706429e881b5a886..4b2c76d8b0ec8124b944399e3327354389b930e7 100644 (file)
@@ -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;