Re: Slapd with mysql and unixODBC

2007-05-25 Thread Dieter Kluenter
Hi, Ace [EMAIL PROTECTED] writes: Hi All, Can anybody tell me which all packages one will need to configure LDAP with mysql? I have, unixODBC unixODBC-devel Connector/ODBC 3.51 MySQL 5.0 and LDAP - 2.3.32 Still I am facing error while starting slapd - ./slapd: error while

Re: duplicate attributetype: 2.5.4.2

2007-05-25 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Thursday, May 24, 2007 8:03 PM -0400 Pedro Espinoza [EMAIL PROTECTED] wrote: Gurus: I am newbie to this ldap thing. I followed garytt's installation guide. When I tried to start slapd, I got the following error. I searched on net, but in vain. Can you shed

Re: LDAP and MySQL - No database selected

2007-05-25 Thread Gabriel Stein
Yes. On same directory with structural *.sql you have data *.sql scripts. You can import this sql files. Cheers! On 5/25/07, Ace [EMAIL PROTECTED] wrote: I could get LDAP started with mysql. One query - === [EMAIL PROTECTED] libexec]#

Re: Help with Syncrepl

2007-05-25 Thread Steven Bambling
My Provider settings are ### #Replication Stuff# ### #updateref the ldap server to which clients submit update requests updateref ldap://pi.sunrocket.com #Provider (master) must be implemeneted as an overlay overlay syncprov #syncprov-checkpoint ops

Re: duplicate attributetype: 2.5.4.2

2007-05-25 Thread Quanah Gibson-Mount
--On Friday, May 25, 2007 2:31 AM -0700 Howard Chu [EMAIL PROTECTED] wrote: Quanah Gibson-Mount wrote: --On Thursday, May 24, 2007 8:03 PM -0400 Pedro Espinoza [EMAIL PROTECTED] wrote: Gurus: I am newbie to this ldap thing. I followed garytt's installation guide. When I tried to start

Re: duplicate attributetype: 2.5.4.2

2007-05-25 Thread Pedro Espinoza
On 5/25/07, Quanah Gibson-Mount [EMAIL PROTECTED] wrote: --On Friday, May 25, 2007 2:31 AM -0700 Howard Chu [EMAIL PROTECTED] wrote: Quanah Gibson-Mount wrote: --On Thursday, May 24, 2007 8:03 PM -0400 Pedro Espinoza [EMAIL PROTECTED] wrote: Gurus: I am newbie to this ldap thing. I

Re: LDAP and MySQL - No database selected

2007-05-25 Thread Ace
I could get LDAP started with mysql. One query - === [EMAIL PROTECTED] libexec]# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts* # extended LDIF # # LDAPv3 # base with scope baseObject # filter: (objectclass=*) # requesting:

Re: how to create db files

2007-05-25 Thread Quanah Gibson-Mount
--On May 25, 2007 11:32:48 AM -0700 Craig [EMAIL PROTECTED] wrote: Uh... it won't start without the id2entry file: Checking configuration files for : bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2) Any other ideas? I said, load the server with your

Re: how to create db files

2007-05-25 Thread Quanah Gibson-Mount
--On May 25, 2007 11:54:30 AM -0700 Craig [EMAIL PROTECTED] wrote: Sorry, I had only used ldapadd up till now. Thanx so much! BTW, I accidently used an older version of slapadd at first (2.2.13) and I get the following error: # slapadd -f /etc/openldap/slapd.conf -l base.ldif

Re: how to create db files

2007-05-25 Thread Howard Chu
Quanah Gibson-Mount wrote: --On May 25, 2007 11:32:48 AM -0700 Craig [EMAIL PROTECTED] wrote: Uh... it won't start without the id2entry file: Checking configuration files for : bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2) This is just coming from a

Re: how to create db files

2007-05-25 Thread Craig
Sorry, I had only used ldapadd up till now. Thanx so much! BTW, I accidently used an older version of slapadd at first (2.2.13) and I get the following error: # slapadd -f /etc/openldap/slapd.conf -l base.ldif /etc/openldap/schema/core.schema: line 366: AttributeType not found: description

2.3 slapd_db_recover

