Regarding the RDN value presentation, I see that as an orthogonal issue.
it has nothing to do with long DNs or not. So I dont want to mix the two
issues.
With the an adjusted and simplified API for ccbObjectCreate (ticket #38
which is included in the new SaStringT based imm API #643), there is
no need any more for accessing the RDN attribute value.
Alternative presentation of the RDN attribute value (in accessor-get
and search-next) is tracked by #38.
Fortunately, the RDN attribute is not stored in the XML format,
which makes sense since it is totally redundant.
---
** [tickets:#643] IMM: API that replaces SaNameT with SaStringT and
SA_IMM_ATTR_DN**
**Status:** review
**Milestone:** 4.5.FC
**Created:** Thu Nov 28, 2013 05:00 PM UTC by Anders Bjornerstedt
**Last Updated:** Thu Apr 03, 2014 12:31 PM UTC
**Owner:** Anders Bjornerstedt
The IMM service should provide an updated API where all use of the troublesome
SaNameT type is replaced by the SaStringT type or the SaConstStringT type #625.
Also needed is a new flag value for attribute definitions: SA_IMM_ATTR_DN.
Defining an attribute in an IMM class definition on the SaStringT type and
also setting the flag SA_IMM_ATTR_DN, will mean that the attribute is intended
to hold a value that should be a DN.
Other flags that make sense to also set on such an attribute definition where
applicable are:
SA_IMM_ATTR_RDN if this is the RDN attribute. Just as having SaNameT the
type of an RDN attribute indicates that the class is an association class,
having SaStringT and SA_IMM_ATTR_DN combined with SA_IMM_ATTR_RDN would
also indicate that this is an association class.
SA_IMM_ATTR_NO_DANGLING. Currently (OpenSAF 4.4) will only be allowed
on attributes of type SaNameT, but will of course be allowed also on
attributes of type SaStringT if the SA_IMM_ATTR_DN flag is also set.
All the other flags may also be used in combination with SA_IMM_ATTR_DN, with
the normal meaning.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets