Hi,
I was building a new mail server for a client.
At the pop account creation, all worked fine.
I used something like this in a simple sh script:
--
#!/bin/sh
vadduser [EMAIL PROTECTED] 123456
vadduser [EMAIL PROTECTED] 12345
+- 50 lines.
--
All the accounts where created sucessfully. Checked the
MySQL logs, all fine. The strange thing happened when I
tryied to fetch the new created accounts using pop3. They
got me password failed.
Then I ran vadduser for [EMAIL PROTECTED] again like this:
# vpasswd [EMAIL PROTECTED] 123456
And it worked ! The account where sucessfully authenticaded.
Then, I made another script like the one I used to vadduser
to run vpasswd and change the password of each account:
--
#!/bin/sh
vpasswd [EMAIL PROTECTED] 123456
vpasswd [EMAIL PROTECTED] 123456
+- 50 lines.
--
Again, checked MySQL logs, all passwords changed fine.
And then I got the same error, even on the [EMAIL PROTECTED]
account!? Strange isn't it?
When I ran vpasswd individually, it changes and auths OK.
When I ran vpasswd from a script line by line, it changes
but auth fails.
Should this be a MySQL issue ?
The only solution I had was change the password one-by-one, by hand!
I've used this same scripts on the 4.9.10 version and it worked
fine for me.
I'm using 4.10.32, no patches.
MySQL 3.23.39
Best Regards,
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-