summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
index 9608b061c4..78dd59012c 100644
--- a/source4/dsdb/samdb/ldb_modules/util.c
+++ b/source4/dsdb/samdb/ldb_modules/util.c
@@ -1136,7 +1136,7 @@ void dsdb_req_chain_debug(struct ldb_request *req, int level)
* does work properly, the change request should remain similar or only be
* enhanced (no other modifications as deletions, variations).
*/
-struct ldb_message_element *dsdb_get_single_valued_attr(struct ldb_message *msg,
+struct ldb_message_element *dsdb_get_single_valued_attr(const struct ldb_message *msg,
const char *attr_name,
enum ldb_request_type operation)
{