From: | Jairo Graterón <jgrateron(at)gmail(dot)com> |
---|---|
To: | 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:23:31 |
Message-ID: | CALnU-rOaCP+OSxUN8mJVjAjOv3wUv51kkT6NeKHi5eTcaM=-9A@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
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 | Horacio Miranda | 2024-08-06 23:52:55 | Re: The autentication "type 10" is not supported |
Previous Message | Miguel Manzano | 2024-08-06 22:35:55 | The autentication "type 10" is not supported |