static void proxy_convert_blob(TALLOC_CTX *mem_ctx, struct ldb_val *v,
const char *oldstr, const char *newstr)
{
- int len1, len2, len3;
+ size_t len1, len2, len3;
uint8_t *olddata = v->data;
char *p = strcasestr((char *)v->data, oldstr);
*/
static void proxy_convert_value(struct proxy_data *proxy, struct ldb_message *msg, struct ldb_val *v)
{
- int i;
+ size_t i;
for (i=0;proxy->oldstr[i];i++) {
char *p = strcasestr((char *)v->data, proxy->oldstr[i]);
struct proxy_data *proxy,
struct ldb_parse_tree *tree)
{
- int i;
+ size_t i;
char *expression = ldb_filter_from_tree(mem_ctx, tree);
for (i=0;proxy->newstr[i];i++) {
struct proxy_data *proxy,
struct ldb_message *msg)
{
- int attr, v;
+ unsigned int attr, v;
/* fix the message DN */
if (ldb_dn_compare_base(proxy->olddn, msg->dn) == 0) {
struct proxy_data *proxy = talloc_get_type(ldb_module_get_private(module), struct proxy_data);
struct ldb_request *newreq;
struct ldb_dn *base;
- int ret, i;
+ unsigned int i;
+ int ret;
ldb = ldb_module_get_ctx(module);