Fwd: [horde] Horde Preferences in LDAP

Hannes Seidel h.seidel at iunds.com
Sat Mar 6 08:54:59 PST 2004


Hi again,

so here's my horde/config/horde.php ldap section:

$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec']  = 'ldap.ssos.local';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=ssos,dc=local';
$conf['prefs']['params']['uid'] = 'admin';

$conf['prefs']['params']['rootdn'] = 'cn=admin,dc=ssos,dc=local';
$conf['prefs']['params']['username'] = 'admin';
$conf['prefs']['params']['password'] = ''xxxxxx;

And here the output from the slapd log during imp login:

slapd[635]: conn=24 fd=26 ACCEPT from IP=192.168.199.1:32867 (IP=0.0.0.0:389)
slapd[638]: conn=24 op=0 BIND dn="cn=admin,dc=ssos,dc=local" method=128
slapd[638]: conn=24 op=0 BIND dn="cn=admin,dc=ssos,dc=local" mech=simple ssf=0
slapd[638]: conn=24 op=0 RESULT tag=97 err=0 text=
slapd[639]: conn=24 op=1 SRCH base="dc=ssos,dc=local" scope=2
filter="(uid=misterx)"
slapd[639]: conn=24 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
slapd[638]: conn=24 op=2 BIND anonymous mech=implicit ssf=0
slapd[638]: conn=24 op=2 BIND
dn="uid=misterx,ou=user,ou=network,dc=ssos,dc=local" method=128
slapd[638]: conn=24 op=2 BIND
dn="uid=misterx,ou=user,ou=network,dc=ssos,dc=local" mech=simple ssf=0
slapd[638]: conn=24 op=2 RESULT tag=97 err=0 text=
slapd[639]: conn=24 op=3 BIND anonymous mech=implicit ssf=0
slapd[639]: conn=24 op=3 BIND dn="cn=admin,dc=ssos,dc=local" method=128
slapd[639]: conn=24 op=3 BIND dn="cn=admin,dc=ssos,dc=local" mech=simple ssf=0
slapd[639]: conn=24 op=3 RESULT tag=97 err=0 text=
cyrus/imapd[663]: login: ldap.ssos.local[192.168.199.1] misterx plaintext
slapd[635]: conn=25 fd=29 ACCEPT from IP=192.168.199.1:32868 (IP=0.0.0.0:389)
slapd[638]: conn=25 op=0 BIND dn="cn=admin,dc=ssos,dc=local" method=128
slapd[638]: conn=25 op=0 BIND dn="cn=admin,dc=ssos,dc=local" mech=simple ssf=0
slapd[638]: conn=25 op=0 RESULT tag=97 err=0 text=
slapd[639]: conn=25 op=1 SRCH base="dc=ssos,dc=local" scope=2
filter="(?=undefined)"
slapd[639]: conn=25 op=1 SRCH attr=dn
slapd[639]: conn=25 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
slapd[638]: conn=25 op=2 SRCH base="dc=ssos,dc=local" scope=2
filter="(?=undefined)"
slapd[638]: conn=25 op=2 SRCH attr=impPrefs hordePrefs
slapd[638]: conn=25 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
slapd[639]: do_modify: invalid dn (admin=misterx at ssos.local,dc=ssos,dc=local)
------------------------------------------------------------------
>> last line is definitively incorrect!
------------------------------------------------------------------
slapd[639]: conn=25 op=3 RESULT tag=103 err=34 text=invalid DN
slapd[638]: conn=25 op=4 UNBIND
slapd[638]: conn=25 fd=29 closed


So horde is still unable to store its preferences and produces the
old warning:

> Warning: Cannot modify header information - headers already sent by (output
> started at /var/www/horde/lib/Prefs/ldap.php:470) in
> /var/www/horde/imp/redirect.php on line 112


btw. thanks for the hint, Yu Wang!

-- 
Hannes Seidel
IUNDS AG

h.seidel at iunds.com




More information about the horde mailing list