These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Migrating users with salted md5 password hashes on the new forum.
Hello,
I need to migrate users from another server. I have full set of information, including hashed passwords.
When i create user with command:
virtualmin create-user --domain domain.tld --user info --encpass $1$d4204615$wL5l4z1.5buSrYvEUzRkL1
(i crippled the hash intentionally when posting here)
i cannot login to pop3 service using correct password (which works on previous system)
telnet localhost 110 user info@domain.tld pass password
Can you please help me?
Of course I changed the server template to accept login using user@domain.tld.
Thank you
Michal
Howdy,
It's possible there's a problem with the encrypted password handling, and we can get Jamie involved if that's the case... but I wanted to verify a couple of things before we get him --
First, if you go into Edit Users, can you verify that it did indeed create the user with the username "user@domain.tld"?
I know you changed the template with that setting, but we're just making sure that worked correctly.
Also, if you look in /var/log/auth.log or /var/log/secure after attempting to authenticate to POP3, what error(s) are you seeing there?
Thanks!
-Eric
Hello,
I am sure the username is username@domain.tld. This was the first mistake i made (and username looked like user@domain.tld@domain.tld. Now I am pretty sure (want screenshot? :) that I use correct username.
Also, I am sure I applied the changed server template with
Format for usernames that include domain: username@domain
By the way, when with default settings, username looked like username.domain (without tld), now in VM it shows correctly (username@domain.tld).
In auth.log I see:
Jan 5 09:21:49 vm1 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=user@domain.tld rhost=XXX user=user@domain.tld Jan 5 09:22:31 vm1 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=user@domain rhost=XXX Jan 5 09:22:42 vm1 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=user.domain rhost=XXX Jan 5 09:22:52 vm1 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=user.domain.tld rhost=XXX
on the first line, I think we proved correct usernames.
FYI
vm1:/var/log# dpkg -l | grep virtualmin ii virtualmin-base 1.0-29 Meta-package that depends on all of the appropriate packages ii webmin-virtualmin-awstats 4.6 Webmin module for 'AWstats Reporting' ii webmin-virtualmin-dav 3.5 Webmin module for 'Virtualmin DAV' ii webmin-virtualmin-git 1.2 Webmin module for 'Virtualmin Git Repositories' ii webmin-virtualmin-google-analytics 2.5 Webmin module for 'Virtualmin Analytics' ii webmin-virtualmin-htpasswd 2.5 Webmin module for 'Virtualmin Protected Directories' ii webmin-virtualmin-init 2.2 Webmin module for 'Virtualmin Bootup Actions' ii webmin-virtualmin-mailman 6.1 Webmin module for 'Virtualmin Mailman Mailing Lists' ii webmin-virtualmin-notes 1.2 Webmin module for 'Virtualmin Admin Notes' ii webmin-virtualmin-oracle 1.9 Webmin module for 'Virtualmin Oracle Databases' ii webmin-virtualmin-password-recovery 1.5 Webmin module for 'Virtualmin Password Recovery' ii webmin-virtualmin-powerdns 1.7 Webmin module for 'Virtualmin PowerDNS' ii webmin-virtualmin-registrar 2.0 Webmin module for 'Virtualmin Domain Registration' ii webmin-virtualmin-signup 1.3 Webmin module for 'Virtualmin Mailbox Signup' ii webmin-virtualmin-slavedns 1.6 Webmin module for 'Virtualmin Slave DNS Plugin' ii webmin-virtualmin-styles-oswd 1.0 Webmin module for 'Virtualmin Styles From Open Source Web Des ii webmin-virtualmin-support 1.6 Webmin module for 'Virtualmin Technical Support' ii webmin-virtualmin-svn 4.9 Webmin module for 'Virtualmin Subversion Repositories'
Debian 5.0.9.
Michal
any help, please?
Recently upgraded to debian squeeze, still not working.