Can't call method "attribute" on an undefined value at ldap-csvexport.pl...
Brought to you by:
benih
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
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.
Hello,
what was the fix you applied? Is it relevant for upstream?
What LDAP server product are you using?
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
Hi there,
just released 1.6.1 which should fix your issue.
Am 2015-01-30 14:17, schrieb CT Paddler:
I just uploaded 1.6.1 which should fix your issue.
Please test this and report back.
Thank you!
(marked as fixed as i think 1.6.1 corrects this issue (bug related #6). please reopen if it persists.)
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.