|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Operations Error in ldap_search_s()
Hi,
I am badly stuck... Need help... We have a ldap database of 500+ subscribers. The dn to search for a particular subscriber (say, 918011111) is "dn:subs-id=918011111,oc=subscriber,vid=3,sid=1,dc=ssdb". The attribute structure of subs-id is attributetype ( 1.3.6.1.4.1.4203.667.1.05 NAME 'subs-id' DESC 'subscriber ID ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) The problem is, if i have a subs-id which is >15 of length (say, 918012345678999), the ldap_search_s() fails with "Operations Error". But if I use the simple ldapsearch command (for the same subs-id) from my shell prompt the search results success. My rootdn is "vid=3,sid=1,dc=ssdb". If I just by-pass the error (Not handling the error in my code), all the subsequent search fails. I am using the ldap bind with proper authentication (user-id/password) My story have another twist, my loglevel directive in slapd.conf is not effective. I am not even able to find out the reason for Operations Error in subs-id >15 of length. The ldap version i use is " $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $" |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Operations Error in ldap_search_s() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|