Menu

#6 Can't use an undefined value as a symbol reference at ldap-csvexport.pl line 238 , <DATA> line 751.

None
closed-fixed
LDAP (1)
5
2015-01-30
2015-01-23
CT Paddler
No

I currently use ldap-csvexport against an LDAP server without issue. A newer LDAP server with the same data is being built within my department. When asking for the same attributes I get the error listed below. The LDAP url, search path, and attributes are all valid because I can see them using SoftTerra LDAP Browser. The program works fine if I use one of the special codes line dn, rdn, or pdn.

connecting to <myserver:9389>...
checking requested attributes against schema...
Can't use an undefined value as a symbol reference at ldap-csvexport.pl line 238
, <DATA> line 751.

Discussion

  • Benedikt Hallinger

    Ticket moved from /p/ldap-csvexport/support-requests/3/

     
  • Benedikt Hallinger

    • status: open --> accepted
    • assigned_to: Benedikt Hallinger
    • Group: -->
     
  • Benedikt Hallinger

    Hello, thank you for your ticket.
    i consider this an bug in the tool caused by an exception which is not catched.
    The bug is probably triggered by your server. The line that errors tries to ask the schema of your server. This can fail if the schema could not be loaded. the current code always assumes the schema to be loadable.

    I just uploaded revision 32 of the tool to the SVN repository which introduces a test for schema loading. It will now request all attributs in case the schema could not be loaded, which should fix aour problem.
    New is also the -x switch, turning off schema cheking in all cases (like your error does).
    Please download and test: https://sourceforge.net/p/ldap-csvexport/code/HEAD/tree/ldap-csvexport.pl

    To get schema support enabled again, you should investigate why the schema is not accessible anymore. Is there a problem with your server side ACLs (like the RootDSE not readable to your bind user?)
    What ldap server software are you using now?

    [edited: found out that chaining is possible with -x in place :)]

     

    Last edit: Benedikt Hallinger 2015-01-24
  • Benedikt Hallinger

    Does it work with the SVN version?

     
  • Benedikt Hallinger

    • status: accepted --> closed-fixed
     
  • Benedikt Hallinger

    Hello CTPaddler,
    i am curious on your modification; it may be relevant for upstream.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.