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

Re: attribute types in openldap



> How can i define an attribute with multiple values?
> I defined this  attribute as
> attributetype ( 1.3.6.1.4.1.2027.2.1.4
> NAME 'vipFuncarea'
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{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];

read the error message: to perform a modify/add, your attribute needs an
equality matching rule, and your attribute doesn't provide any.  The only
other possibility you have is, instead of doing a modify/add, to do a
modify/replace with the old value(s) plus the new one(s) all at once.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497