Menu

#4 Can't call method "attribute" on an undefined value at ldap-csvexport.pl line 23 8, <DATA> line 751

None
closed
None
5
2015-02-01
2015-01-27
CT Paddler
No

Using ldap-csvexport successfully on an ldap server. When switching to an alternate ldap server I get the error listed below. The program can make a connection to the ldap server because I can run it using the special "dn" attribute. But it errors when trying to use cn, mail, or other common atttribute. Any assistance would be greatly appreciated.

Can't call method "attribute" on an undefined value at ldap-csvexport.pl line 23
8, <DATA> line 751

Discussion

  • CT Paddler

    CT Paddler - 2015-01-29

    I was able to modify the perl code to work with my LDAP server. Thank you to everyone that contacted me privately. Ok to close ticket.

     
  • Benedikt Hallinger

    Hello,
    what was the fix you applied? Is it relevant for upstream?

    What LDAP server product are you using?

     
  • CT Paddler

    CT Paddler - 2015-01-30

    I changed line 238 from
    "my $a_href = $ldap_schema->attribute($a);"
    to
    "my $a_href = 1 ;"

    Running VDS LDAP on Microsoft Windows 2008 R2

     
    • Benedikt Hallinger

      Hi there,
      just released 1.6.1 which should fix your issue.

      Am 2015-01-30 14:17, schrieb CT Paddler:

      I changed line 238 from
      "my $a_href = $ldap_schema->attribute($a);"
      to
      "my $a_href = 1 ;"

      Running VDS LDAP on Microsoft Windows 2008 R2

      CAN'T CALL METHOD "ATTRIBUTE" ON AN UNDEFINED VALUE AT LDAP-CSVEXPORT.PL
      LINE 23 8, <DATA> LINE 751

      STATUS: open
      GROUP:
      CREATED: Tue Jan 27, 2015 10:09 PM UTC by CT Paddler
      LAST UPDATED: Fri Jan 30, 2015 08:52 AM UTC
      OWNER: nobody

      Using ldap-csvexport successfully on an ldap server. When switching to an
      alternate ldap server I get the error listed below. The program can make a
      connection to the ldap server because I can run it using the special "dn"
      attribute. But it errors when trying to use cn, mail, or other common
      atttribute. Any assistance would be greatly appreciated.

      Can't call method "attribute" on an undefined value at ldap-csvexport.pl
      line 23
      8, <DATA> line 751


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ldap-csvexport/support-requests/4/ [1]

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/ [2]

      [1] https://sourceforge.net/p/ldap-csvexport/support-requests/4
      [2] https://sourceforge.net/auth/subscriptions

       
  • Benedikt Hallinger

    I just uploaded 1.6.1 which should fix your issue.
    Please test this and report back.

    Thank you!

     
  • Benedikt Hallinger

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

    (marked as fixed as i think 1.6.1 corrects this issue (bug related #6). please reopen if it persists.)

     
  • Benedikt Hallinger

    • status: pending --> closed
     
  • CT Paddler

    CT Paddler - 2015-02-01

    I tested 1.6.1 against my VDS LDAP server and it ran very slow and did not return all the expected rows. I am planning to continue using 1.6.

     

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.