>>>>> "Claude" == Claude <[EMAIL PROTECTED]> writes:
Claude> Hello,
Claude> Running the schema() method fails with an exception in Schema.pm when binding
to a
Claude> Netscape DS 6.2. It runs fine with an OpenLdap DS.
[...]
Removing the double quotes from the incriminated file, and proceeding
further, I got another exception:
Use of uninitialized value at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 433 (#1)
(W) An undefined value was used as if it were already defined. It was
interpreted as a "" or a 0, but maybe it was a mistake. To suppress this
warning assign an initial value to your variables.
Uncaught exception from user code:
Failed to parse token from value [] at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 433.
Net::LDAP::Schema::_get_one_word('\'Binder-based search operation size limit
(entries)\' SYNTAX 1....') called at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 387
Net::LDAP::Schema::_parse_item('DESC \'Binder-based search operation size
limit (entries)\' SYNT...') called at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 472
Net::LDAP::Schema::_parse_value('( 2.16.840.1.113730.3.1.571 NAME
\'nsSizeLimit\' DESC \'Binder-b...') called at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 517
Net::LDAP::Schema::_parse_schema('Net::LDAP::Entry=HASH(0x404330ec)') called
at /opt/local/bin/Perl/lib/site_perl/Net/LDAP/Schema.pm line 43
Net::LDAP::Schema::new('Net::LDAP::Schema',
'Net::LDAP::Search=HASH(0x403eb51c)') called at
/opt/local/bin/Perl/lib/site_perl/Net/LDAP.pm line 634
Net::LDAP::schema('Net::LDAP=HASH(0x40014850)') called at ./test1-1.pl line 14
The failure occurs with the following attribute definition (wrapped
and indented manually):
attributeTypes=( 2.16.840.1.113730.3.1.571 NAME 'nsSizeLimit'
DESC 'Binder-based search operation size limit (entries)'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
USAGE directoryOperation
X-ORIGIN 'Netscape Directory Server' )
What could be the problem in this case?
--
Claude