From: | Horacio Miranda <hmiranda(at)gmail(dot)com> |
---|---|
To: | Jairo Graterón <jgrateron(at)gmail(dot)com>, Miguel Manzano <migabol(at)gmail(dot)com> |
Cc: | pgsql-es-ayuda(at)lists(dot)postgresql(dot)org |
Subject: | Re: The autentication "type 10" is not supported |
Date: | 2024-08-06 23:52:55 |
Message-ID: | 66aa47cc-4d35-4bb2-b0c3-223e00d3fe47@gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Yo cambiaria el driver.
On 7/08/2024 11:23 am, Jairo Graterón wrote:
> Saludos
> Es correcto password_encryption=md5
>
> Luego cambia la forma de autenticación a trust
>
> host all all all trust
>
> Reinicia el servidor
>
> Inicia sesión y cambia todos los passwords
> ALTER USER user_name WITH PASSWORD 'new_password';
>
> Vuelve la forma de autenticación a md5
> host all all all md5
>
> verifica que se asignaron correctamente los passwords
>
> select * from pg_shadow;
> usename | usesysid | usecreatedb | usesuper | userepl | usebypassrls
> | passwd | valuntil | useconfig
> ----------+----------+-------------+----------+---------+--------------+-------------------------------------+----------+-----------
> postgres | 10 | t | t | t | t
> |*md5*24bb002702969490e41e26e1a454036c | |
>
> Reinicia postgresql
>
>
>
>
> El mar, 6 ago 2024 a las 18:35, Miguel Manzano (<migabol(at)gmail(dot)com>)
> escribió:
>
> tengo una aplicacion java desarrollada con java8 y uso un conector
> jdbc postgresql-8.3-605.jdbc3.jar que uso desde hace tiempo para
> conectar mi base de datos postgres pero ocurre que despues de
> cambios de arquitectura al reinstalar postgres en el servidor a
> postgres 13 en el servidor al querer correr la aplicacion me da
> mensaje de error :
> PSQLException: The authentication type 10 is not supported. Check
> that you have configured the pg_hba.conf file to include the
> client's IP address or subnet, and that it is using an
> authentication scheme supported by the driver.
> mi pg_hba en el servidor tiene la ultima linea
> host all all md5
> he leido en las listas y proponen modificar el archivo de
> configuracion postgresql.conf para activar encrytion md5 pero dado
> que al reiniciar con esta configuracion no se si podre volver a
> ingresar con mi contrasena actual
> pido ayuda ya que no encuentro la manera de resolverlo .
> Gracias
>
> --
> Miguel Manzano
> PO BOX # 3102
> Santa Cruz de la Sierra
> Bolivia
>
From | Date | Subject | |
---|---|---|---|
Next Message | Martin H. Rmz | 2024-08-07 03:58:04 | Re: The autentication "type 10" is not supported |
Previous Message | Jairo Graterón | 2024-08-06 23:23:31 | Re: The autentication "type 10" is not supported |