Hey all, I have got sqwebmail 3.0 installed and running good on a courier-imap system. Everything works beautifully except searching a remote ldap server. We have an ldap database (OpenLDAP 2.0.12) with all of our global contacts in it. When I try to query stuff out of it the webpage returns nothings. I added the debug option to the ldapsearch shell script so it looks like this... exec /usr/local/bin/ldapsearch -d 2 -x "$@" So then I do a search from the global address search with the criteria "Last Name" "starts with" "Cooley" (That's me!) and the webpage returns: Search Results ber_flush: 14 bytes to sd 4 0000: 30 0c 02 01 01 60 07 02 01 03 04 00 80 00 0....`........ ldap_write: want=14, written=14 0000: 30 0c 02 01 01 60 07 02 01 03 04 00 80 00 0....`........ ldap_read: want=1, got=1 0000: 30 0 ldap_read: want=1, got=1 0000: 0c . ldap_read: want=12, got=12 0000: 02 01 01 61 07 0a 01 00 04 00 04 00 ...a........ request 1 done ber_flush: 72 bytes to sd 4 0000: 30 46 02 01 02 63 41 04 1c 6f 75 3d 50 65 6f 70 0F...cA..ou=Peop 0010: 6c 65 2c 64 63 3d 77 65 6c 6c 6f 67 69 78 2c 64 le,dc=wellogix,d 0020: 63 3d 63 6f 6d 0a 01 02 0a 01 00 02 01 00 02 01 c=com........... 0030: 00 01 01 00 a0 10 a4 0e 04 02 73 6e 30 08 80 06 ..........sn0... 0040: 43 6f 6f 6c 65 79 30 00 Cooley0. ldap_write: want=72, written=72 0000: 30 46 02 01 02 63 41 04 1c 6f 75 3d 50 65 6f 70 0F...cA..ou=Peop 0010: 6c 65 2c 64 63 3d 77 65 6c 6c 6f 67 69 78 2c 64 le,dc=wellogix,d 0020: 63 3d 63 6f 6d 0a 01 02 0a 01 00 02 01 00 02 01 c=com........... 0030: 00 01 01 00 a0 10 a4 0e 04 02 73 6e 30 08 80 06 ..........sn0... 0040: 43 6f 6f 6c 65 79 30 00 Cooley0. ldap_read: want=1, got=1 0000: 30 0 ldap_read: want=1, got=1 0000: 82 . ldap_read: want=2, got=2 0000: 01 7a .z ldap_read: want=378, got=378 0000: 02 01 02 64 82 01 73 04 28 75 69 64 3d 64 63 6f ...d..s.(uid=dco 0010: 6f 6c 65 79 2c 6f 75 3d 50 65 6f 70 6c 65 2c 64 oley,ou=People,d 0020: 63 3d 77 65 6c 6c 6f 67 69 78 2c 64 63 3d 63 6f c=wellogix,dc=co 0030: 6d 30 82 01 45 30 10 04 03 75 69 64 31 09 04 07 m0..E0...uid1... 0040: 64 63 6f 6f 6c 65 79 30 12 04 02 63 6e 31 0c 04 dcooley0...cn1.. 0050: 0a 44 6f 6e 20 43 6f 6f 6c 65 79 30 59 04 0b 6f .Don Cooley0Y..o 0060: 62 6a 65 63 74 43 6c 61 73 73 31 4a 04 03 74 6f bjectClass1J..to 0070: 70 04 06 70 65 72 73 6f 6e 04 14 6f 72 67 61 6e p..person..organ 0080: 69 7a 61 74 69 6f 6e 61 6c 50 65 72 73 6f 6e 04 izationalPerson. 0090: 0d 69 6e 65 74 4f 72 67 50 65 72 73 6f 6e 04 07 .inetOrgPerson.. 00a0: 61 63 63 6f 75 6e 74 04 0d 70 6f 73 74 66 69 78 account..postfix 00b0: 50 65 72 73 6f 6e 30 1e 04 04 6d 61 69 6c 31 16 Person0...mail1. 00c0: 04 14 64 63 6f 6f 6c 65 79 40 77 65 6c 6c 6f 67 ..dcooley@wellog 00d0: 69 78 2e 63 6f 6d 30 12 04 09 67 69 76 65 6e 4e ix.com0...givenN 00e0: 61 6d 65 31 05 04 03 44 6f 6e 30 0e 04 02 73 6e ame1...Don0...sn 00f0: 31 08 04 06 43 6f 6f 6c 65 79 30 09 04 01 6f 31 1...Cooley0...o1 0100: 04 04 02 49 54 30 0d 04 01 6c 31 08 04 06 44 65 ...IT0...l1...De 0110: 6e 76 65 72 30 2d 04 08 6d 61 69 6c 64 72 6f 70 nver0-..maildrop 0120: 31 21 04 1f 64 63 6f 6f 6c 65 79 40 6d 61 69 6c 1!..dcooley@mail 0130: 62 6f 78 2e 64 65 6e 76 65 72 2e 77 65 6c 6c 6f box.denver.wello 0140: 67 69 78 30 35 04 16 6d 61 69 6c 61 63 63 65 70 gix05..mailaccep 0150: 74 69 6e 67 67 65 6e 65 72 61 6c 69 64 31 1b 04 tinggeneralid1.. 0160: 07 64 63 6f 6f 6c 65 79 04 0a 64 6f 6e 2e 63 6f .dcooley..don.co 0170: 6f 6c 65 79 04 04 62 6f 66 68 oley..bofh ldap_read: want=1, got=1 0000: 30 0 ldap_read: want=1, got=1 0000: 0c . ldap_read: want=12, got=12 0000: 02 01 02 65 07 0a 01 00 04 00 04 00 ..e........ request 2 done ber_flush: 7 bytes to sd 4 0000: 30 05 02 01 03 42 00 0....B. ldap_write: want=7, written=7 0000: 30 05 02 01 03 42 00 0....B. But without the debug I get nothing on the page. Anyone have any idea why? Is it on my ldap end or is there a problem with sqwebmail. Thanks Don Cooley Unix Systems Administrator Wellogix Inc. -- ---Start Required CYA Legal Jargon--- CONFIDENTIALITY NOTICE: Emails from Wellogix, Inc. presumptively and normally contain confidential information for the sole use of the intended recipient. The review, use, distribution, transmittal or re-transmittal of this email and its attachments, if any, or the information contained herein, may be limited by Agreement, and any such action by an unintended recipient of this email is strictly prohibited without the express written approval of Wellogix, Inc. If you are not the intended recipient, please contact the sender and delete all copies. ---End Required CYA Legal Jargon---
