vk  

Re: Perl Net::LDAP versions??

J Klein
Sat, 04 Aug 2001 21:59:35 -0700

Problem Update: (8/4/01)

I was actually trying to build / install perl-ldap-0.24.tar.gz.
That must have been a typo in my previous message.

I was able to find and install perl-ldap-0.15, an older
version of Net::LDAP. I then completed the VK
installation steps as per the INSTALL file.

I was able to login as manager/secret and was able to
view the VK menus. Looks good so far. However, I am
now getting the following Net::LDAP related errors
while navigating the menus . . .

-   -   -   -   -   -   -   -   -   -   -   -
Click the 'View/Modify Resellers' option --
Presented screen with empty list of resellers. This is probably normal, as
we do not yet have resellers configured within VK.

-   -   -   -   -   -   -   -   -   -   -   -
Click the 'Add New Reseller' option -- Entered name of reseller 'dnihost' in
'Add this reseller' textbox and clicked 'Add a New Reseller' button.
Click 'Change Your Password' option -- Entered new password (twice) and
chose 'Change Password' button.
Click 'Change Your Contact Email' option --
Click 'Change Default IP for new domains' option --
Click 'Find a Domain' option --
Click 'System Summary Report' option --
Click 'System Detail Report' option --

I received the following error when choosing any of the 7 options listed
above.

Software error:
Can't locate object method "get_value" via package "Net::LDAP::Entry" at
/usr/local/vk/Perl/VK.pm line 183, <ConfigFile> chunk 144.

For help, please send mail to the webmaster (root@localhost), giving this
error message and the time and date of the error.

-   -   -   -   -   -   -   -   -   -   -   -
My VK.pm lines 180-185 are as follows:

    my
      $entry = ISPlib::getOwner $ldap ;
    $self -> {Entry} = $entry ;
    $self -> {email} = $entry -> get_value ( 'email' );        # line 183
    $self -> {password} = $entry -> get_value ( 'password' ) ;
    $self -> {ip} = $entry -> get_value ( 'ip' ) ;

-   -   -   -   -   -   -   -   -   -   -   -
My <ConfigFile> (Server.config) lines 140-145 are as follows. I don't know
if VK is referring to line 144 as chunk 144 or if this is something else all
together.

erverHomeURL = http://biznetindia.com
HelpURLOrder = 20
HelpURL => http://kandalaya.org/vk/vk/FAQ/FAQ.html
PackageURLOrder = 30
ShowURLAtBottom = 1        # line 144

-   -   -   -   -   -   -   -   -   -   -   -

Tomorrow I will try different versions of Net::LDAP. I would like to find
out what versions of perl-ldap other people are sucessfully running using.

Thanks again,

J Klein
[EMAIL PROTECTED]


>> Hey everyone...
>>
>> I am trying to get VK installed for the first time
>> but got hung up on the Perl modules. I assume
>> that these are required.
>>
>> I am having trouble installing the perl Net::LDAP
>> Module. Could someone please check to see
>> which version they are using?
>>
>> I am trying to install perl-ldap-0.4.tar.gz but
>> suspect that others may be using an older version.
>> I will grab the older version if I need to.