[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Configuration and auth problem]



Likely the DN you entered is not the same as the rootdn
you specified in slapd.conf(5).

At 08:17 AM 8/26/2004, Uni Kassel HRZ - Pascal Grabe wrote:
>OK, with active debugging the slapd says:
>
>>>> snip >>>
>
>slapd starting
>daemon: added 6r
>daemon: added 7r
>daemon: select: listen=6 active_threads=0 tvp=NULL
>daemon: select: listen=7 active_threads=0 tvp=NULL
>daemon: activity on 1 descriptors
>daemon: new connection on 12
>ldap_pvt_gethostbyname_a: host=s01-esw, r=0
>str2filter "(objectclass=*)"
>put_filter: "(objectclass=*)"
>put_filter: simple
>put_simple_filter: "objectclass=*"
>begin get_filter
>PRESENT
>ber_scanf fmt (m) ber:
>ber_dump: buf=0x0811cd60 ptr=0x0811cd60 end=0x0811cd6d len=13
>  0000:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73
>..objectclass
>end get_filter 0
>conn=0 fd=12 ACCEPT from IP=10.52.71.180:4597 (IP=0.0.0.0:389)
>daemon: added 12r
>daemon: activity on:
>daemon: select: listen=6 active_threads=0 tvp=NULL
>daemon: select: listen=7 active_threads=0 tvp=NULL
>daemon: activity on 1 descriptors
>daemon: activity on: 12r
>daemon: read activity on 12
>connection_get(12)
>connection_get(12): got connid=0
>connection_read(12): checking for input on id=0
>ber_get_next
>ldap_read: want=8, got=8
>  0000:  30 1c 02 01 01 60 17 02                            0....`..
>ldap_read: want=22, got=22
>  0000:  01 03 04 0a 63 6e 3d 4d  61 6e 61 67 65 72 80 06
>....cn=Manager..
>  0010:  73 65 63 72 65 74                                  secret
>ber_get_next: tag 0x30 len 28 contents:
>ber_dump: buf=0x0811dfc8 ptr=0x0811dfc8 end=0x0811dfe4 len=28
>  0000:  02 01 01 60 17 02 01 03  04 0a 63 6e 3d 4d 61 6e
>...`......cn=Man
>  0010:  61 67 65 72 80 06 73 65  63 72 65 74               ager..secret
>ber_get_next
>ldap_read: want=8 error=Resource temporarily unavailable
>ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
>daemon: select: listen=6 active_threads=1 tvp=NULL
>daemon: select: listen=7 active_threads=1 tvp=NULL
>do_bind
>ber_scanf fmt ({imt) ber:
>ber_dump: buf=0x0811dfc8 ptr=0x0811dfcb end=0x0811dfe4 len=25
>  0000:  60 17 02 01 03 04 0a 63  6e 3d 4d 61 6e 61 67 65
>`......cn=Manage
>  0010:  72 80 06 73 65 63 72 65  74                        r..secret
>ber_scanf fmt (m}) ber:
>ber_dump: buf=0x0811dfc8 ptr=0x0811dfdc end=0x0811dfe4 len=8
>  0000:  00 06 73 65 63 72 65 74                            ..secret
>>>> dnPrettyNormal: <cn=Manager>
>=> ldap_bv2dn(cn=Manager,0)
><= ldap_bv2dn(cn=Manager,0)=0
>=> ldap_dn2bv(272)
><= ldap_dn2bv(cn=Manager,272)=0
>=> ldap_dn2bv(272)
><= ldap_dn2bv(cn=manager,272)=0
><<< dnPrettyNormal: <cn=Manager>, <cn=manager>
>do_bind: version=3 dn="cn=Manager" method=128
>conn=0 op=0 BIND dn="cn=Manager" method=128
>send_ldap_result: conn=0 op=0 p=3
>send_ldap_result: err=49 matched="" text=""
>send_ldap_response: msgid=1 tag=97 err=49
>ber_flush: 14 bytes to sd 12
>  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00
>0....a...1....
>ldap_write: want=14, written=14
>  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00
>0....a...1....
>conn=0 op=0 RESULT tag=97 err=49 text=
>daemon: activity on 1 descriptors
>daemon: activity on: 12r
>daemon: read activity on 12
>connection_get(12)
>connection_get(12): got connid=0
>connection_read(12): checking for input on id=0
>ber_get_next
>ldap_read: want=8, got=0
>
>ber_get_next on fd 12 failed errno=0 (Success)
>connection_read(12): input error=-2 id=0, closing.
>connection_closing: readying conn=0 sd=12 for close
>connection_close: conn=0 sd=12
>daemon: removing 12
>conn=0 fd=12 closed
>daemon: select: listen=6 active_threads=0 tvp=NULL
>daemon: select: listen=7 active_threads=0 tvp=NULL
>daemon: activity on 1 descriptors
>daemon: select: listen=6 active_threads=0 tvp=NULL
>daemon: select: listen=7 active_threads=0 tvp=NULL
>
><<< snap <<<
>
>What's the problem?
>
>Rgds.
>   Pascal