[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-ldap-dev
Subject:    Re: problem when parsing a ldif file
From:       Mike Jackson <mj () sci ! fi>
Date:       2004-11-08 18:37:34
Message-ID: 418FD634.9060908 () sci ! fi
[Download RAW message or body]

Aurelien Magniez wrote:
> Hi,
> 
> I'm trying to parse with the Net::LDAP::Schema module
> the following file and I can't retrieve all the
> attributes and objectclasses in this file with the
> all_attributes function for example.
> 
> dn: cn=Login Server (portal30_sso)
> cn: Login Server (portal30_sso)
> description: Central Authentication Authority
> objectClass: top
> objectClass: applicationProcess

Hi,
  That is not a schema file, it's an LDIF file full of objects. You can try to parse that file with 
Net::LDAP::LDIF.

  May I ask from which type of LDAP server you exported that file?

BR,
--
mike
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic