| От | Jürgen Fuchsberger |
|---|---|
| Тема | LDAP authentication not working |
| Дата | |
| Msg-id | 53730A61.2060406@uni-graz.at обсуждение |
| Ответы |
Re: LDAP authentication not working
|
| Список | pgsql-general |
Hi, I'm running postgresql 9.1 on Debian and am trying to set up LDAP authentication using the following configuration in pg_hba.conf: hostssl testdb all 143.50.203.0/24 ldap ldapserver="wegc24.uni-graz.at" ldapport=636 ldapbinddn="cn=nss,dc=uni-graz,dc=at" ldapbindpasswd="<thepasswd>" ldapbasedn="dc=uni-graz,dc=at" Trying to access testdb via psql fails with the following error in the log: '''could not perform initial LDAP bind for ldapbinddn "cn=nss,dc=uni-graz,dc=at" on server "wegc24.uni-graz.at": error code -1''' Unfortunately I did not find what error code -1 means. Ldapsearch works fine: > ldapsearch -W -H ldaps://wegc24.uni-graz.at:636/ -D "CN=nss,DC=uni-graz,DC=at" Interesting is also, that postgres seems to not even reach the ldap server: If I change parameter ldapserver to a non-existing url it gives the same error code -1. Any help much appreciated! Best, Juergen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера