Full_Name: Panagiotis Psarrakos Version: 2.4.31 OS: CentOS release 5.5 (Final) URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (212.205.53.214)
My environment consists of MySQL Cluster database with 2 Data nodes and 2 mysql nodes. I have installed openLDAP at both mysql nodesusing back-ndb for retrieving data from MySQL Cluster database.
The table OL_dn2id contains entries like the sample below
eid |objectclass | a0 | a1 | a2 | a3 --------------------------------------------------------------------------------- 2790113 |entitlement@top| dc=ro | dc=cosmote | msisdn=40765494677 | bill=prepaid
--------------------------------------------------------------------------------- 993566 |usertable@top | dc=ro | dc=cosmote | msisdn=40765494677 | bill=postpaid
I need to perfrom search based on msisdn or based on attribute bill (bill can have values prepaid/postpaid)
When i try to use the command
ldapsearch -h localhost -LLL -x -s sub -d 32 -b
bill=postpaid,msisdn=*,dc=cosmote,dc=ro
then i receive the error Invalid DN syntax (34) Additional information: invalid DN
As i understand i have to use both columns a3 and a2 in order to do searches based on bill attribute but i need to have all msisdn based on the bill value
Is there a limitation in openLDAP implementation in using the character * for wildcard LDAP searches?