s3: Fix some more iconv convenience usages.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 14 May 2010 15:39:07 +0000 (17:39 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 18 May 2010 09:45:31 +0000 (11:45 +0200)
source4/dsdb/samdb/ldb_modules/password_hash.c
source4/torture/rap/rap.c

index de2c6da94c3a65b949921283b907032d80bbdf7a..58ab6f7b306ec9846e85e8b71f1658473dc44e7a 100644 (file)
@@ -1351,7 +1351,7 @@ static int setup_given_passwords(struct setup_password_fields_io *io,
                        ldb_oom(ldb);
                        return LDB_ERR_OPERATIONS_ERROR;
                }
-               if (!convert_string_talloc_convenience(io->ac,
+               if (!convert_string_talloc(io->ac,
                                                       CH_UTF16MUNGED, CH_UTF8,
                                                       g->cleartext_utf16->data,
                                                       g->cleartext_utf16->length,
index 6543abd9f981c0197f572c7d4b1c42efd7ab8d73..e0c92778695e01d493e3a75ccbe051757b6b3311 100644 (file)
@@ -234,7 +234,7 @@ static NTSTATUS rap_cli_do_call(struct smbcli_tree *tree,
 
        params->flags = RAPNDR_FLAGS;
 
-       data = ndr_push_init_ctx(call, iconv_convenience);
+       data = ndr_push_init_ctx(call);
 
        if (data == NULL)
                return NT_STATUS_NO_MEMORY;
@@ -1649,7 +1649,7 @@ NTSTATUS smbcli_rap_netoemchangepassword(struct smbcli_tree *tree,
        struct rap_call *call;
        NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
 
-       if (!(call = new_rap_cli_call(mem_ctx, iconv_convenience, RAP_SamOEMChgPasswordUser2_P))) {
+       if (!(call = new_rap_cli_call(mem_ctx, RAP_SamOEMChgPasswordUser2_P))) {
                return NT_STATUS_NO_MEMORY;
        }
 
@@ -1664,7 +1664,7 @@ NTSTATUS smbcli_rap_netoemchangepassword(struct smbcli_tree *tree,
                NDR_PRINT_IN_DEBUG(rap_NetOEMChangePassword, r);
        }
 
-       result = rap_cli_do_call(tree, iconv_convenience, call);
+       result = rap_cli_do_call(tree, call);
 
        if (!NT_STATUS_IS_OK(result))
                goto done;