Hello, everyone, Recently, i have upgraded one of my openldap installations, the version upgrade from 2.1.31 to 2.3.24 in the gentoo box. And i also change the backend from ldbm to bdb which is the default database backend of openldap. Before the upgrading i have used the command slapcat dump all the data from the old version openldap server. After the upgrading, i use slapadd to import the dumped backup to the new version installation. Then there is a strange problem. There is a entry with the "o" attribute, the value is NEXOS TRADING GMBH & CO.KNingbo Representative Office then i use the follow command to make a search ldapsearch -x -D "cn=manager,dc=xxx" -w xxx -b "ou=contacts,dc=xxx" o="*NEX*" It will return the correct result. use ldapsearch -x -D "cn=manager,dc=xxx" -w xxx -b "ou=contacts,dc=xxx" o="*NEXO* It will return nothing. use ldapsearch -x -D "cn=manager,dc=xxx" -w xxx -b "ou=contacts,dc=xxx" o="*NEXOS* It will return nothing. use ldapsearch -x -D "cn=manager,dc=xxx" -w xxx -b "ou=contacts,dc=xxx" o="*XOS* It will return the correct result. That's very strange. Then i use a ldap client to connect to the server then cut the value of "o" and paste it again. After that, everthing seems okay. But i also find some other entry has the same problem. Does someone have some experiences on this topic? Every reply is very appreciated. Wang Penghui -- Name. Wang Penghui | ç éè Tel. 0086-592-8389650 Mail. wangpenghui@gmail.com Web. http://www.wangpenghui.name Blog. http://www.wangpenghui.name/blog
Attachment:
signature.asc
Description: This is a digitally signed message part