Migrate SASLDB2 to a new server

Olivier <[email protected]> Fri, 22 Sep 2017 15:37:41 +0900
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
I’m trying to migrate my database to a new Linux server (CentOS 6.9 x64).

 

Old Server: Cyrus SASL 2.1.18 

New Server: Cyrus SASL 2.1.23

 

I copied the database from the old server to the new server: /etc/sasldb2

 

But when I execute sasldblistusers2 I get below error:

/etc/sasldb2: unexpected file type or format

listusers failed

 

# file /etc/sasldb2

/etc/sasldb2: GNU dbm 1.x or ndbm database, little endian

 

Is there anything I’m missing? Is there a specific procedure to migrate the database to a new server?

 

Thanks,

Olivier