Hi, list
Still a genuine noob.. ;P
I'm working on a brand new shema to store my app's data .. What do you guys use to do when working on a 'new' directory ?
a) work on a shema file / restart server b) work on a shema file / reload to cn=config c) edit cn=config /
a) could be ok .. a little brutal but ... b) sounds tedious c) what tool do you use ?
Thx.
LP
Lorenzo Pastrana - Happy End Vision -------------------------- Design web Conception multimédia Communication visuelle et édition -------------------------- Tél. : 01 42 47 83 09 Fax : 01 47 70 70 19 E-mail : lorenzo.pastrana@happyend.fr
Lorenzo Pastrana wrote:
I'm working on a brand new shema to store my app's data .. What do you guys use to do when working on a 'new' directory ?
a) work on a shema file / restart server
That's what I'm doing. Sometimes deleting all the entries in the database is needed until it's finished.
A text editor for editing the schema, web2ldap to create test entries and examine the schema on the running DSA.
Ciao, Michael.
On Thu, 2008-12-18 at 16:52 +0100, Michael Ströder wrote:
Lorenzo Pastrana wrote:
I'm working on a brand new shema to store my app's data .. What do you guys use to do when working on a 'new' directory ?
a) work on a shema file / restart server
That's what I'm doing. Sometimes deleting all the entries in the database is needed until it's finished.
Ok ... same same here ..
A text editor for editing the schema, web2ldap to create test entries and examine the schema on the running DSA.
I'll look at that ...
Thanks, LP.
Lorenzo Pastrana - Happy End Vision -------------------------- Design web Conception multimédia Communication visuelle et édition -------------------------- Tél. : 01 42 47 83 09 Fax : 01 47 70 70 19 E-mail : lorenzo.pastrana@happyend.fr
On Thu, Dec 18, 2008 at 03:35:17PM +0100, Lorenzo Pastrana wrote:
I'm working on a brand new shema to store my app's data .. What do you guys use to do when working on a 'new' directory ?
a) work on a shema file / restart server
Yes - much the easiest. I usually set up a test server with all files relative to the working directory so that the development is self-contained. It is often necessary to clear out and rebuild the database so I have scripts for that.
I keep an LDIF file with the structural entries to reload when rebuilding, and one or more LDIFs with example data for testing.
Tests get written in Perl using Net::LDAP and Test::Simple - especially useful for ACL tests.
I use jxplorer or similar for schema and tree browsing.
Andrew
On Thu, 2008-12-18 at 16:45 +0000, Andrew Findlay wrote:
I keep an LDIF file with the structural entries to reload when rebuilding
btw, I've been reading RFCs some hints on "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" but couldn't find no real answer.
Still in need of lots of references .
Thanks.
LP
Lorenzo Pastrana - Happy End Vision -------------------------- Design web Conception multimédia Communication visuelle et édition -------------------------- Tél. : 01 42 47 83 09 Fax : 01 47 70 70 19 E-mail : lorenzo.pastrana@happyend.fr
On Thu, 2008-12-18 at 19:35 +0100, Hallvard B Furuseth wrote:
Not sure what the question is, but it sounds like RFC 4512 section 2.4 is supposed to contain the answer.
Arf... case sensitive button was stuck in my search bar and skipped directly to 4.1.1...
I'll be reading this ..
Thanks.
Lorenzo Pastrana - Happy End Vision -------------------------- Design web Conception multimédia Communication visuelle et édition -------------------------- Tél. : 01 42 47 83 09 Fax : 01 47 70 70 19 E-mail : lorenzo.pastrana@happyend.fr
On Thu, Dec 18, 2008 at 06:33:58PM +0100, Lorenzo Pastrana wrote:
I keep an LDIF file with the structural entries to reload when rebuilding
btw, I've been reading RFCs some hints on "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" but couldn't find no real answer.
I was referring to the main part of the directory information tree structure rather than to the type of objectclass...
On objectclasses:
Every entry must have a STRUCTURAL objectclass and you cannot change it once the entry has been created.
Entries may also have AUXILIARY object classes. This is a handy way of adding extra characteristics for your own applications.
The only ABSTRACT classes are 'top' and 'alias' and you don't really need to worry about either of them.
Andrew
On Thu, Dec 18, 2008 at 3:35 PM, Lorenzo Pastrana lorenzo.pastrana@happyend.fr wrote:
c) edit cn=config /
I'm doing this and use "ldapvi", but actually any ldap client is fine.
openldap-technical@openldap.org