Question
· Jan 24

Request LDAP

Hello,

I need to make an LDAP query to retrieve information about a specific team of employees. I have a custom service that instantiates a message of type EnsLib.LDAP.Message.Search with a filter matching the search and redirects it to an operation of type EnsLib.LDAP.Operation.Standard. I didn't get any errors, but I didn't get any results either. So I created an operation that inherits from EnsLib.LDAP.Operation.Standard and I overloaded the method to retrieve something. I get this:

ERROR <Ens>ErrException: <FRAMESTACK>ProcessSearch+5^myDSO.operation.requeteLDAP.1 -- - connected as '-' number - @' Set tSC=..ProcessSearch(pRequest, .pResults) '

Does anyone have an idea? Any advice?

Thank you in advance for your help. Best regards,

Cecile

 

UPDATE:

I tried to move forward. I switched back to standard LDAP operation. I checked my settings and connection rights, everything is ok. I really feel like I'm missing out on something and that I'm not connecting correctly to do my LDAP query because I'm getting this as a return message:

And I don't get any EnsLib.LDAP.Message.Result type messages. I put a very simple filter and attribute to return for now.

Could someone please guide me? Or if you didn't have an operation created from scratch, does anyone have an example to show me?

Thank you in advance for your help. Best regards,

Cecile

Discussion (0)1
Log in or sign up to continue