Now store the GUID and SID from a DN over DRSUAPI into ldb.
[samba.git] / source4 / dsdb / repl / replicated_objects.c
index 9853a753472c23e1962273b75fe4d31884dd643f..560f75da7a15272e11958d7536e60215dd12961e 100644 (file)
@@ -282,7 +282,7 @@ static WERROR dsdb_convert_object(struct ldb_context *ldb,
                status = dsdb_decrypt_attribute(gensec_skey, rid, a);
                W_ERROR_NOT_OK_RETURN(status);
 
-               status = dsdb_attribute_drsuapi_to_ldb(schema, a, msg->elements, e);
+               status = dsdb_attribute_drsuapi_to_ldb(ldb, schema, a, msg->elements, e);
                W_ERROR_NOT_OK_RETURN(status);
 
                m->attid                        = a->attid;