The following bug has been logged online:

Bug reference:      3666
Logged by:          Yves
Email address:      [EMAIL PROTECTED]
PostgreSQL version: 8.2.5
Operating system:   LInux
Description:        Truncated Parameter in LDAP string when spaces contained
Details: 

Hello,
It is not possible to include spaces for ldap parameter (lpad://...) because
of a scanf that truncates it as the first space is dicovered.
I have upgraded the file auth.c with    

for (i=0;i<127;i++)
        {
        if (basedn[i]=='&') basedn[i]=' ';
        if (prefix[i]=='&') prefix[i]=' ';
        if (suffix[i]=='&') suffix[i]=' ';
        }

in the CheckLDAPAuth(Port *port) routine, and replace each space by '&' in
the pg_hba.conf.
This is not nice but it runs.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to