[imp] Horde Preferences using ldap on RedHat 7.3 and OpenLdap
Lee
lee@disinfo.com
Mon, 1 Jul 2002 16:25:51 -0400
The objectclass for dn: mail=srai@srai.org,dc=srai,dc=org is horde
objectclass or is an objectclass that supports the horde attributes
right?
Lee
-----Original Message-----
From: Suraj K. Rai [mailto:surajrai@yahoo.com]
Sent: Monday, July 01, 2002 8:07 AM
To: Lee
Subject: Re: [imp] Horde Preferences using ldap on RedHat 7.3 and
OpenLdap
Lee wrote:
> There should be more associated output. Once you fixed syslogging, did
> you put the loglevel back to 10? At ten, logging in to horde should be
> producing several hundred lines of slapd output. Somewhere in that
> output will be an error statement that should give you some insight in
> to what's happening (you can also try loglevel 6, which might make
> reading the logs a little easier). If you tail -f syslog, you should
be
> able to watch the log out put as its generated.
Hi Lee,
Thanks very much for helping me debug this btw...here is the complete
output with debug level 10:
I can't find anything unusual except for the line which says ldap_read
(Resource temporarily unavailable). Also I notice that /var/lib/ldap
still has no new database entries so nothing is being written out to
disk or initialized.
Thanks again.
S.r.
=======================================================================
Jul 1 20:58:07 vixen xinetd[916]: START: imap pid=16458 from=127.0.0.1
Jul 1 20:58:07 vixen imapd[16458]: imap service init from 127.0.0.1
Jul 1 20:58:07 vixen imapd[16458]: Authenticated user=srai
host=localhost.localdomain [127.0.0.1]
Jul 1 20:58:07 vixen slapd[16455]: daemon: conn=0 fd=9 connection from
IP=127.0.0.1:53310 (IP=0.0.0.0:34049) accepted.
Jul 1 20:58:07 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:07 vixen slapd: daemon: new connection on 9
Jul 1 20:58:07 vixen slapd: daemon: added 9r
Jul 1 20:58:07 vixen slapd: daemon: activity on:
Jul 1 20:58:07 vixen slapd[16459]: conn=0 op=0 BIND
dn="CN=MANAGER,DC=SRAI,DC=ORG" method=128
Jul 1 20:58:07 vixen slapd[16455]: deferring operation
Jul 1 20:58:07 vixen slapd[16459]: conn=0 op=0 RESULT tag=97 err=49
text=
Jul 1 20:58:07 vixen slapd[16460]: conn=0 op=1 SRCH
base="dc=srai,dc=org" scope=2 filter="(mail=srai@srai.org)"
Jul 1 20:58:07 vixen slapd: daemon: select: listen=6 active_threads=0
tvp=NULL
Jul 1 20:58:07 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:07 vixen slapd[16460]: conn=0 op=1 SEARCH RESULT tag=101
err=0 text=
Jul 1 20:58:07 vixen slapd: daemon: activity on: 9r
Jul 1 20:58:07 vixen slapd: daemon: read activity on 9
Jul 1 20:58:07 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:07 vixen slapd: 0000: 30
0
Jul 1 20:58:07 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:07 vixen slapd: 0000: 2c
,
Jul 1 20:58:07 vixen slapd: ldap_read: want=44, got=44
Jul 1 20:58:07 vixen slapd: 0000: 02 01 01 60 27 02 01 02 04 19 63
6e 3d 4d 61 6e ...`'.....cn=Man
Jul 1 20:58:07 vixen slapd: 0010: 61 67 65 72 2c 64 63 3d 73 72 61
69 2c 64 63 3d ager,dc=srai,dc=
Jul 1 20:58:08 vixen slapd: 0020: 6f 72 67 80 07 64 69 6e 67 6f 6e
67 org..dingong
Jul 1 20:58:08 vixen slapd: ldap_read: want=1 error=Resource
temporarily unavailable
Jul 1 20:58:08 vixen slapd: daemon: select: listen=6 active_threads=1
tvp=NULL
Jul 1 20:58:08 vixen slapd: ber_flush: 14 bytes to sd 9
Jul 1 20:58:08 vixen slapd: 0000: 30 0c 02 01 01 61 07 0a 01 31 04
00 04 00 0....a...1....
Jul 1 20:58:08 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:08 vixen slapd: daemon: activity on: 9r
Jul 1 20:58:08 vixen slapd: daemon: read activity on 9
Jul 1 20:58:08 vixen slapd: ldap_write: want=14, written=14
Jul 1 20:58:08 vixen slapd: 0000: 30 0c 02 01 01 61 07 0a 01 31 04
00 04 00 0....a...1....
Jul 1 20:58:08 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:08 vixen slapd: 0000: 30
0
Jul 1 20:58:08 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:08 vixen slapd: 0000: 53
S
Jul 1 20:58:08 vixen slapd: ldap_read: want=83, got=83
Jul 1 20:58:09 vixen slapd: 0000: 02 01 02 63 4e 04 0e 64 63 3d 73
72 61 69 2c 64 ...cN..dc=srai,d
Jul 1 20:58:09 vixen slapd: 0010: 63 3d 6f 72 67 0a 01 02 0a 01 00
02 01 00 02 01 c=org...........
Jul 1 20:58:09 vixen slapd: 0020: 00 01 01 00 a3 15 04 04 6d 61 69
6c 04 0d 73 72 ........mail..sr
Jul 1 20:58:09 vixen slapd: 0030: 61 69 40 73 72 61 69 2e 6f 72 67
30 16 04 08 69 ai@srai.org0...i
Jul 1 20:58:09 vixen slapd: 0040: 6d 70 50 72 65 66 73 04 0a 68 6f
72 64 65 50 72 mpPrefs..hordePr
Jul 1 20:58:09 vixen slapd: 0050: 65 66 73
efs
Jul 1 20:58:09 vixen slapd: deferring operation
Jul 1 20:58:09 vixen slapd: ldap_read: want=1 error=Resource
temporarily unavailable
Jul 1 20:58:09 vixen slapd: daemon: select: listen=6 active_threads=1
tvp=NULL
Jul 1 20:58:09 vixen slapd: ber_flush: 38 bytes to sd 9
Jul 1 20:58:09 vixen slapd: 0000: 30 24 02 01 02 64 1f 04 1b 63 6e
3d 53 75 72 61 0$...d...cn=Sura
Jul 1 20:58:09 vixen slapd: 0010: 6a 20 52 61 69 2c 64 63 3d 73 72
61 69 2c 64 63 j Rai,dc=srai,dc
Jul 1 20:58:09 vixen slapd: 0020: 3d 6f 72 67 30 00
=org0.
Jul 1 20:58:09 vixen slapd: ldap_write: want=38, written=38
Jul 1 20:58:10 vixen slapd: 0000: 30 24 02 01 02 64 1f 04 1b 63 6e
3d 53 75 72 61 0$...d...cn=Sura
Jul 1 20:58:10 vixen slapd: 0010: 6a 20 52 61 69 2c 64 63 3d 73 72
61 69 2c 64 63 j Rai,dc=srai,dc
Jul 1 20:58:10 vixen slapd: 0020: 3d 6f 72 67 30 00
=org0.
Jul 1 20:58:10 vixen slapd: ber_flush: 14 bytes to sd 9
Jul 1 20:58:10 vixen slapd: 0000: 30 0c 02 01 02 65 07 0a 01 00 04
00 04 00 0....e........
Jul 1 20:58:10 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:10 vixen slapd[16459]: conn=0 op=2 MOD
dn="mail=srai@srai.org,dc=srai,dc=org"
Jul 1 20:58:10 vixen slapd: daemon: activity on: 9r
Jul 1 20:58:10 vixen slapd[16459]: conn=0 op=2 RESULT tag=103 err=32
text=
Jul 1 20:58:10 vixen imapd[16458]: Logout user=srai
host=localhost.localdomain [127.0.0.1]
Jul 1 20:58:10 vixen slapd: daemon: read activity on 9
Jul 1 20:58:10 vixen slapd[16460]: conn=0 op=3 UNBIND
Jul 1 20:58:10 vixen xinetd[916]: EXIT: imap pid=16458 duration=3(sec)
Jul 1 20:58:10 vixen slapd: ldap_write: want=14, written=14
Jul 1 20:58:10 vixen slapd[16460]: conn=-1 fd=9 closed
Jul 1 20:58:11 vixen slapd: 0000: 30 0c 02 01 02 65 07 0a 01 00 04
00 04 00 0....e........
Jul 1 20:58:11 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:11 vixen slapd: 0000: 30
0
Jul 1 20:58:11 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:11 vixen slapd: 0000: 82
.
Jul 1 20:58:11 vixen slapd: ldap_read: want=2, got=2
Jul 1 20:58:11 vixen slapd: 0000: 04 82
..
Jul 1 20:58:11 vixen slapd: ldap_read: want=1154, got=1154
Jul 1 20:58:11 vixen slapd: 0000: 02 01 03 66 82 04 7b 04 21 6d 61
69 6c 3d 73 72 ...f..{.!mail=sr
Jul 1 20:58:11 vixen slapd: 0010: 61 69 40 73 72 61 69 2e 6f 72 67
2c 64 63 3d 73 ai@srai.org,dc=s
Jul 1 20:58:11 vixen slapd: 0020: 72 61 69 2c 64 63 3d 6f 72 67 30
82 04 54 30 81 rai,dc=org0..T0.
Jul 1 20:58:11 vixen slapd: 0030: de 0a 01 02 30 81 d8 04 0a 68 6f
72 64 65 50 72 ....0....hordePr
Jul 1 20:58:11 vixen slapd: 0040: 65 66 73 31 81 c9 04 09 6c 61 6e
67 75 61 67 65 efs1....language
Jul 1 20:58:11 vixen slapd: 0050: 3a 04 15 64 65 66 61 75 6c 74 5f
69 64 65 6e 74 :..default_ident
Jul 1 20:58:11 vixen slapd: 0060: 69 74 79 3a 4d 41 3d 3d 04 13 69
64 65 6e 74 69 ity:MA==..identi
Jul 1 20:58:11 vixen slapd: 0070: 74 69 65 73 3a 59 54 6f 77 4f 6e
74 39 04 0a 73 ties:YTowOnt9..s
Jul 1 20:58:12 vixen slapd: 0080: 69 67 6e 61 74 75 72 65 3a 04 0f
73 69 67 5f 64 ignature:..sig_d
Jul 1 20:58:12 vixen slapd: 0090: 61 73 68 65 73 3a 4d 41 3d 3d 04
0e 73 69 67 5f ashes:MA==..sig_
Jul 1 20:58:12 vixen slapd: 00a0: 66 69 72 73 74 3a 4d 41 3d 3d 04
09 66 75 6c 6c first:MA==..full
Jul 1 20:58:12 vixen slapd: 00b0: 6e 61 6d 65 3a 04 0a 66 72 6f 6d
5f 61 64 64 72 name:..from_addr
Jul 1 20:58:12 vixen slapd: 00c0: 3a 04 0d 72 65 70 6c 79 74 6f 5f
61 64 64 72 3a :..replyto_addr:
Jul 1 20:58:12 vixen slapd: 00d0: 04 13 73 61 76 65 5f 73 65 6e 74
5f 6d 61 69 6c ..save_sent_mail
Jul 1 20:58:12 vixen slapd: 00e0: 3a 4d 51 3d 3d 04 1d 73 65 6e 74
5f 6d 61 69 6c :MQ==..sent_mail
Jul 1 20:58:12 vixen slapd: 00f0: 5f 66 6f 6c 64 65 72 3a 63 32 56
75 64 43 31 74 _folder:c2VudC1t
Jul 1 20:58:12 vixen slapd: 0100: 59 57 6c 73 04 09 74 69 6d 65 7a
6f 6e 65 3a 30 YWls..timezone:0
Jul 1 20:58:12 vixen slapd: 0110: 82 03 6f 0a 01 02 30 82 03 68 04
08 69 6d 70 50 ..o...0..h..impP
Jul 1 20:58:12 vixen slapd: 0120: 72 65 66 73 31 82 03 5a 04 19 73
75 6d 6d 61 72 refs1..Z..summar
Jul 1 20:58:12 vixen slapd: 0130: 79 5f 72 65 66 72 65 73 68 5f 74
69 6d 65 3a 4d y_refresh_time:M
Jul 1 20:58:12 vixen slapd: 0140: 7a 41 77 04 0e 73 75 62 73 63 72
69 62 65 3a 4d zAw..subscribe:M
Jul 1 20:58:12 vixen slapd: 0150: 41 3d 3d 04 14 66 69 6c 74 65 72
5f 6f 6e 5f 6c A==..filter_on_l
Jul 1 20:58:12 vixen slapd: 0160: 6f 67 69 6e 3a 4d 41 3d 3d 04 16
66 69 6c 74 65 ogin:MA==..filte
Jul 1 20:58:13 vixen slapd: 0170: 72 5f 6f 6e 5f 72 65 66 72 65 73
68 3a 4d 41 3d r_on_refresh:MA=
Jul 1 20:58:13 vixen slapd: 0180: 3d 04 14 73 68 6f 77 5f 66 69 6c
74 65 72 5f 6d =..show_filter_m
Jul 1 20:58:13 vixen slapd: 0190: 73 67 3a 4d 41 3d 3d 04 08 66 69
6c 74 65 72 73 sg:MA==..filters
Jul 1 20:58:13 vixen slapd: 01a0: 3a 04 0e 66 69 6c 74 65 72 69 6e
67 3a 4d 41 3d :..filtering:MA=
Jul 1 20:58:13 vixen slapd: 01b0: 3d 04 13 6d 61 69 6c 62 6f 78 5f
72 65 74 75 72 =..mailbox_retur
Jul 1 20:58:13 vixen slapd: 01c0: 6e 3a 4d 41 3d 3d 04 0e 75 73 65
5f 74 72 61 73 n:MA==..use_tras
Jul 1 20:58:13 vixen slapd: 01d0: 68 3a 4d 41 3d 3d 04 15 74 72 61
73 68 5f 66 6f h:MA==..trash_fo
Jul 1 20:58:13 vixen slapd: 01e0: 6c 64 65 72 3a 64 48 4a 68 63 32
67 3d 04 0c 64 lder:dHJhc2g=..d
Jul 1 20:58:13 vixen slapd: 01f0: 65 6c 68 69 64 65 3a 4d 41 3d 3d
04 13 64 6f 5f elhide:MA==..do_
Jul 1 20:58:13 vixen slapd: 0200: 6d 61 69 6e 74 65 6e 61 6e 63 65
3a 4d 51 3d 3d maintenance:MQ==
Jul 1 20:58:13 vixen slapd: 0210: 04 1c 72 65 6e 61 6d 65 5f 73 65
6e 74 6d 61 69 ..rename_sentmai
Jul 1 20:58:13 vixen slapd: 0220: 6c 5f 6d 6f 6e 74 68 6c 79 3a 4d
41 3d 3d 04 1c l_monthly:MA==..
Jul 1 20:58:13 vixen slapd: 0230: 64 65 6c 65 74 65 5f 73 65 6e 74
6d 61 69 6c 5f delete_sentmail_
Jul 1 20:58:13 vixen slapd: 0240: 6d 6f 6e 74 68 6c 79 3a 4d 41 3d
3d 04 21 64 65 monthly:MA==.!de
Jul 1 20:58:14 vixen slapd: 0250: 6c 65 74 65 5f 73 65 6e 74 6d 61
69 6c 5f 6d 6f lete_sentmail_mo
Jul 1 20:58:14 vixen slapd: 0260: 6e 74 68 6c 79 5f 6b 65 65 70 3a
4d 54 49 3d 04 nthly_keep:MTI=.
Jul 1 20:58:14 vixen slapd: 0270: 10 70 75 72 67 65 5f 74 72 61 73
68 3a 4d 41 3d .purge_trash:MA=
Jul 1 20:58:14 vixen slapd: 0280: 3d 04 19 70 75 72 67 65 5f 74 72
61 73 68 5f 69 =..purge_trash_i
Jul 1 20:58:14 vixen slapd: 0290: 6e 74 65 72 76 61 6c 3a 4d 67 3d
3d 04 15 70 75 nterval:Mg==..pu
Jul 1 20:58:14 vixen slapd: 02a0: 72 67 65 5f 74 72 61 73 68 5f 6b
65 65 70 3a 4d rge_trash_keep:M
Jul 1 20:58:14 vixen slapd: 02b0: 7a 41 3d 04 1b 6c 61 73 74 5f 6c
6f 67 69 6e 3a zA=..last_login:
Jul 1 20:58:14 vixen slapd: 02c0: 4d 54 41 79 4e 54 55 79 4e 44 59
34 4e 77 3d 3d MTAyNTUyNDY4Nw==
Jul 1 20:58:14 vixen slapd: 02d0: 04 0b 73 6f 72 74 62 79 3a 4d 51
3d 3d 04 0c 73 ..sortby:MQ==..s
Jul 1 20:58:14 vixen slapd: 02e0: 6f 72 74 64 69 72 3a 4d 41 3d 3d
04 0d 6d 61 78 ortdir:MA==..max
Jul 1 20:58:14 vixen slapd: 02f0: 5f 6d 73 67 73 3a 4d 6a 41 3d 04
0e 6e 75 6d 5f _msgs:MjA=..num_
Jul 1 20:58:14 vixen slapd: 0300: 77 6f 72 64 73 3a 4d 77 3d 3d 04
11 6e 61 76 5f words:Mw==..nav_
Jul 1 20:58:14 vixen slapd: 0310: 65 78 70 61 6e 64 65 64 3a 4d 41
3d 3d 04 19 65 expanded:MA==..e
Jul 1 20:58:14 vixen slapd: 0320: 78 70 61 6e 64 65 64 5f 66 6f 6c
64 65 72 73 3a xpanded_folders:
Jul 1 20:58:15 vixen slapd: 0330: 59 54 6f 77 4f 6e 74 39 04 09 6e
61 76 5f 70 6f YTowOnt9..nav_po
Jul 1 20:58:15 vixen slapd: 0340: 6c 6c 3a 04 10 73 68 6f 77 5f 6c
65 67 65 6e 64 ll:..show_legend
Jul 1 20:58:15 vixen slapd: 0350: 3a 4d 51 3d 3d 04 13 68 69 67 68
6c 69 67 68 74 :MQ==..highlight
Jul 1 20:58:15 vixen slapd: 0360: 5f 74 65 78 74 3a 4d 51 3d 3d 04
12 64 69 6d 5f _text:MQ==..dim_
Jul 1 20:58:15 vixen slapd: 0370: 73 69 67 6e 61 74 75 72 65 3a 4d
51 3d 3d 04 0f signature:MQ==..
Jul 1 20:58:15 vixen slapd: 0380: 77 72 61 70 5f 77 69 64 74 68 3a
4f 44 41 3d 04 wrap_width:ODA=.
Jul 1 20:58:15 vixen slapd: 0390: 10 72 65 70 6c 79 5f 71 75 6f 74
65 3a 4d 51 3d .reply_quote:MQ=
Jul 1 20:58:15 vixen slapd: 03a0: 3d 04 11 71 75 6f 74 65 5f 70 72
65 66 69 78 3a =..quote_prefix:
Jul 1 20:58:15 vixen slapd: 03b0: 50 69 41 3d 04 12 63 6f 6d 70 6f
73 65 5f 70 6f PiA=..compose_po
Jul 1 20:58:15 vixen slapd: 03c0: 70 75 70 3a 4d 51 3d 3d 04 16 64
72 61 66 74 73 pup:MQ==..drafts
Jul 1 20:58:15 vixen slapd: 03d0: 5f 66 6f 6c 64 65 72 3a 5a 48 4a
68 5a 6e 52 7a _folder:ZHJhZnRz
Jul 1 20:58:15 vixen slapd: 03e0: 04 10 63 6c 6f 73 65 5f 64 72 61
66 74 3a 4d 51 ..close_draft:MQ
Jul 1 20:58:15 vixen slapd: 03f0: 3d 3d 04 14 73 68 6f 77 5f 6c 61
73 74 5f 6c 6f ==..show_last_lo
Jul 1 20:58:15 vixen slapd: 0400: 67 69 6e 3a 4d 41 3d 3d 04 15 69
6e 69 74 69 61 gin:MA==..initia
Jul 1 20:58:15 vixen slapd: 0410: 6c 5f 70 61 67 65 3a 53 55 35 43
54 31 67 3d 04 l_page:SU5CT1g=.
Jul 1 20:58:16 vixen slapd: 0420: 10 6d 61 69 6c 62 6f 78 3a 53 55
35 43 54 31 67 .mailbox:SU5CT1g
Jul 1 20:58:16 vixen slapd: 0430: 3d 04 11 72 65 66 72 65 73 68 5f
74 69 6d 65 3a =..refresh_time:
Jul 1 20:58:16 vixen slapd: 0440: 4d 41 3d 3d 04 0e 6e 61 76 5f 70
6f 70 75 70 3a MA==..nav_popup:
Jul 1 20:58:16 vixen slapd: 0450: 4d 41 3d 3d 04 0f 73 65 61 72 63
68 5f 73 6f 75 MA==..search_sou
Jul 1 20:58:16 vixen slapd: 0460: 72 63 65 73 3a 04 0e 73 65 61 72
63 68 5f 66 69 rces:..search_fi
Jul 1 20:58:16 vixen slapd: 0470: 65 6c 64 73 3a 04 0b 61 64 64 5f
73 6f 75 72 63 elds:..add_sourc
Jul 1 20:58:16 vixen slapd: 0480: 65 3a
e:
Jul 1 20:58:16 vixen slapd: ldap_read: want=1 error=Resource
temporarily unavailable
Jul 1 20:58:16 vixen slapd: daemon: select: listen=6 active_threads=2
tvp=NULL
Jul 1 20:58:16 vixen slapd: ber_flush: 28 bytes to sd 9
Jul 1 20:58:16 vixen slapd: 0000: 30 1a 02 01 03 67 15 0a 01 20 04
0e 64 63 3d 73 0....g... ..dc=s
Jul 1 20:58:16 vixen slapd: 0010: 72 61 69 2c 64 63 3d 6f 72 67 04
00 rai,dc=org..
Jul 1 20:58:16 vixen slapd: ldap_write: want=28, written=28
Jul 1 20:58:16 vixen slapd: 0000: 30 1a 02 01 03 67 15 0a 01 20 04
0e 64 63 3d 73 0....g... ..dc=s
Jul 1 20:58:17 vixen slapd: 0010: 72 61 69 2c 64 63 3d 6f 72 67 04
00 rai,dc=org..
Jul 1 20:58:17 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:17 vixen slapd: daemon: activity on: 9r
Jul 1 20:58:17 vixen slapd: daemon: read activity on 9
Jul 1 20:58:17 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:17 vixen slapd: 0000: 30
0
Jul 1 20:58:17 vixen slapd: ldap_read: want=1, got=1
Jul 1 20:58:17 vixen slapd: 0000: 05
.
Jul 1 20:58:17 vixen slapd: ldap_read: want=5, got=5
Jul 1 20:58:17 vixen slapd: 0000: 02 01 04 42 00
...B.
Jul 1 20:58:17 vixen slapd: ldap_read: want=1 error=Resource
temporarily unavailable
Jul 1 20:58:17 vixen slapd: daemon: select: listen=6 active_threads=2
tvp=NULL
Jul 1 20:58:17 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:17 vixen slapd: daemon: activity on: 9r
Jul 1 20:58:18 vixen slapd: daemon: read activity on 9
Jul 1 20:58:18 vixen slapd: ldap_read: want=1, got=0
Jul 1 20:58:18 vixen slapd:
Jul 1 20:58:18 vixen slapd: daemon: select: listen=6 active_threads=2
tvp=NULL
Jul 1 20:58:18 vixen slapd: daemon: activity on 1 descriptors
Jul 1 20:58:18 vixen slapd: daemon: select: listen=6 active_threads=2
tvp=NULL
Jul 1 20:58:18 vixen slapd: daemon: removing 9