You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Tony Thompson <To...@stone-ware.com> on 2008/03/14 20:43:32 UTC

Attribute Syntax in Apache 1.5.1

I have a custom schema installed in Apache 1.5.1.  One of the attributes
has a syntax of 1.3.6.1.4.1.1466.115.121.1.34.  When I try to add that
attribute to an object, I get an exception like this:
 
[LDAP: error code 21 - failed to modify entry
cn=parent_grp,ou=swExternal-Users: Attribute value
'CN=wN5e-Calculator-Component,OU=stoneware,dc=stoneware,dc=stone2,dc=org
#0000000b00000001' for attribute 'swarecomponentlayout' is syntactically
incorrect]; remaining name 'cn=parent_grp,ou=swExternal-Users'
 
This worked fine in 1.0.2.  I cannot get it to work in 1.5.1 even with
an LDAP browser.  The attribute is assigned through an AUX class.  Any
thoughts?
 
Thanks
Tony
 
This message (and any associated files) is intended only for the 
use of the individual or entity to which it is addressed and may 
contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient 
you are hereby notified that any dissemination, copying or 
distribution of this message, or files associated with this message, 
is strictly prohibited. If you have received this message in error, 
please notify us immediately by replying to the message and deleting 
it from your computer. Messages sent to and from Stoneware, Inc.
may be monitored.

Re: Attribute Syntax in Apache 1.5.1

Posted by Emmanuel Lecharny <el...@gmail.com>.
Tony Thompson wrote:
> I have a custom schema installed in Apache 1.5.1.  One of the attributes
> has a syntax of 1.3.6.1.4.1.1466.115.121.1.34.  When I try to add that
> attribute to an object, I get an exception like this:
>  
> [LDAP: error code 21 - failed to modify entry
> cn=parent_grp,ou=swExternal-Users: Attribute value
> 'CN=wN5e-Calculator-Component,OU=stoneware,dc=stoneware,dc=stone2,dc=org
> #0000000b00000001' 

...dc=org#0000000b00000001'
          ^      ^         ^
          |      |         +--- Missing 'B' here
          |      +--- Unexpected 'b' here
          +--- missing "'" here

So basically, your attribute's value is incorrect.


FYI, ADS 1.0 was not checking attribute value syntax, while ADS 1.5 is.



-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org