Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1226 Net::LDAP module problem

1.100
closed
Jamie Cameron
7
2003-11-19
2003-07-18
matt bednarik
No

I have 2 systems which run Webmin 1.100 and i have
the asme problem on both of them. One is Yellow Dog
Linux 2.3 on PPC and the other is Freebsd 5.0 RELEASE
on ALPHA. I tried to install the Net::LDAP perl modules
from webmin and it said i was missing some other
modules, so i went to counsol and installed all of the
missing modules that needed to be installed. Then i tried
to install the Net::LDAP module again and it said that
the install was sucessful. I tried to access the LDAP
Users and Groups module and it still says that the
modules is not installed. So i went to counsol and
installed the Net:LDAP module and no error showed up.
Still when i try to use the module it says you need the
Net:LDAP module to continue, is this a bug in webmin? I
am using the perl that came with my os, which is
probably 5.6.1 or some where around there, i know it is
not 5.8 series.

Discussion

1 2 > >> (Page 1 of 2)
  • Jamie Cameron
    Jamie Cameron
    2003-07-19

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2003-07-19

    Logged In: YES
    user_id=129364

    Try running perl -e 'Net::LDAP' at the command line to see what the real
    problem with it is. Unfortunately, it is possible for that Perl module to be
    installed, but still not work properly ..
    Future webmin versions will show the error in more detail.

     
  • matt bednarik
    matt bednarik
    2003-08-05

    Logged In: YES
    user_id=571005

    I tried doing the perl -e "Net::LDAP' and it did nothing. I
    typed it in and nothing happened, is there something wrong
    with my perl installation?

     
  • matt bednarik
    matt bednarik
    2003-08-05

    • status: closed --> open
     
  • matt bednarik
    matt bednarik
    2003-08-06

    • priority: 5 --> 7
     
  • Jamie Cameron
    Jamie Cameron
    2003-08-06

    Logged In: YES
    user_id=129364

    I've just discovered that you may also need to Convert::ASN1 module,
    which Net::LDAP depends upon but annoyingly doesn't include in its proper
    list of dependencies.

     
  • Tom Brough
    Tom Brough
    2003-11-18

    Logged In: YES
    user_id=911942

    I was experiencing similar problems with my webmin on a RH
    7.2 / Fedora Release. In the latest version of Net::LDAP the
    get_value method has been depricated.

    The new method is get. Changing all references
    from "get_value" to "get" helped. However another feature is
    that the new get method always returns an array (even if
    there is only a single item). This means that you need to
    change $myref->get_value('something') to ${$myref->get
    ('something')}[0];

    Well I maybe wrong but it seems to be working for me now
    that I have changed the code.

     
  • Jamie Cameron
    Jamie Cameron
    2003-11-19

    Logged In: YES
    user_id=129364

    I just downloaded the latest Net::LDAP perl module, and the
    documentation still mentions the get_value function, and it
    seems to work OK.
    Which version of Net::LDAP are you using?

     
  • Tom Brough
    Tom Brough
    2003-11-19

    Logged In: YES
    user_id=911942

    Ooops, I think I goofed !, didnt notice that there is perl-ldap-
    0.15 and a 0.30 version, I used 0.15, I will try 0.30 and see
    what happens.

     
  • Tom Brough
    Tom Brough
    2003-11-19

    Logged In: YES
    user_id=911942

    Yep I compiled the 0.30 version and installed it, put the
    scripts back and everything is ok.

     
1 2 > >> (Page 1 of 2)