2007-05-25 Thread Craig
I had been using openldap 2.2.13 installed via yum. I installed 2.3.35 via src. But, I don't see slapd_db_recover (or any of the related apps; slapd_db_checkpoint, slapd_db_dump, etc.) I also did a search thru the 2.3.35 src files and I don't see any special configure/make flags that builds

server startup overhead

2007-05-25 Thread Eric Irrgang
I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you perform a search with

Re: 2.3 slapd_db_recover

2007-05-25 Thread Quanah Gibson-Mount
--On May 25, 2007 12:09:58 PM -0700 Craig [EMAIL PROTECTED] wrote: I had been using openldap 2.2.13 installed via yum. I installed 2.3.35 via src. But, I don't see slapd_db_recover (or any of the related apps; slapd_db_checkpoint, slapd_db_dump, etc.) I also did a search thru the 2.3.35 src

Re: 2.3 slapd_db_recover

2007-05-25 Thread Quanah Gibson-Mount
--On May 25, 2007 1:53:04 PM -0700 Craig [EMAIL PROTECTED] wrote: Hmm... it seems related: $ slapd_db_recover blah usage: db_recover [-ceVv] [-h home] [-P password] [-t [[CC]YY]MMDDhhmm[.SS]] (I am assuming it is related because the useage line refers to db_recover and not

Re: 2.3 slapd_db_recover

2007-05-25 Thread Craig
Hmm... it seems related: $ slapd_db_recover blah usage: db_recover [-ceVv] [-h home] [-P password] [-t [[CC]YY]MMDDhhmm[.SS]] (I am assuming it is related because the useage line refers to db_recover and not slapd_db_recover.) However, they are not identical: $ ll /usr/bin/db_recover

Re: how to create db files

2007-05-25 Thread Craig
Howard Chu wrote: Quanah Gibson-Mount wrote: --On May 25, 2007 11:32:48 AM -0700 Craig [EMAIL PROTECTED] wrote: Uh... it won't start without the id2entry file: Checking configuration files for : bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2) This

referential integrity

2007-05-25 Thread Emmanuel Dreyfus
Hello I have been reading the docs, looking for a way to acheive referential integrity as it is done in RDBMS. For instance, if I want to constraint the value of atribute title to a set of value, so that any modification to a value not in the list would be denied. Let's say the set of legal

Re: server startup overhead

2007-05-25 Thread Adam Tauno Williams
I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you perform a search

Re: server startup overhead

2007-05-25 Thread Howard Chu
Eric Irrgang wrote: I continue to have trouble with getting a freshly started server to be responsive. One problem in particular is one that I thought had been resolved some time ago but is apparently biting me right now... With the hdb backend (at least in OL 2.3.34 and OL 2.3.35) if you

Re: server startup overhead

2007-05-25 Thread Howard Chu
Eric Irrgang wrote: Is there a way (with or without attaching a debugger) to find out what my IDL cache and DN cache is doing? Using a debugger, set a breakpoint inside any of the backend functions. When the bdb pointer is set up, print out its data. The bdb-bi_cache structure records all

Re: referential integrity

2007-05-25 Thread Howard Chu
Emmanuel Dreyfus wrote: Hello I have been reading the docs, looking for a way to acheive referential integrity as it is done in RDBMS. For instance, if I want to constraint the value of atribute title to a set of value, so that any modification to a value not in the list would be denied.

Re: referential integrity

2007-05-25 Thread Emmanuel Dreyfus
Howard Chu [EMAIL PROTECTED] wrote: Write a new overlay to do what you want... Right, I just wanted confirmation that 1) nothing exists yet to do it 2) the idea is not heretic I'll have a look at it. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz [EMAIL PROTECTED]

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Well, once an (objectclass=*) search finishes the ou=people,dc=basedn searches run fast again. Unfortunately it takes over half an hour to run the first time and I have to make sure that during that time no one has access to cause extra threads to start searching. On Fri, 25 May 2007, Eric

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Searching for objectclass=* and only asking for the entryDN attribute is almost an order of magnitude faster than searching for everything. I like the idea of searching for a non-existent value of an unindexed attribute. It is 40% faster than the objectclass=* search (down to 16 minutes) but

Re: server startup overhead

2007-05-25 Thread Eric Irrgang
Is there a way (with or without attaching a debugger) to find out what my IDL cache and DN cache is doing? -- Eric Irrgang - UT Austin ITS Unix Systems - (512)475-9342