Apache Directory Project - Custom Attributes

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > October 2007 > Custom Attributes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom Attributes
Okpe Pessu

2007-10-29, 1:11 pm

Hi I was wondering how I could add an entry with custom attributes not
defined in schema. Is this possible?



Thanks in advance for responding

Okpe


Stefan Zoerner

2007-10-29, 1:11 pm

Okpe Pessu wrote:
> Hi I was wondering how I could add an entry with custom attributes not
> defined in schema. Is this possible?
> Thanks in advance for responding
>
> Okpe


Hi Okpe!

I would recommend to add your custom attributes to the schema first (and
use them afterwards within your entries). For ApacheDS 1.5, this is
quite easy. An approach with examples is documented here:

http://directory.apache.org/apached...the-schema.html

Without schema checking enabled, you will easily loose integrity within
your directory data.

Please note, that we also have a user mailing list. If you have specific
questions during attribute definition, it is probably more appropriate
to post there.

http://directory.apache.org/communi...ts-and-irc.html

Greetings,
Stefan



Emmanuel Lecharny

2007-10-29, 1:11 pm

Okpe Pessu wrote:
>
> Hi I was wondering how I could add an entry with custom attributes not
> defined in schema. Is this possible?
>
>
>
> Thanks in advance for responding
>
> Okpe
>

Basically, the short answer is : no, you can't.

Every AttributeType must be declared before being used.


Okpe Pessu

2007-10-29, 1:11 pm

Thanks for your response. Seems like apacheDS 1.5 is what I need but
it's still unstable, you have any idea as to timeframe for a stable
release of version 1.5.
Okpe Pessu

-----Original Message-----
From: Stefan Zoerner [mailto:stefan-EQq9qWhC7IA@public.gmane.org]=20
Sent: Monday, October 29, 2007 11:34 AM
To: Apache Directory Developers List
Subject: Re: Custom Attributes

Okpe Pessu wrote:
> Hi I was wondering how I could add an entry with custom attributes not


> defined in schema. Is this possible?
> Thanks in advance for responding
>=20
> Okpe


Hi Okpe!

I would recommend to add your custom attributes to the schema first (and

use them afterwards within your entries). For ApacheDS 1.5, this is=20
quite easy. An approach with examples is documented here:

http://directory.apache.org/apached...lements-to-the-
schema.html

Without schema checking enabled, you will easily loose integrity within=20
your directory data.

Please note, that we also have a user mailing list. If you have specific

questions during attribute definition, it is probably more appropriate=20
to post there.

http://directory.apache.org/communi...-lists-and-irc.
html

Greetings,
Stefan



Emmanuel Lecharny

2007-10-29, 1:11 pm

Okpe Pessu wrote:
> Thanks for your response. Seems like apacheDS 1.5 is what I need but
> it's still unstable, you have any idea as to timeframe for a stable
> release of version 1.5.
> Okpe Pessu
>

Unstable does not mean that the server is unusable. It simply means that
the server list of features can evolve until 2.0.

We are really trying to release a version (even when called unstable)
which is usable. 1.5.1 is much "stable", and also much faster, than
1.0.2, trust me on that !

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com