WLDAP API ldap_search_sA() fails when filter contains European symbol as double byte character
ldap_search_sa() function uses pchar parameter input fails when pass utf-8 string containing european characters filter.
question1) why happen? is issue/bug?
when convert above filter widechar_t & pass ldap_search_sw() works.
question 2) if use ldap_search_s() openldap works double byte character although filter passed char*. feature not supported microsoft?
example - if pass user char* user = "gσr", strlen(user) 4 since σ taking 2 bytes
this works openldap api accepts char*
thank you
this should posted in msdn forums developers.
http://social.msdn.microsoft.com/forums/en-ca/categories
--
paul bergson
mvp - directory services
mcitp: enterprise administrator
mcts, mct, mcse, mcsa, security+, bs csci
2008, vista, 2003, 2000 (early achiever), nt4
http://www.pbbergs.com twitter @pbbergs
http://blogs.dirteam.com/blogs/paulbergson
please no e-mails, questions should posted in newsgroup. posting provided "as is" no warranties, , confers no rights.
Windows Server > Directory Services
Comments
Post a Comment