Re: synchronisation monitoring, contextCSN and operational attributes

2009-05-27 Thread Howard Chu
Guillaume Rousse wrote: Howard Chu a écrit : Guillaume Rousse wrote: Hello list. I'm using delta-syncrepl in search-and-persist mode between my slaves and my master server. And I'm using a nagios plugin to check sync status, based on value of contextCSN attribute. But I'm often sync alerts for

Re: synchronisation monitoring, contextCSN and operational attributes

2009-05-27 Thread Buchan Milne
On Wednesday 27 May 2009 13:12:03 Howard Chu wrote: > Guillaume Rousse wrote: > > Howard Chu a écrit : > >> Guillaume Rousse wrote: > >>> Hello list. > >>> > >>> I'm using delta-syncrepl in search-and-persist mode between my slaves > >>> and my master server. And I'm using a nagios plugin to check

How to write config tree ??

2009-05-27 Thread Pastore Annamaria
I would like to construct a memberof scenarius like test52, but when I try to add with command ldapadd a *.ldif that returns error : ldap_bind: Invalid credentials (49) What I must to do ? Someone can help me ? Internet E. Mail Confidentiality Footer ---

Openldap 2.4.16 and OpenLDAProotDSE

2009-05-27 Thread Lepoutre Lionel
Hello, I am using openldap 2.4.16 and everything seems to work (the server starts and I can add/modify/delete entries). But I had some problems to build a frontend and it seems to be linked to my RootDSE. When I make a : *ldapsearch -h myserver -x -s base -b "" +* I only get : *# extended LDIF #

persistent query

2009-05-27 Thread Guillaume Rousse
Hello list. Is there any way to perform a persistent query with ldapsearch, the same way syncrepl refreshAndPersist does ? And if not, would an ITS for it being accepted ? It would be very useful for following changes in logs managed by slapo-accesslog. -- BOFH excuse #379: We've picked COBO

Re: Openldap 2.4.16 and OpenLDAProotDSE

2009-05-27 Thread Michael Ströder
Lepoutre Lionel wrote: > When I make a : > /ldapsearch -h myserver -x -s base -b "" +/ > > I only get : > /# extended LDIF > # > # LDAPv3 > # base <> with scope baseObject > # filter: (objectclass=*) > # requesting: + > # > > # search result > search: 2 > result: 0 Success Do you have ACLs which

Re: Openldap 2.4.16 and OpenLDAProotDSE

2009-05-27 Thread Lepoutre Lionel
Hi Michael, I was about to answer my email :) As I have not found any mistakes in my slapd.conf I simply delete it and make it again from scratch! And now: it works! I don't know what was wrong but here is my acl config to give an example for people that may need it. access to dn.base="" by * rea

Re: persistent query

2009-05-27 Thread Howard Chu
Guillaume Rousse wrote: Hello list. Is there any way to perform a persistent query with ldapsearch, the same way syncrepl refreshAndPersist does ? And if not, would an ITS for it being accepted ? It would be very useful for following changes in logs managed by slapo-accesslog. Read ldapsearch(

OpenLDAP API: why to use asynchronous functions?

2009-05-27 Thread johnmiller
Hi all, I am learning to use OpenLDAP API with no particular problem. Anyway I have a question: why should I use asynchronous functions? From the LDAP client point of view, do they use less memory or more? I have this concern because my code will have to work on an embedded system with not much RA

Re: OpenLDAP API: why to use asynchronous functions?

2009-05-27 Thread Hallvard B Furuseth
johnmil...@email.it writes: > why should I use asynchronous functions? Your application might have some other work to do. Like responding to user input, if it's an interactive application. Then you can send the LDAP request, do some work, check for the LDAP response, if it has not arrived do so