[sork] passwd with ldap
wang regent
regent_wang at yahoo.com
Wed Feb 2 18:52:51 PST 2005
Hi all,
I have worked in this problem for several days.
Please help!
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
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',
}
}
Your help are really appreciated! Thanks!
Silence.Wang
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the sork
mailing list