[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: attribute types in openldap

Am Mittwoch, den 31.08.2005, 09:35 -0700 schrieb Moe:
> Hi,
> I have an attribute define as:
> attributetype ( 
> NAME 'trustedLogin' 
> SYNTAX{1024} 
> How can i define an attribute with multiple values?
> I defined this  attribute as
> attributetype (
> NAME 'vipFuncarea' 
> SYNTAX{1024} )  
> But when i try to add more than one value to it i get an error :
> 0802: Could not assign 'FILTER_STANDARD' to 'cn=vipadmin,dc=local,dc=gov' because of 'javax.naming.directory.InvalidSearchFilterException: [LDAP: error code 18 - modify/add: vipFuncarea: no equality matching rule]; remaining name 'cn=vipadmin''.
> 0341: Could not assign FILTER_STANDARD to vipadmin. Possibly, this assignment already exists, or there is a problem in the database/LDAP server.

if you really read the error message, it is pretty obvious what's going
wrong: you did not provide any equality matching rule in your attribute
definition, such as  
"EQUALITY caseIgnoreIA5Match"

any search operation will fail, if your attribute lacks EQUALITY (and
depending in the underlying data type SUBSTR) definitions.

besides this your definition is correct.


BestSolution.at EDV Systemhaus GmbH

> Thanks
> Moe
> ---------------------------------
>  Start your day with Yahoo! - make it your home page