[sork] ldap_get_values() Decoding error

wang regent regent_wang at yahoo.com
Sun Jan 30 07:50:37 PST 2005


Sorry, i forgot to post my passwd configure.

$backends['ldap'] = array(
    'name' => 'Example LDAP server',
    'preferred' => '<my ldap server name>',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8
    ),
    'driver' => 'ldap',
    'params' => array(
        'host' => '<my ldap server IP address',
        'port' => 389,
        'basedn' => 'o=abc',
        'uid' => 'uid',
        'realm' => '',
        'encryption' => 'crypt-md5',
     }
}

--- wang regent <regent_wang at yahoo.com> wrote:

> Hi all,
> 
> I have worked in this problem for several days.
> Please
> give me a hand. 
> I installed horde3.0 and imp h3 in Redhat 9.0
> successfully. Now i want to change my email password
> which stored in ldap. But echo time i do it with
> passwd package download from CVS, i alway get error
> "Warning: ldap_get_values(): Cannot get the value(s)
> of attribute Decoding error in
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/lib/Driver/ldap.php
> on line 165
> 
> Warning: ldap_get_values(): Cannot get the value(s)
> of
> attribute Decoding error in
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/lib/Driver/ldap.php
> on line 170
> 
> Warning: Cannot modify header information - headers
> already sent by (output started at
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/lib/Driver/ldap.php:165)
> in
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/templates/common-header.inc
> on line 4
> 
> Warning: Cannot modify header information - headers
> already sent by (output started at
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/lib/Driver/ldap.php:165)
> in
>
/usr/local/httpd-2.0.52/htdocs/horde/passwd/templates/common-header.inc
> on line 5"
> 
> I don't understand what it means. My slapd.conf:
> allow bind_v2
> database        bdb
> suffix          "o=abc"
> rootdn          "cn=abcd, o=abc"
> rootpw          xxxx
> directory       /usr/local/openldap/data
> index           objectClass             pres,eq
> index           cn,sn,uid               eq
> index           qmailUID,qmailGID   eq
> 
> access to *
>         by self write
>         by dn="cn=abcd,o=abc" write
>         by * none
> 
> Your answer are really appreciated! Thanks!
> 
> Silence.Wang
> 
> 
> 
> 	
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - You care about security. So do we. 
> http://promotions.yahoo.com/new_mail
> -- 
> Sork mailing list - Join the hunt:
> http://horde.org/bounties/#sork
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail:
> sork-unsubscribe at lists.horde.org
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


More information about the sork mailing list