#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Posts
    1
    Rep Power
    0

    Can't locate Net/LDAP.pm


    hi all Iam tryning to configure an PDC primary domain control using ldap v3 and samba 3 i have installed openldap openldapservers and openldapclient for ldap and smba client ,samba server and samba common for paqutages samba also nss-ldap and pam-ldap .
    for managing groups and users i have installed smbaldap-tools
    when i typed the following command
    smbldap-useradd -a test1
    an error messages indicates Can't locate Net/LDAP.pm in @INC (@INC contains: /usr/sbin/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin//smbldap_tools.pm line 4.
    BEGIN failed--compilation aborted at /usr/sbin//smbldap_tools.pm line 4.
    Compilation failed in require at /usr/sbin/smbldap-useradd line 32.
    BEGIN failed--compilation aborted at /usr/sbin/smbldap-useradd line 32
    Can't locate Net/LDAP.pm in @INC (@INC contains: /usr/sbin/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi


    please who can help me for resoving this
    best regards
    boudeggamehdi
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    1
    Rep Power
    0
    have you tried simply installing it using cpan?

    from command line as root:
    1.cpan
    you will most likely have to configure
    2. install Net::LDAP

    also check your paths to see if the module is located in them perl -catv should show you the paths related to your perl installation

    hope this is some help

IMN logo majestic logo threadwatch logo seochat tools logo