|
36 | 36 | #include <gromox/midb.hpp> |
37 | 37 | #include <gromox/midb_agent.hpp> |
38 | 38 | #include <gromox/mjson.hpp> |
| 39 | +#include <gromox/mysql_adaptor.hpp> |
39 | 40 | #include <gromox/range_set.hpp> |
40 | 41 | #include <gromox/simple_tree.hpp> |
41 | 42 | #include <gromox/textmaps.hpp> |
@@ -1351,7 +1352,7 @@ static int imap_cmd_parser_password2(int argc, char **argv, |
1351 | 1352 | if (target_mbox == nullptr) { |
1352 | 1353 | mres = std::move(mres_auth); |
1353 | 1354 | } else { |
1354 | | - if (system_services_auth_meta(target_mbox, WANTPRIV_METAONLY, mres) != 0) |
| 1355 | + if (mysql_adaptor_meta(target_mbox, WANTPRIV_METAONLY, mres) != 0) |
1355 | 1356 | return 1902 | DISPATCH_CONTINUE | DISPATCH_TAG; |
1356 | 1357 | if (!store_owner_over(mres_auth.username.c_str(), mres.username.c_str(), |
1357 | 1358 | mres.maildir.c_str())) { |
@@ -1430,7 +1431,7 @@ int imap_cmd_parser_login(int argc, char **argv, imap_context *pcontext) |
1430 | 1431 | if (target_mbox == nullptr) { |
1431 | 1432 | mres = std::move(mres_auth); |
1432 | 1433 | } else { |
1433 | | - if (system_services_auth_meta(target_mbox, WANTPRIV_METAONLY, mres) != 0) |
| 1434 | + if (mysql_adaptor_meta(target_mbox, WANTPRIV_METAONLY, mres) != 0) |
1434 | 1435 | return 1902 | DISPATCH_CONTINUE | DISPATCH_TAG; |
1435 | 1436 | if (!store_owner_over(mres_auth.username.c_str(), mres.username.c_str(), |
1436 | 1437 | mres.maildir.c_str())) { |
|
0 commit comments