[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: UTF-8 & internationalization
Hi,
I found the mistake from the long log file,
that is the line:
15:32:21 01/09/2002 DEBUG4 104: filter: (employeeNumber=\E5\A4)
In your condition,this line should be " filter: (employeeNumber=\E5\A4\A9)".
Maybe the command line tools cause this mistake.
You can test with this command:
ldapsearch -LLL "(employeeNumber=天)"
for some reason it could be typing wrong,so use the below (it is base64
encoded):
bGRhcHNlYXJjaCAtTExMICIoZW1wbG95ZWVOdW1iZXI95aSpKSI=
I also use Chinese characters in utf8 with openldap 2.0.18(linux), it work
fine for me.
I hope you can enjoy it.
----- Original Message -----
From: "Alvin Wong" <alvin.wong@spanlink.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: <openldap-software@OpenLDAP.org>
Sent: Thursday, January 10, 2002 6:41 AM
Subject: RE: UTF-8 & internationalization
> Hi
>
> Here are 3 of the entries:
>
> dn: employeeNumber=abc123,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications
> objectClass: splkAgent
> displayName: abc123
> employeeNumber: abc123
> supflag: 1
> userPassword:: YWJjMTIz
> tid: abc123
> acdid: abc123
> acdpw: abc123
> ctiid: abc123
> ctipw: abc123
> employeeType: 1
> wf: abc123
> agtref: -1
> ts: 0
> creatorsName: cn=Spanlink, ou=People, o=Spanlink Communications
> createTimestamp: 20020109213105Z
> modifiersName: cn=Spanlink, ou=People, o=Spanlink Communications
> modifyTimestamp: 20020109213105Z
>
> dn::
> ZW1wbG95ZWVOdW1iZXI95aSp5YWN6LS56K+VLG91PUFnZW50cyxvdT1DYWxsIENlbnRlciAx
> L
> G89U3BhbmxpbmsgQ29tbXVuaWNhdGlvbnM=
> objectClass: splkAgent
> displayName:: 5aSp5YWN6LS56K+V
> employeeNumber:: 5aSp5YWN6LS56K+V
> supflag: 1
> userPassword:: 5aSp5YWN6LS56K+V
> tid:: 5aSp5YWN6LS56K+V
> acdid:: 5aSp5YWN6LS56K+V
> acdpw:: 5aSp5YWN6LS56K+V
> ctiid:: 5aSp5YWN6LS56K+V
> ctipw:: 5aSp5YWN6LS56K+V
> employeeType: 1
> wf:: 5aSp5YWN6LS56K+V
> agtref: -1
> ts: 0
> creatorsName: cn=Spanlink, ou=People, o=Spanlink Communications
> createTimestamp: 20020109213124Z
> modifiersName: cn=Spanlink, ou=People, o=Spanlink Communications
> modifyTimestamp: 20020109213124Z
>
> dn::
> ZW1wbG95ZWVOdW1iZXI95aQsb3U9QWdlbnRzLG91PUNhbGwgQ2VudGVyIDEsbz1TcGFubGlu
> a
> yBDb21tdW5pY2F0aW9ucw==
> objectClass: splkAgent
> displayName:: 5aSp
> employeeNumber:: 5aSp
> supflag: 1
> userPassword:: 5aSp
> tid:: 5aSp
> acdid:: 5aSp
> acdpw:: 5aSp
> ctiid:: 5aSp
> ctipw:: 5aSp
> employeeType: 1
> wf:: 5aSp
> agtref: -1
> ts: 0
> creatorsName: cn=Spanlink, ou=People, o=Spanlink Communications
> createTimestamp: 20020109213141Z
> modifiersName: cn=Spanlink, ou=People, o=Spanlink Communications
> modifyTimestamp: 20020109213141Z
>
> It can find the first 2 entries but not the third. The only differences
> are the first entry is in English which doesn't have any problems, the
> second contains even number of Chinese characters and the third has odd
> number of Chinese characters.
>
> A portion of the debug 5 follows. I did a search for abc123 (at
> 15:31:58), follow by the entry with 4 Chinese characters (at 15:32:12),
> and the entry with 1 Chinese character (at 15:32:21).
>
> 15:31:58 01/09/2002 DEBUG4 291: connection_get(272)
> 15:31:58 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:31:58 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 54 contents:
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:31:58 01/09/2002 DEBUG1 68: do_search
> 15:31:58 01/09/2002 DEBUG1 68: ber_scanf fmt ({aiiiib) ber:
> 15:31:58 01/09/2002 DEBUG4 68: SRCH "o=Spanlink Communications" 1
> 015:31:58 01/09/2002 DEBUG4 68: 0 4000 0
> 15:31:58 01/09/2002 DEBUG1 68: ber_scanf fmt (o) ber:
> 15:31:58 01/09/2002 DEBUG4 68: filter: (ou=*)
> 15:31:58 01/09/2002 DEBUG1 68: ber_scanf fmt ({v}}) ber:
> 15:31:58 01/09/2002 DEBUG4 68: attrs:15:31:58 01/09/2002 DEBUG4 68:
> 15:31:58 01/09/2002 DEBUG1 68: => ldbm_back_search
> 15:31:58 01/09/2002 DEBUG1 68: dn2entry_r: dn: "O=SPANLINK
> COMMUNICATIONS"
> 15:31:58 01/09/2002 DEBUG1 68: => dn2id( "O=SPANLINK COMMUNICATIONS" )
> 15:31:58 01/09/2002 DEBUG1 68: ====> cache_find_entry_dn2id("O=SPANLINK
> COMMUNICATIONS"): 1 (1 tries)
> 15:31:58 01/09/2002 DEBUG1 68: <= dn2id 1 (in cache)
> 15:31:58 01/09/2002 DEBUG1 68: => id2entry_r( 1 )
> 15:31:58 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 1
> 15:31:58 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 1 )
> "o=Spanlink Communications" (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 68: <= id2entry_r( 1 ) 0x62b160 (cache)
> 15:31:58 01/09/2002 DEBUG1 68: search_candidates: base="O=SPANLINK
> COMMUNICATIONS" s=1 d=0
> 15:31:58 01/09/2002 DEBUG1 68: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => list_candidates 0xa0
> 15:31:58 01/09/2002 DEBUG1 68: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => dn2idl( "O=SPANLINK COMMUNICATIONS" )
> 15:31:58 01/09/2002 DEBUG1 68: => ldbm_cache_open( "dn2id.dbb", 9, 600 )
> 15:31:58 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 0)
> 15:31:58 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:31:58 01/09/2002 DEBUG1 68: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => list_candidates 0xa1
> 15:31:58 01/09/2002 DEBUG1 68: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => equality_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => ldbm_cache_open( "objectClass.dbb", 9,
> 600 )
> 15:31:58 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 3)
> 15:31:58 01/09/2002 DEBUG1 68: => key_read
> 15:31:58 01/09/2002 DEBUG1 68: <= index_read 0 candidates
> 15:31:58 01/09/2002 DEBUG1 68: <= equality_candidates NULL
> 15:31:58 01/09/2002 DEBUG1 68: <= equality_candidates 0
> 15:31:58 01/09/2002 DEBUG1 68: <= filter_candidates 0
> 15:31:58 01/09/2002 DEBUG1 68: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 68: => presence_candidates
> 15:31:58 01/09/2002 DEBUG1 68: <= presence_candidates: index_param
> returned=18
> 15:31:58 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:31:58 01/09/2002 DEBUG1 68: <= list_candidates 16
> 15:31:58 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:31:58 01/09/2002 DEBUG1 68: <= list_candidates 1
> 15:31:58 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:31:58 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 1
> 15:31:58 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 1 ): returned
> (0)
> 15:31:58 01/09/2002 DEBUG1 68: => id2entry_r( 3 )
> 15:31:58 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 3
> 15:31:58 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 3 ) "ou=Call
> Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 68: <= id2entry_r( 3 ) 0x62b0c0 (cache)
> 15:31:58 01/09/2002 DEBUG1 68: => send_search_entry: "ou=Call Center
> 1,o=Spanlink Communications"
> 15:31:58 01/09/2002 DEBUG1 68: <= send_search_entry
> 15:31:58 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 3
> 15:31:58 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 3 ): returned
> (0)
> 15:31:58 01/09/2002 DEBUG1 68: send_ldap_search_result 0::
> 15:31:58 01/09/2002 DEBUG1 68: send_ldap_response: msgid=31 tag=101
> err=0
> 15:31:58 01/09/2002 DEBUG4 291: connection_get(272)
> 15:31:58 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:31:58 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 103 contents:
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next
> 15:31:58 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:31:58 01/09/2002 DEBUG1 104: do_search
> 15:31:58 01/09/2002 DEBUG1 104: ber_scanf fmt ({aiiiib) ber:
> 15:31:58 01/09/2002 DEBUG4 104: SRCH "ou=Agents,ou=Call Center
> 1,o=Spanlink Communications" 1 015:31:58 01/09/2002 DEBUG4 104: 0
> 4000 0
> 15:31:58 01/09/2002 DEBUG1 104: ber_scanf fmt ({oo}) ber:
> 15:31:58 01/09/2002 DEBUG4 104: filter: (employeeNumber=abc123)
> 15:31:58 01/09/2002 DEBUG1 104: ber_scanf fmt ({v}}) ber:
> 15:31:58 01/09/2002 DEBUG4 104: attrs:15:31:58 01/09/2002 DEBUG4
> 104:
> 15:31:58 01/09/2002 DEBUG1 104: => ldbm_back_search
> 15:31:58 01/09/2002 DEBUG1 104: dn2entry_r: dn: "OU=AGENTS,OU=CALL
> CENTER 1,O=SPANLINK COMMUNICATIONS"
> 15:31:58 01/09/2002 DEBUG1 104: => dn2id( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:31:58 01/09/2002 DEBUG1 104: ====>
> cache_find_entry_dn2id("OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK
> COMMUNICATIONS"): 4 (1 tries)
> 15:31:58 01/09/2002 DEBUG1 104: <= dn2id 4 (in cache)
> 15:31:58 01/09/2002 DEBUG1 104: => id2entry_r( 4 )
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 4
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 4 )
> "ou=Agents,ou=Call Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 104: <= id2entry_r( 4 ) 0x62da60 (cache)
> 15:31:58 01/09/2002 DEBUG1 104: search_candidates:
> base="OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK COMMUNICATIONS" s=1 d=0
> 15:31:58 01/09/2002 DEBUG1 104: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => list_candidates 0xa0
> 15:31:58 01/09/2002 DEBUG1 104: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => dn2idl( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:31:58 01/09/2002 DEBUG1 104: => ldbm_cache_open( "dn2id.dbb", 9, 600
> )
> 15:31:58 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 0)
> 15:31:58 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:31:58 01/09/2002 DEBUG1 104: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => list_candidates 0xa1
> 15:31:58 01/09/2002 DEBUG1 104: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => equality_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => ldbm_cache_open( "objectClass.dbb",
> 9, 600 )
> 15:31:58 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 3)
> 15:31:58 01/09/2002 DEBUG1 104: => key_read
> 15:31:58 01/09/2002 DEBUG1 104: <= index_read 0 candidates
> 15:31:58 01/09/2002 DEBUG1 104: <= equality_candidates NULL
> 15:31:58 01/09/2002 DEBUG1 104: <= equality_candidates 0
> 15:31:58 01/09/2002 DEBUG1 104: <= filter_candidates 0
> 15:31:58 01/09/2002 DEBUG1 104: => filter_candidates
> 15:31:58 01/09/2002 DEBUG1 104: => equality_candidates
> 15:31:58 01/09/2002 DEBUG1 104: <= equality_candidates: index_param
> returned=18
> 15:31:58 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:31:58 01/09/2002 DEBUG1 104: <= list_candidates 16
> 15:31:58 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:31:58 01/09/2002 DEBUG1 104: <= list_candidates 3
> 15:31:58 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 4
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 4 ):
> returned (0)
> 15:31:58 01/09/2002 DEBUG1 104: => id2entry_r( 13 )
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 13
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 13 )
> "employeeNumber=abc123,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 104: <= id2entry_r( 13 ) 0x630640 (cache)
> 15:31:58 01/09/2002 DEBUG1 104: => send_search_entry:
> "employeeNumber=abc123,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications"
> 15:31:58 01/09/2002 DEBUG1 104: <= send_search_entry
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 13
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 13 ):
> returned (0)
> 15:31:58 01/09/2002 DEBUG1 104: => id2entry_r( 14 )
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 14
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 14 )
> "employeeNumber=天å...è´¹è¯*,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 104: <= id2entry_r( 14 ) 0x6319e0 (cache)
> 15:31:58 01/09/2002 DEBUG1 104: ldbm_search: candidate 14 does not match
> filter
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 14
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 14 ):
> returned (0)
> 15:31:58 01/09/2002 DEBUG1 104: => id2entry_r( 15 )
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 15
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 15 )
> "employeeNumber=å¤,ou=Agents,ou=Call Center 1,o=Spanlink Communications"
> (found) (1 tries)
> 15:31:58 01/09/2002 DEBUG1 104: <= id2entry_r( 15 ) 0x632130 (cache)
> 15:31:58 01/09/2002 DEBUG1 104: ldbm_search: candidate 15 does not match
> filter
> 15:31:58 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 15
> 15:31:58 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 15 ):
> returned (0)
> 15:31:58 01/09/2002 DEBUG1 104: send_ldap_search_result 0::
> 15:31:58 01/09/2002 DEBUG1 104: send_ldap_response: msgid=32 tag=101
> err=0
> 15:32:12 01/09/2002 DEBUG4 291: connection_get(272)
> 15:32:12 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:32:12 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 54 contents:
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:32:12 01/09/2002 DEBUG1 68: do_search
> 15:32:12 01/09/2002 DEBUG1 68: ber_scanf fmt ({aiiiib) ber:
> 15:32:12 01/09/2002 DEBUG4 68: SRCH "o=Spanlink Communications" 1
> 015:32:12 01/09/2002 DEBUG4 68: 0 4000 0
> 15:32:12 01/09/2002 DEBUG1 68: ber_scanf fmt (o) ber:
> 15:32:12 01/09/2002 DEBUG4 68: filter: (ou=*)
> 15:32:12 01/09/2002 DEBUG1 68: ber_scanf fmt ({v}}) ber:
> 15:32:12 01/09/2002 DEBUG4 68: attrs:15:32:12 01/09/2002 DEBUG4 68:
> 15:32:12 01/09/2002 DEBUG1 68: => ldbm_back_search
> 15:32:12 01/09/2002 DEBUG1 68: dn2entry_r: dn: "O=SPANLINK
> COMMUNICATIONS"
> 15:32:12 01/09/2002 DEBUG1 68: => dn2id( "O=SPANLINK COMMUNICATIONS" )
> 15:32:12 01/09/2002 DEBUG1 68: ====> cache_find_entry_dn2id("O=SPANLINK
> COMMUNICATIONS"): 1 (1 tries)
> 15:32:12 01/09/2002 DEBUG1 68: <= dn2id 1 (in cache)
> 15:32:12 01/09/2002 DEBUG1 68: => id2entry_r( 1 )
> 15:32:12 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 1
> 15:32:12 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 1 )
> "o=Spanlink Communications" (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 68: <= id2entry_r( 1 ) 0x62b160 (cache)
> 15:32:12 01/09/2002 DEBUG1 68: search_candidates: base="O=SPANLINK
> COMMUNICATIONS" s=1 d=0
> 15:32:12 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => list_candidates 0xa0
> 15:32:12 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => dn2idl( "O=SPANLINK COMMUNICATIONS" )
> 15:32:12 01/09/2002 DEBUG1 68: => ldbm_cache_open( "dn2id.dbb", 9, 600 )
> 15:32:12 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 0)
> 15:32:12 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:32:12 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => list_candidates 0xa1
> 15:32:12 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => equality_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => ldbm_cache_open( "objectClass.dbb", 9,
> 600 )
> 15:32:12 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 3)
> 15:32:12 01/09/2002 DEBUG1 68: => key_read
> 15:32:12 01/09/2002 DEBUG1 68: <= index_read 0 candidates
> 15:32:12 01/09/2002 DEBUG1 68: <= equality_candidates NULL
> 15:32:12 01/09/2002 DEBUG1 68: <= equality_candidates 0
> 15:32:12 01/09/2002 DEBUG1 68: <= filter_candidates 0
> 15:32:12 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 68: => presence_candidates
> 15:32:12 01/09/2002 DEBUG1 68: <= presence_candidates: index_param
> returned=18
> 15:32:12 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:32:12 01/09/2002 DEBUG1 68: <= list_candidates 16
> 15:32:12 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:32:12 01/09/2002 DEBUG1 68: <= list_candidates 1
> 15:32:12 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:32:12 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 1
> 15:32:12 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 1 ): returned
> (0)
> 15:32:12 01/09/2002 DEBUG1 68: => id2entry_r( 3 )
> 15:32:12 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 3
> 15:32:12 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 3 ) "ou=Call
> Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 68: <= id2entry_r( 3 ) 0x62b0c0 (cache)
> 15:32:12 01/09/2002 DEBUG1 68: => send_search_entry: "ou=Call Center
> 1,o=Spanlink Communications"
> 15:32:12 01/09/2002 DEBUG1 68: <= send_search_entry
> 15:32:12 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 3
> 15:32:12 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 3 ): returned
> (0)
> 15:32:12 01/09/2002 DEBUG1 68: send_ldap_search_result 0::
> 15:32:12 01/09/2002 DEBUG1 68: send_ldap_response: msgid=33 tag=101
> err=0
> 15:32:12 01/09/2002 DEBUG4 291: connection_get(272)
> 15:32:12 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:32:12 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 109 contents:
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:12 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:32:12 01/09/2002 DEBUG1 104: do_search
> 15:32:12 01/09/2002 DEBUG1 104: ber_scanf fmt ({aiiiib) ber:
> 15:32:12 01/09/2002 DEBUG4 104: SRCH "ou=Agents,ou=Call Center
> 1,o=Spanlink Communications" 1 015:32:12 01/09/2002 DEBUG4 104: 0
> 4000 0
> 15:32:12 01/09/2002 DEBUG1 104: ber_scanf fmt ({oo}) ber:
> 15:32:12 01/09/2002 DEBUG4 104: filter:
> (employeeNumber=\E5\A4\A9\E5\85\8D\E8\B4\B9\E8\AF\95)
> 15:32:12 01/09/2002 DEBUG1 104: ber_scanf fmt ({v}}) ber:
> 15:32:12 01/09/2002 DEBUG4 104: attrs:15:32:12 01/09/2002 DEBUG4
> 104:
> 15:32:12 01/09/2002 DEBUG1 104: => ldbm_back_search
> 15:32:12 01/09/2002 DEBUG1 104: dn2entry_r: dn: "OU=AGENTS,OU=CALL
> CENTER 1,O=SPANLINK COMMUNICATIONS"
> 15:32:12 01/09/2002 DEBUG1 104: => dn2id( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:32:12 01/09/2002 DEBUG1 104: ====>
> cache_find_entry_dn2id("OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK
> COMMUNICATIONS"): 4 (1 tries)
> 15:32:12 01/09/2002 DEBUG1 104: <= dn2id 4 (in cache)
> 15:32:12 01/09/2002 DEBUG1 104: => id2entry_r( 4 )
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 4
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 4 )
> "ou=Agents,ou=Call Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 104: <= id2entry_r( 4 ) 0x62da60 (cache)
> 15:32:12 01/09/2002 DEBUG1 104: search_candidates:
> base="OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK COMMUNICATIONS" s=1 d=0
> 15:32:12 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => list_candidates 0xa0
> 15:32:12 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => dn2idl( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:32:12 01/09/2002 DEBUG1 104: => ldbm_cache_open( "dn2id.dbb", 9, 600
> )
> 15:32:12 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 0)
> 15:32:12 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:32:12 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => list_candidates 0xa1
> 15:32:12 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => equality_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => ldbm_cache_open( "objectClass.dbb",
> 9, 600 )
> 15:32:12 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 3)
> 15:32:12 01/09/2002 DEBUG1 104: => key_read
> 15:32:12 01/09/2002 DEBUG1 104: <= index_read 0 candidates
> 15:32:12 01/09/2002 DEBUG1 104: <= equality_candidates NULL
> 15:32:12 01/09/2002 DEBUG1 104: <= equality_candidates 0
> 15:32:12 01/09/2002 DEBUG1 104: <= filter_candidates 0
> 15:32:12 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:12 01/09/2002 DEBUG1 104: => equality_candidates
> 15:32:12 01/09/2002 DEBUG1 104: <= equality_candidates: index_param
> returned=18
> 15:32:12 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:32:12 01/09/2002 DEBUG1 104: <= list_candidates 16
> 15:32:12 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:32:12 01/09/2002 DEBUG1 104: <= list_candidates 3
> 15:32:12 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 4
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 4 ):
> returned (0)
> 15:32:12 01/09/2002 DEBUG1 104: => id2entry_r( 13 )
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 13
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 13 )
> "employeeNumber=abc123,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 104: <= id2entry_r( 13 ) 0x630640 (cache)
> 15:32:12 01/09/2002 DEBUG1 104: ldbm_search: candidate 13 does not match
> filter
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 13
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 13 ):
> returned (0)
> 15:32:12 01/09/2002 DEBUG1 104: => id2entry_r( 14 )
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 14
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 14 )
> "employeeNumber=天å...è´¹è¯*,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 104: <= id2entry_r( 14 ) 0x6319e0 (cache)
> 15:32:12 01/09/2002 DEBUG1 104: => send_search_entry:
> "employeeNumber=天å...è´¹è¯*,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications"
> 15:32:12 01/09/2002 DEBUG1 104: <= send_search_entry
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 14
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 14 ):
> returned (0)
> 15:32:12 01/09/2002 DEBUG1 104: => id2entry_r( 15 )
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 15
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 15 )
> "employeeNumber=å¤,ou=Agents,ou=Call Center 1,o=Spanlink Communications"
> (found) (1 tries)
> 15:32:12 01/09/2002 DEBUG1 104: <= id2entry_r( 15 ) 0x632130 (cache)
> 15:32:12 01/09/2002 DEBUG1 104: ldbm_search: candidate 15 does not match
> filter
> 15:32:12 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 15
> 15:32:12 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 15 ):
> returned (0)
> 15:32:12 01/09/2002 DEBUG1 104: send_ldap_search_result 0::
> 15:32:12 01/09/2002 DEBUG1 104: send_ldap_response: msgid=34 tag=101
> err=0
> 15:32:21 01/09/2002 DEBUG4 291: connection_get(272)
> 15:32:21 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:32:21 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 54 contents:
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:32:21 01/09/2002 DEBUG1 68: do_search
> 15:32:21 01/09/2002 DEBUG1 68: ber_scanf fmt ({aiiiib) ber:
> 15:32:21 01/09/2002 DEBUG4 68: SRCH "o=Spanlink Communications" 1
> 015:32:21 01/09/2002 DEBUG4 68: 0 4000 0
> 15:32:21 01/09/2002 DEBUG1 68: ber_scanf fmt (o) ber:
> 15:32:21 01/09/2002 DEBUG4 68: filter: (ou=*)
> 15:32:21 01/09/2002 DEBUG1 68: ber_scanf fmt ({v}}) ber:
> 15:32:21 01/09/2002 DEBUG4 68: attrs:15:32:21 01/09/2002 DEBUG4 68:
> 15:32:21 01/09/2002 DEBUG1 68: => ldbm_back_search
> 15:32:21 01/09/2002 DEBUG1 68: dn2entry_r: dn: "O=SPANLINK
> COMMUNICATIONS"
> 15:32:21 01/09/2002 DEBUG1 68: => dn2id( "O=SPANLINK COMMUNICATIONS" )
> 15:32:21 01/09/2002 DEBUG1 68: ====> cache_find_entry_dn2id("O=SPANLINK
> COMMUNICATIONS"): 1 (1 tries)
> 15:32:21 01/09/2002 DEBUG1 68: <= dn2id 1 (in cache)
> 15:32:21 01/09/2002 DEBUG1 68: => id2entry_r( 1 )
> 15:32:21 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 1
> 15:32:21 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 1 )
> "o=Spanlink Communications" (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 68: <= id2entry_r( 1 ) 0x62b160 (cache)
> 15:32:21 01/09/2002 DEBUG1 68: search_candidates: base="O=SPANLINK
> COMMUNICATIONS" s=1 d=0
> 15:32:21 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => list_candidates 0xa0
> 15:32:21 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => dn2idl( "O=SPANLINK COMMUNICATIONS" )
> 15:32:21 01/09/2002 DEBUG1 68: => ldbm_cache_open( "dn2id.dbb", 9, 600 )
> 15:32:21 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 0)
> 15:32:21 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:32:21 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => list_candidates 0xa1
> 15:32:21 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => equality_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => ldbm_cache_open( "objectClass.dbb", 9,
> 600 )
> 15:32:21 01/09/2002 DEBUG1 68: <= ldbm_cache_open (cache 3)
> 15:32:21 01/09/2002 DEBUG1 68: => key_read
> 15:32:21 01/09/2002 DEBUG1 68: <= index_read 0 candidates
> 15:32:21 01/09/2002 DEBUG1 68: <= equality_candidates NULL
> 15:32:21 01/09/2002 DEBUG1 68: <= equality_candidates 0
> 15:32:21 01/09/2002 DEBUG1 68: <= filter_candidates 0
> 15:32:21 01/09/2002 DEBUG1 68: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 68: => presence_candidates
> 15:32:21 01/09/2002 DEBUG1 68: <= presence_candidates: index_param
> returned=18
> 15:32:21 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:32:21 01/09/2002 DEBUG1 68: <= list_candidates 16
> 15:32:21 01/09/2002 DEBUG1 68: <= filter_candidates 16
> 15:32:21 01/09/2002 DEBUG1 68: <= list_candidates 1
> 15:32:21 01/09/2002 DEBUG1 68: <= filter_candidates 1
> 15:32:21 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 1
> 15:32:21 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 1 ): returned
> (0)
> 15:32:21 01/09/2002 DEBUG1 68: => id2entry_r( 3 )
> 15:32:21 01/09/2002 DEBUG4 68: entry_rdwr_rtrylock: ID: 3
> 15:32:21 01/09/2002 DEBUG1 68: ====> cache_find_entry_id( 3 ) "ou=Call
> Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 68: <= id2entry_r( 3 ) 0x62b0c0 (cache)
> 15:32:21 01/09/2002 DEBUG1 68: => send_search_entry: "ou=Call Center
> 1,o=Spanlink Communications"
> 15:32:21 01/09/2002 DEBUG1 68: <= send_search_entry
> 15:32:21 01/09/2002 DEBUG4 68: entry_rdwr_runlock: ID: 3
> 15:32:21 01/09/2002 DEBUG1 68: ====> cache_return_entry_r( 3 ): returned
> (0)
> 15:32:21 01/09/2002 DEBUG1 68: send_ldap_search_result 0::
> 15:32:21 01/09/2002 DEBUG1 68: send_ldap_response: msgid=35 tag=101
> err=0
> 15:32:21 01/09/2002 DEBUG4 291: connection_get(272)
> 15:32:21 01/09/2002 DEBUG1 291: connection_get(272): got connid=0
> 15:32:21 01/09/2002 DEBUG1 291: connection_read(272): checking for input
> on id=0
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next: tag 0x30 len 99 contents:
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next
> 15:32:21 01/09/2002 DEBUG1 291: ber_get_next on fd 272 failed
> errno=10035 (WSAEWOULDBLOCK)
> 15:32:21 01/09/2002 DEBUG1 104: do_search
> 15:32:21 01/09/2002 DEBUG1 104: ber_scanf fmt ({aiiiib) ber:
> 15:32:21 01/09/2002 DEBUG4 104: SRCH "ou=Agents,ou=Call Center
> 1,o=Spanlink Communications" 1 015:32:21 01/09/2002 DEBUG4 104: 0
> 4000 0
> 15:32:21 01/09/2002 DEBUG1 104: ber_scanf fmt ({oo}) ber:
> 15:32:21 01/09/2002 DEBUG4 104: filter: (employeeNumber=\E5\A4)
> 15:32:21 01/09/2002 DEBUG1 104: ber_scanf fmt ({v}}) ber:
> 15:32:21 01/09/2002 DEBUG4 104: attrs:15:32:21 01/09/2002 DEBUG4
> 104:
> 15:32:21 01/09/2002 DEBUG1 104: => ldbm_back_search
> 15:32:21 01/09/2002 DEBUG1 104: dn2entry_r: dn: "OU=AGENTS,OU=CALL
> CENTER 1,O=SPANLINK COMMUNICATIONS"
> 15:32:21 01/09/2002 DEBUG1 104: => dn2id( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:32:21 01/09/2002 DEBUG1 104: ====>
> cache_find_entry_dn2id("OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK
> COMMUNICATIONS"): 4 (1 tries)
> 15:32:21 01/09/2002 DEBUG1 104: <= dn2id 4 (in cache)
> 15:32:21 01/09/2002 DEBUG1 104: => id2entry_r( 4 )
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 4
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 4 )
> "ou=Agents,ou=Call Center 1,o=Spanlink Communications" (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 104: <= id2entry_r( 4 ) 0x62da60 (cache)
> 15:32:21 01/09/2002 DEBUG1 104: search_candidates:
> base="OU=AGENTS,OU=CALL CENTER 1,O=SPANLINK COMMUNICATIONS" s=1 d=0
> 15:32:21 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => list_candidates 0xa0
> 15:32:21 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => dn2idl( "OU=AGENTS,OU=CALL CENTER
> 1,O=SPANLINK COMMUNICATIONS" )
> 15:32:21 01/09/2002 DEBUG1 104: => ldbm_cache_open( "dn2id.dbb", 9, 600
> )
> 15:32:21 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 0)
> 15:32:21 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:32:21 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => list_candidates 0xa1
> 15:32:21 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => equality_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => ldbm_cache_open( "objectClass.dbb",
> 9, 600 )
> 15:32:21 01/09/2002 DEBUG1 104: <= ldbm_cache_open (cache 3)
> 15:32:21 01/09/2002 DEBUG1 104: => key_read
> 15:32:21 01/09/2002 DEBUG1 104: <= index_read 0 candidates
> 15:32:21 01/09/2002 DEBUG1 104: <= equality_candidates NULL
> 15:32:21 01/09/2002 DEBUG1 104: <= equality_candidates 0
> 15:32:21 01/09/2002 DEBUG1 104: <= filter_candidates 0
> 15:32:21 01/09/2002 DEBUG1 104: => filter_candidates
> 15:32:21 01/09/2002 DEBUG1 104: => equality_candidates
> 15:32:21 01/09/2002 DEBUG1 104: <= equality_candidates: index_param
> returned=18
> 15:32:21 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:32:21 01/09/2002 DEBUG1 104: <= list_candidates 16
> 15:32:21 01/09/2002 DEBUG1 104: <= filter_candidates 16
> 15:32:21 01/09/2002 DEBUG1 104: <= list_candidates 3
> 15:32:21 01/09/2002 DEBUG1 104: <= filter_candidates 3
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 4
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 4 ):
> returned (0)
> 15:32:21 01/09/2002 DEBUG1 104: => id2entry_r( 13 )
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 13
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 13 )
> "employeeNumber=abc123,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 104: <= id2entry_r( 13 ) 0x630640 (cache)
> 15:32:21 01/09/2002 DEBUG1 104: ldbm_search: candidate 13 does not match
> filter
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 13
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 13 ):
> returned (0)
> 15:32:21 01/09/2002 DEBUG1 104: => id2entry_r( 14 )
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 14
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 14 )
> "employeeNumber=天å...è´¹è¯*,ou=Agents,ou=Call Center 1,o=Spanlink
> Communications" (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 104: <= id2entry_r( 14 ) 0x6319e0 (cache)
> 15:32:21 01/09/2002 DEBUG1 104: ldbm_search: candidate 14 does not match
> filter
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 14
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 14 ):
> returned (0)
> 15:32:21 01/09/2002 DEBUG1 104: => id2entry_r( 15 )
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_rtrylock: ID: 15
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_find_entry_id( 15 )
> "employeeNumber=å¤,ou=Agents,ou=Call Center 1,o=Spanlink Communications"
> (found) (1 tries)
> 15:32:21 01/09/2002 DEBUG1 104: <= id2entry_r( 15 ) 0x632130 (cache)
> 15:32:21 01/09/2002 DEBUG1 104: ldbm_search: candidate 15 does not match
> filter
> 15:32:21 01/09/2002 DEBUG4 104: entry_rdwr_runlock: ID: 15
> 15:32:21 01/09/2002 DEBUG1 104: ====> cache_return_entry_r( 15 ):
> returned (0)
> 15:32:21 01/09/2002 DEBUG1 104: send_ldap_search_result 0::
> 15:32:21 01/09/2002 DEBUG1 104: send_ldap_response: msgid=36 tag=101
> err=0
>
>
> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: Wednesday, January 09, 2002 1:53 PM
> To: Alvin Wong
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: UTF-8 & internationalization
>
>
> At 03:23 PM 2002-01-08, Alvin Wong wrote:
> >OpenLDAP: 2.0.19
> >OS: Windows NT
> >Server: OpenLDAP 2.0.19 slapd
> >Client: OpenLDAP 2.0.19 C API
> >
> >Hi All,
> >
> >I'm trying to setup an LDAP which has values in different languages,
> >i.e. English, Chinese, French, etc. I encoded the values in UTF-8 and
> am
> >currently having some problems when I try to search for certain
> entries.
> >Specifically, I encoded Chinese characters in UTF-8 and when I have odd
> >number of Chinese characters as the value, it fails while it succeeds
> if
> >it is even.
>
> That sounds odd. You might try posting a sample LDIF so folks
> can see what you are doing.
>
> >Another thing is that I did not encode the attribute names
> >as they are in English.
>
> That's not a good idea. Attribute names in the protocol are
> restricted to a small subset of Unicode.
>
> >Am I doing this the wrong way?
>
> The right way would be for the application to map the
> attribute names to something more meaningful.
>
> >Are there more
> >stuff I should be looking at? Thanks in advance for any help.
> >
> >-Alvin
>