How to search from inside an overlay (newbie)

2007-05-07 Thread José Marco
Hi everybody. I managed to keep developing til now but I'm desperate today... I guess this is easy stuff for people with some experience in OpenLDAP: I just need to perform a search. I am inside an overlay's response and I need to search for some entries. The question is: - How do I set

Search replies processed twice?

2007-05-10 Thread José Marco
I programmed something like this very simple code inside an overlay. The idea is quite simple: if a search fulfills a condition, a new search should be done and the retrieved entries should also be returned to the client. (It is ensured that the second search does not fulfill the condition).

Re: Search replies processed twice?

2007-05-11 Thread José Marco
Howard Chu escribió: José Marco wrote: I programmed something like this very simple code inside an overlay. The idea is quite simple: if a search fulfills a condition, a new search should be done and the retrieved entries should also be returned to the client. (It is ensured that the sec

Doubts about callback sequence and attribute retrieval...

2007-05-22 Thread José Marco
Hi all! I'm observing some unexpected (not surprising, though) behaviour with overlays. I programmed a subgroup expansion overlay. It takes a DN in an attribute and copies one of its attributes to the containing entry (much in the same way as ExpandURL) Now I'm trying to use that

Serverside change of time limit for an operation...

2007-05-22 Thread José Marco
Hi again. Now I'm trying to change the time limit of a search request inside the server. Concretely, inside the search response of an overlay. The thing is: if the client didn't state a time limit (-l ), the time limit in the Operation ( op->oq_search.rs_tlimit ) is set to -1. If I

Re: Serverside change of time limit for an operation...

2007-05-22 Thread José Marco
I am inspecting the code and I think the point is that the stoptime for the search is calculated before the first pass through the overlay, thus ignoring later changes in the tlimit. I guess I have to manage with the overlay's private info and process the time myself... If there is an ea

cn=config: allow more users to access

2007-07-16 Thread José Marco
Hi everydoby, I'm juggling with permissions and slapd.d configuration and I am having problems to allow access to the cn=config backend... How can I allow access to users different to the backend's rootdn? I tried inserting lines in file "olcDatabase={0}config.ldif" like: olcAccess: to *

Re: cn=config: allow more users to access

2007-07-17 Thread José Marco
Thanks a lot, Howard, you saved me from a couple of unsuccessful hours of testing,hehe! Howard Chu escribió: José Marco wrote: Hi everydoby, I'm juggling with permissions and slapd.d configuration and I am having problems to allow access to the cn=config backend... How can I