Author Topic: OpenLdap Help  (Read 4974 times)

Offline StuC

  • Newbie
  • *
  • Posts: 2
OpenLdap Help
« on: October 30, 2008, 12:08:24 PM »
Hi - just setting up Roundcube after a few weeks of looking for a suitable web client.

Its all gone really well upto the point where im trying to get LDAP to work with our current OPENLDAP server (used by other PHP processes and 3rd part ldap clients)  The ldap setup is very basic.

Roundcube is connecting fine and authenticating but then nothing much else

Google searching has proved futile.

This is a cry out to see if anyone else has had the same problem and how/if they solved it.  

Output of the log (255)
Code: [Select]


slapd starting
daemon: added 1920r listener=00000000
daemon: added 1916r listener=003D3F58
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 1 descriptor
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 1 descriptor
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 1 descriptor
slap_listener_activate(1916):
>>> slap_listener(ldap:///)
daemon: listen=1916, new connection on 552
daemon: added 552r (active) listener=00000000
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 2 descriptors
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 1 descriptor
daemon: activity on: 552r
daemon: read activity on 552
daemon: select: listen=1916 active_threads=0 tvp=zero
daemon: activity on 1 descriptor
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
connection_get(552)
connection_get(552): got connid=0
connection_read(552): checking for input on id=0
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2b 02 01 01 60 26 02                            0+...`&.
ldap_read: want=37, got=37
  0000:  01 02 04 18 63 6e 3d 72  6f 6f 74 2c 64 63 3d 74   ....cn=root,dc=t
  0010:  65 6e 74 65 63 2c 64 63  3d 6e 65 74 80 07 6e 61   entec,dc=net..na
  0020:  64 33 30 32 30                                     d3020
ber_get_next: tag 0x30 len 43 contents:
ber_dump: buf=00DEAC68 ptr=00DEAC68 end=00DEAC93 len=43
  0000:  02 01 01 60 26 02 01 02  04 18 63 6e 3d 72 6f 6f   ...`&.....cn=roo
  0010:  74 2c 64 63 3d 74 65 6e  74 65 63 2c 64 63 3d 6e   t,dc=domain,dc=n
  0020:  65 74 80 07 78 78 78 78  78 78 78                  et..xxxxxxx
ber_get_next
ldap_read: want=8 error=Unknown error
daemon: activity on 1 descriptor
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=00DEAC68 ptr=00DEAC6B end=00DEAC93 len=40
  0000:  60 26 02 01 02 04 18 63  6e 3d 72 6f 6f 74 2c 64   `&.....cn=root,d
  0010:  63 3d 74 65 6e 74 65 63  2c 64 63 3d 6e 65 74 80   c=domain,dc=net.
  0020:  07 78 78 78 78 78 78 78                            .xxxxxxx
ber_scanf fmt (m}) ber:
ber_dump: buf=00DEAC68 ptr=00DEAC8A end=00DEAC93 len=9
  0000:  00 07 78 78 78 78 78 78  78                        ..xxxxxxx
>>> dnPrettyNormal: <cn=root,dc=domain,dc=net>
=> ldap_bv2dn(cn=root,dc=domain,dc=net,0)
<= ldap_bv2dn(cn=root,dc=domain,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=domain,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=domain,dc=net)=0
<<< dnPrettyNormal: <cn=root,dc=domain,dc=net>, <cn=root,dc=domain,dc=net>
do_bind: version=2 dn=&quot;cn=root,dc=domain,dc=net&quot; method=128
==> bdb_bind: dn: cn=root,dc=domain,dc=net
do_bind: v2 bind: &quot;cn=root,dc=domain,dc=net&quot; to &quot;cn=root,dc=domain,dc=net&quot;
send_ldap_result: conn=0 op=0 p=2
send_ldap_result: err=0 matched=&quot;&quot; text=&quot;&quot;
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 552
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
daemon: activity on 1 descriptor
daemon: activity on: 552r
daemon: read activity on 552
daemon: select: listen=1916 active_threads=0 tvp=zero
connection_get(552)
connection_get(552): got connid=0
connection_read(552): checking for input on id=0
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=00DEADF8 ptr=00DEADF8 end=00DEADFD len=5
  0000:  02 01 02 42 00                                     ...B.
ber_get_next
ldap_read: want=8, got=0

ber_get_next on fd 552 failed errno=0 (unknown WSA error)
connection_read(552): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=552 for close
daemon: activity on 1 descriptor
daemon: waked
daemon: select: listen=1916 active_threads=0 tvp=zero
connection_close: deferring conn=0 sd=552
do_unbind
connection_resched: attempting closing conn=0 sd=552
connection_close: conn=0 sd=552
daemon: removing 552


addie70

  • Guest
OpenLdap Help
« Reply #1 on: October 12, 2009, 12:25:47 AM »
OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. You can use it free of Cost :)