Re: LDAP Authentication with spaces in DN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LDAP Authentication with spaces in DN
Дата
Msg-id 8585.1216921966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LDAP Authentication with spaces in DN  (César Miguel Oliveira Alves <calves@caso.pt>)
Список pgsql-bugs
César Miguel Oliveira Alves <calves@caso.pt> writes:
> Digging into postgres sources found the problem. File auth.c in line 1376
> does some ldap configuration parse using sscanf with the mask
> "ldap://%127[^:]:%d/%127[^;];%127[^;];%127s". The sscanf function reads
> until it finds a blank space, tab or new line, so if the string contains any
> blank space after the last ':' everything else is ignored!

Fixed, thanks for the report!
        regards, tom lane


В списке pgsql-bugs по дате отправления:

Предыдущее
От: César Miguel Oliveira Alves
Дата:
Сообщение: Re: LDAP Authentication with spaces in DN
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping