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

Re: OpenLDAP 2.4.16: can not add multiple 'member' attributes to object groupOfNames

O. Hartmann wrote:
> Michael Ströder wrote:
>> O. Hartmann wrote:
>>> I try to add multiple member attributes to an object of type
>>> groupOfNames and I fail. The same is for objectClass groupOfUniqueNames.
>>> Whenever I try to add the multi-attribute, I receive an error like
>>> 'info: member: value #1 invalid per syntax, dec: invalid syntax'. I can
>>> add exactly one attribute of type 'member' for this object.
>> This diagnostic message says that the 2nd value does not conform to the
>> syntax, here 'DistinguishedName' for attribute type 'member'. Maybe you
>> could post the data you're trying to add?
> Yes, indeed, I tried 'dummy' values and then it worked. Well, why is
> "member: port=5432" syntactically invalid?

This is likely because attribute 'port' is not defined in your subschema.

> I follow the guideline in the
> PostgreSQL 8.4 handbook for LDAP authentication (found here:
> http://www.postgresql.org/docs/8.4/interactive/libpq-ldap.html) and
> since objectclass:groupOfUniqueNames is supposed to be bogus in OpenLDAP
> 2.4 I tried changing it. Strange.

Using 'groupOfNames' is just fine.

Ciao, Michael.

Michael Ströder
E-Mail: michael@stroeder.com