From: Graham B. <gb...@po...> - 2002-04-04 06:16:54
|
The schema module is one that will be changing in the next release. IIRC this is a bug with parsing - in names. Attached is my developemnt version of Schema.pm and Schema.pod, the API is different. It would be useful if others could also test this. I will be doing a beta release of perl-ldap as soon as my day job permits, which will also have changes to the DSML to be a SAX parser. Graham. On Wed, Apr 03, 2002 at 06:46:18PM -0700, Ken Miller wrote: > > I've just started using Net::LDAP, and I've run into a problem when trying > to communicate with 'the' test Novell NDS/LDAP server. Here's my test > program: > > use Net::LDAP; > > my $ldap = new Net::LDAP( 'www.nldap.com' ) or die( $! ); > $ldap->bind( '.admin.andawyr.user.novell', password => 'QWERTY' ) || die( > "$!" ); > my $schema = $ldap->schema() || die( "$!" ); > $schema->dump if( $schema ); > > I get this error message: > > Cannot parse [( 2.16.840.1.113719.1.55.4.1.1 NAME 'newObjectSDSRights' DESC > 'Standard Attribute' SYNTAX 2.16.840.1.113719.1.1.5.1.17 X-NDS_NAME 'New > Object's DS Rights' X-NDS_NOT_SCHED_SYNC_IMMEDIATE '1' )] ' ) at > /home/miller/lib/perl5/site_perl/5.6.1/Net/LDAP/Schema.pm line 498. > > I'm not familiar enough with the LDAP schema to understand what's broken > with the above statement, or with the matching expressions in Schema.pm. > > -klm. > > ------------------------------- > Kenneth L. Miller, Consultant > Shetland Software Services Inc. > kl...@sh... > > |