git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fbaa849
)
Add const
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 9 Jul 2009 00:08:02 +0000
(10:08 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 9 Jul 2009 04:56:14 +0000
(14:56 +1000)
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 313005b6730b17aabebbb285f5a003f849560fab..cbae2ec24cb84e3c140f829bae216f1f738e951b 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-529,7
+529,7
@@
NTTIME samdb_result_force_password_change(struct ldb_context *sam_ldb,
/*
pull a samr_Password structutre from a result set.
*/
/*
pull a samr_Password structutre from a result set.
*/
-struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx, struct ldb_message *msg, const char *attr)
+struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx,
const
struct ldb_message *msg, const char *attr)
{
struct samr_Password *hash = NULL;
const struct ldb_val *val = ldb_msg_find_ldb_val(msg, attr);
{
struct samr_Password *hash = NULL;
const struct ldb_val *val = ldb_msg_find_ldb_val(msg, attr);
@@
-543,7
+543,7
@@
struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx, struct ldb_message
/*
pull an array of samr_Password structutres from a result set.
*/
/*
pull an array of samr_Password structutres from a result set.
*/
-uint_t samdb_result_hashes(TALLOC_CTX *mem_ctx, struct ldb_message *msg,
+uint_t samdb_result_hashes(TALLOC_CTX *mem_ctx,
const
struct ldb_message *msg,
const char *attr, struct samr_Password **hashes)
{
uint_t count = 0;
const char *attr, struct samr_Password **hashes)
{
uint_t count = 0;