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

(ITS#3736) wsa error



Full_Name: Jo.yu
Version: 2.2.19 for win32
OS: win2000 profession
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (219.238.143.110)


After the successful installing of openldap2.2.19, i executes the following
steps.
1. config the slapd.conf,set the acl as:
    access to dn.base="" by * read
    access to dn.base="cn=Subschema" by * read
    access to *  
	by users read
	by users write
2. start the slapd successfully
3. execute the command: 
     ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
   the output is :
     # extended LDIF
     #
     # LDAPv3
     # base <''> with scope base
     # filter: '(objectclass=*)'
     # requesting: namingContexts
     #

     ldapsearch: ldap_search_ext: Bad search filter (-7)
   there such words in the lapd.log:
     slapd startup: initiated.
     backend_startup: starting "dc=my-domain,dc=com"
     bdb_db_open: dbenv_open(D:/yj/openldap/var/openldap-data)
     slapd starting
     connection_get(24): got connid=0
     connection_read(24): checking for input on id=0
     ber_get_next
     ber_get_next: tag 0x30 len 12 contents:
     ber_get_next
     ber_get_next on fd 24 failed errno=10035 (WSAEWOULDBLOCK)
     do_bind
     ber_scanf fmt ({imt) ber:
     ber_scanf fmt (m}) ber:
     >>> dnPrettyNormal: <>
     <<< dnPrettyNormal: <>, <>
     do_bind: version=3 dn="" method=128
     send_ldap_result: conn=0 op=0 p=3
     send_ldap_response: msgid=1 tag=97 err=0
     ber_flush: 14 bytes to sd 24
     connection_get(24): got connid=0
     connection_read(24): checking for input on id=0
     ber_get_next
     ber_get_next: tag 0x30 len 5 contents:
     connection_input: conn=0 deferring operation: binding
     do_bind: v3 anonymous bind
     connection_get(24): got connid=0
     connection_read(24): checking for input on id=0
     do_unbind
     ber_get_next
     ber_get_next on fd 24 failed errno=0 (unknown WSA error)
     connection_read(24): input error=-2 id=0, closing.
     connection_closing: readying conn=0 sd=24 for close
     connection_close: deferring conn=0 sd=24