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

Re: boolean attributes



What does your ldif look like?

I made an ldif and it worked fine for me just specifying the boolean value
as TRUE.

example -
dn: cn=test,o=test,c=us
objectclass: top
objectclass: testobject
cn: test
prodFlag: TRUE


-----
pwilson


> hello,
>
> i defined an attribute like this:
>
> ---snip---
> attributetype ( 10628.1.2.1.9 NAME 'prodFlag'
>         DESC 'Flag to distinguish development and productiv state of an
> application instance'
>         EQUALITY booleanMatch
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
> ---snip---
>
> however, with ldapadd i always get:
>
>
> ldap_add: Invalid syntax
>         additional info: prodFlag: value #0 invalid per syntax
>
>
> regardless whether i use yes/YES/1/on/ON/TRUE/true
>
> what's up here?
>
> greetings
> jochen
> --
> Jochen Witte
> Professional System Engineering Services
> Sonnenburger Str. 68 | 10437 Berlin
> email: jochen.witte@alpha-lab.net | www: www.alpha-lab.net
> fon: +49-30-44043292 | mobil: +49-178-2471300
> pgp-fingerprint: E776 05FC 1DDD DE68 5B8BÂ 4D03 B113 2D76 6135 D10E
> keyserver: http://www.keyserver.net