Displaying 2 results from an estimated 2 matches for "auth_master_deinit".
2010 Jul 14
3
Doveadm director flush/remove
I've got a couple more issues with the doveadm director interface:
1) If I use "doveadm director remove" to disable a host with active users,
the director seems to lose track of users mapped to that host. I guess I
would expect it to tear down any active sessions by killing the login
proxies, like I'd done 'doveadm direct add HOSTNAME 0 && doveadm director
flush
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...31,7 @@
struct auth_master_user_list_ctx *ctx;
struct auth_user_info user_info;
struct replicator_user *user;
- const char *username;
+ const char *db_path, *username;
auth_conn = auth_master_init(set->auth_socket_path,
AUTH_MASTER_FLAG_NO_IDLE_TIMEOUT);
@@ -53,12 +52,16 @@
auth_master_deinit(&auth_conn);
/* add updates from replicator db, if it exists */
- (void)replicator_queue_import(queue, REPLICATOR_DB_PATH);
+ db_path = t_strconcat(set->state_dir, "replicator.db", NULL);
+ (void)replicator_queue_import(queue, db_path);
}
static void replicator_dump_timeout...