I am trying to migrate from another XMPP server to ejabberd via XEP-0227 formatted dump. The old server used, and the ejabberd will use PAM for user authentication. Therefore, there is no password data in the <user/>
entries in the dump.
<server-data xmlns="urn:xmpp:pie:0">
<host jid="localhost">
<user name="watcher">
...
</user>
...
</host>
</server-data>
When I try to import data from the dump, I get the error:
2018-05-05 19:05:30.888 [error] <0.605.0>@ejabberd_piefxis:stop:539 Failed to create user 'watcher': invalid_password
Supplying fake password does not look like a good proposition to me. Is there some trick to make it work, or am I completely off the track? Or is a change in the code in ejabberd_piefxis necessary?
The version is 18.01-2, default on Ubuntu Bionic.