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

Re: boolean attributes



hi,

good advise: i deleted the space behind AND BEFORE the attribute -
success. this is somehow curious, since it seemed to work in your case
(with the space before...). anyway, if i know this, i'm happy...:)


greetings
jochen

Am Don, 2003-07-10 um 16.42 schrieb Paul Wilson:
> Well, I have one idea for you... make sure their are no whitespaces of any
> kind after the word 'FALSE'.  I put a space after it and I got a similar
> error to what you posted.  Other than that, I'm out of ideas.  Valid
> values are definitely 'FALSE' and 'TRUE'.  I'm not sure about any of the
> other values you stated though.
> 
> pwilson
> 
> > hi,
> >
> > my ldif looks nearly like yours:
> >
> > ---snip---
> > dn: appName=app, ou=Instances, ou=test, o=test
> > objectClass: testobject
> > objectClass: top
> > appName: app
> > prodFlag: FALSE
> > ---snip---
> >
> >
> > Am Don, 2003-07-10 um 00.54 schrieb Paul Wilson:
> >> 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
> >>
> >>
> >>
> > --
> > Jochen Witte <jochen.witte@alpha-lab.net>
> 
> 
> 
-- 
Jochen Witte <jochen.witte@alpha-lab.net>

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil