struct ldb_message *msg2;
struct ldb_dn_component *rdn;
TALLOC_CTX *mem_ctx = talloc_new(msg);
- char *errstr;
+ const char *errstr;
if (!mem_ctx) {
return LDB_ERR_OPERATIONS_ERROR;
}
struct ldb_message *msg2;
struct ldb_dn_component *rdn;
TALLOC_CTX *mem_ctx = talloc_new(msg);
- char *errstr;
+ const char *errstr;
if (!mem_ctx) {
return LDB_ERR_OPERATIONS_ERROR;
}
struct dom_sid *sid;
const char *dom_attrs[] = { "name", NULL };
struct ldb_message **dom_msgs;
- char *errstr;
+ const char *errstr;
int ret;
TALLOC_CTX *mem_ctx = talloc_new(msg);
*/
int samdb_copy_template(struct ldb_context *ldb,
struct ldb_message *msg, const char *filter,
- char **errstring)
+ const char **errstring)
{
struct ldb_result *res;
struct ldb_message *t;