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

Re: invalid syntax on pwdPolicy object add



On Mon, Sep 13, 2010 at 5:07 PM, Julien Vehent <julien@linuxwall.info> wrote:
>
> On Mon, 13 Sep 2010 13:12:15 +0200, Emmanuel Lecharny <elecharny@gmail.com> wrote:
>>>
>>> On Mon, 13 Sep 2010 11:34:56 +0200, Emmanuel Lecharny<elecharny@gmail.com>  wrote:
>>>>> On Mon, 13 Sep 2010 10:52:03 +0200, Christian Manal<moenoel@informatik.uni-bremen.de>   wrote:
>>>>>> Hi,
>>>>>>
>>>>>> pwdPolicy is an auxiliary objectClass. You have to use it in conjunction
>>>>>> with a structural objectClass. Look at the example from the admin guide:
>>>>>>
>>>>>> <http://www.openldap.org/doc/admin24/overlays.html#Password%20Policies>
>>>>>>
>>>>>>
>>>>> Hi
>>>>>
>>>>> I've tried to use add the 'person' object (core.schema is loaded), but I still obtain the same error
>>>> Also include the schema :
>>>>
>>>>     |include         /opt/symas/etc/openldap/schema/ppolicy.schema|
>>>>
>>>> in slapd.conf.
>>> Hi,
>>>
>>> > From my first email, ppolicy.schema is included:
>>>
>>> ---
>>> include         /etc/ldap/schema/ppolicy.schema
>>
>> Uhhh.. My bad.
>>
>> Check that you don't have extra space/tabs at the end of the ObjectClass attributeType in your ldif file.
>>
>> Which version of OpenLDAP are you using ?
>
>
> # slapd -V
> @(#) $OpenLDAP: slapd 2.4.23 (Aug 26 2010 18:33:04) $
>        root@monster:/tmp/buildd/openldap-2.4.23/debian/build/servers/slapd
>
>
> It's not a space/tab problem, and I've tried to put the request in an ldif file and insert it, with the same result.
> It's definitely a constraint that's not satisfied... but which one ??

think it is reproducible cause I have got the same error when I
followed the above steps
'error code 21 - pwdAttribute: value #0 invalid per syntax'

I have built OpenLDAP version 2.4.23 on Ubuntu 9.04 with berkeley db
version 4.7.25

Kiran Ayyagari