[imp]
problems using ldap for preferences - slapd deferring operation
Robert Kubarych
rkubarych at bergen.edu
Tue Jan 28 15:50:15 PST 2003
I'm not knowledgeable enough to figure out the problem here so any help
would be appreciated. When a user logs into IMP we get the following
messages:
Warning: LDAP: Unable to perform the search: Can't contact LDAP server
in /usr/local/etc/apache_1.3.26/htdocs/horde/lib/Prefs/ldap.php on line
327
Warning: LDAP: modify operation could not be completed. in
/usr/local/etc/apache_1.3.26/htdocs/horde/lib/Prefs/ldap.php on line 438
Warning: Cannot add header information - headers already sent by (output
started at
/usr/local/etc/apache_1.3.26/htdocs/horde/lib/Prefs/ldap.php:327) in
/usr/local/etc/apache_1.3.26/htdocs/horde/imp/redirect.php on line 75
I checked my ldap.log and I noticed an entry that says 'deferring
operation.' I did a search on google on "slapd deffering operation",
and one page said this means the client submitted an operation while the
server was processing a Bind operation or Unbind operation on that
session, but it looks here like the last bind was successful. BTW, what
does the tag=97 mean?
Some output from ldap.php, my ldap.log, and my horde.php is below.
Thanks in advance for any help.
Rob
/Prefs/ldap.php
325 $search = ldap_search($this->connection,
$this->params['basedn'],
326 $this->params['uid'] . '=' .
$this->user,
327 array($this->params['field']));
/var/log/sldap.log
Jan 28 15:18:43 stumail slapd[10939]: conn=28 fd=12 ACCEPT from
IP=127.0.0.1:34338 (IP=0.0.0.0:389)
Jan 28 15:18:43 stumail slapd[10941]: conn=28 op=0 BIND dn="" method=128
Jan 28 15:18:43 stumail slapd[10941]: conn=28 op=0 RESULT tag=97 err=0
text=
Jan 28 15:18:43 stumail slapd[10943]: conn=28 op=1 SRCH
base="dc=stumail,dc=bergen,dc=edu" scope=2 filter="(uid=lsmith)"
Jan 28 15:18:43 stumail slapd[10943]: <= bdb_equality_candidates:
index_param failed (18)
Jan 28 15:18:43 stumail slapd[10943]: conn=28 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Jan 28 15:18:43 stumail slapd[10942]: conn=28 op=2 BIND
dn="cn=lsmith at stumail.bergen.edu,dc=stumail,dc=bergen,dc=edu" method=128
Jan 28 15:18:43 stumail slapd[10942]: conn=28 op=2 AUTHZ
dn="cn=lsmith at stumail.bergen.edu,dc=stumail,dc=bergen,dc=edu"
mech=simple ssf=0
Jan 28 15:18:43 stumail slapd[10942]: conn=28 op=2 RESULT tag=97 err=0
text=
Jan 28 15:18:43 stumail slapd[10941]: conn=28 op=3 AUTHZ anonymous
mech=implicit ssf=0
Jan 28 15:18:43 stumail slapd[10941]: conn=28 op=3 BIND dn="" method=128
Jan 28 15:18:43 stumail slapd[10941]: conn=28 op=3 RESULT tag=97 err=0
text=
Jan 28 15:18:43 stumail slapd[10939]: deferring operation
Jan 28 15:18:43 stumail slapd[10941]: conn=28 fd=12 closed
/horde/config/horde.php
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = '';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=stumail,dc=bergen,dc=edu';
$conf['prefs']['params']['uid'] = 'uid';
$conf['prefs']['params']['field'] = 'hordePrefs';
Robert K. Kubarych
(201) 612-5591
More information about the imp
mailing list