Discussion:
[Openinteract-dev] SPOPS::LDAP does not allow "0" as a RDN
Kutter Martin
2004-08-05 06:19:06 UTC
Permalink
Hi * !

SPOPS::LDAP does not allow ID values to be "0", even though "0" is a valid
value for
LDAP RDNs.

This is due to some lines checking for a *set* ID when building up DNs, and
checking it with

unless ($id_value)

This test fails when an ID value is set, but is set to a false value.
The attached patch fixes the issue.

BTW: I would have preferred loading up the patch to the jira system, but
openinteract.org seems to have disappeared from DNS.

Regards,

Martin Kutter

Loading...