* • whenCreated
*/
- ret = dsdb_update_gmsa_keys(ldb, tmp_ctx, res, &retry);
+ ret = dsdb_update_gmsa_keys(tmp_ctx, ldb, res, &retry);
if (ret) {
talloc_free(tmp_ctx);
return ret;
}
}
-int dsdb_update_gmsa_entry_keys(struct ldb_context *ldb,
- TALLOC_CTX *mem_ctx,
+int dsdb_update_gmsa_entry_keys(TALLOC_CTX *mem_ctx,
+ struct ldb_context *ldb,
const struct gmsa_update *gmsa_update)
{
TALLOC_CTX *tmp_ctx = NULL;
return ret;
}
-int dsdb_update_gmsa_keys(struct ldb_context *ldb,
- TALLOC_CTX *mem_ctx,
+int dsdb_update_gmsa_keys(TALLOC_CTX *mem_ctx,
+ struct ldb_context *ldb,
const struct ldb_result *res,
bool *retry_out)
{
continue;
}
- ret = dsdb_update_gmsa_entry_keys(ldb, tmp_ctx, gmsa_update);
+ ret = dsdb_update_gmsa_entry_keys(tmp_ctx,
+ ldb,
+ gmsa_update);
if (ret) {
goto out;
}
struct gmsa_update **update_out,
struct gmsa_return_pwd *return_out);
-int dsdb_update_gmsa_entry_keys(struct ldb_context *ldb,
- TALLOC_CTX *mem_ctx,
+int dsdb_update_gmsa_entry_keys(TALLOC_CTX *mem_ctx,
+ struct ldb_context *ldb,
const struct gmsa_update *gmsa_update);
-int dsdb_update_gmsa_keys(struct ldb_context *ldb,
- TALLOC_CTX *mem_ctx,
+int dsdb_update_gmsa_keys(TALLOC_CTX *mem_ctx,
+ struct ldb_context *ldb,
const struct ldb_result *res,
bool *retry_out);
for (n = 0; n < len; ++n) {
int ret;
- ret = dsdb_update_gmsa_entry_keys(
- samdb, local_ctx, callback_ctx->updates[n]);
+ ret = dsdb_update_gmsa_entry_keys(local_ctx,
+ samdb,
+ callback_ctx->updates[n]);
if (ret) {
/* Ignore the error. */
DBG_WARNING("Failed to update keys for Group "