[Samba] Can't locate Net/LDAP.pm in @INC
Paul Gienger
pgienger at ae-solutions.com
Thu Aug 12 19:36:34 GMT 2004
Sp0oKeR Labs wrote:
> Try
> #perl -MCPAN -e 'install Net::LDAP'
>
>
Perhaps a more universal answer for posterity...
The smbldap-tools package requires that you have LDAP support in your
perl installation. If you are using an RPM based linux distribution you
could try to search your RPM repository for a perl-ldap package (Fedora
Core 2 has one, that's the only linux distro I have on hand ATM) since
it's better to use rpm whenever you can in a rpm system. This will also
make sure that you get the module where the system wants it as
apparently you may be having a problem there.
If you don't have a package available, or you're using a non-rpm based
thing like Solaris (eww) then by all means, mcpan it as given above.
Also, once you're done with that, make sure you configure the
smbldap-tools package to work with your setup. There's some other steps
you've missed, or forgot to mention, like the one where you should join
your samba box to your existing NT4 domain and vampire off the users...
perhaps a read through the docs on samba.org would help here...
>Best Regards,
>
>Sp0oKeR
>
>On Thu, 12 Aug 2004 12:05:20 -0700 (PDT), Pari <pari005 at yahoo.com> wrote:
>
>
>>Hi guys,
>>
>> I am trying to migrate my NT 4 users to samba and these are the steps that I used for installing samba.
>>
>>BerkeleyDB
>> ../dist/configure --prefix=/usr
>> make
>> make install
>>
>>MIT Kerberos
>>../configure --prefix=/usr
>>make
>>make install
>>make check
>>
>>OpenSSL
>>../config --openssldir=/usr
>>make
>>make install
>>
>>Cyrus SASL
>>cd cyrus-sasl-2.1.19
>>../configure --prefix=/usr --with-dbpath=/usr/etc/sasldb2 --with-dblib=berkeley --with-bdb-libdir=/usr/lib --with-bdb-incdir=/usr/include --with-openssl=/usr --with-plugindir=/usr/lib/sasl2
>>make
>>make install
>>
>>OpenLDAP
>>env CPPFLAGS=�-I/usr/include� LDFLAGS=�-L/usr/lib� ./configure --prefix=/usr --libexecdir=/usr/sbin --libdir=/usr/lib --includedir=/usr/include --with-cyrus-sasl --enable-slapd --enable-slurpd --enable-bdb
>>make depend
>>make
>>make test
>>make install
>>
>>Samba
>>../configure --prefix=/usr --with-winbind --with-winbind-auth-challenge --with-acl-support --with-ads
>>make
>>make install
>>cp /install/samba-3.0.5/packaging/RedHat/smb.conf /usr/lib
>>
>>Now, after I run the ./smbldap-populate.pl script, i get the following error:
>>
>>Can�t locate Net/LDAP.pm in @INC (@INC contains: /var/lib/samba/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 .) at /var/lib/samba/sbin//smbldap_tools.pm line 5.
>>BEGIN failed�compilation aborted at /var/lib/samba/sbin/smbldap_tools.pm line 5.
>>Compilation failed in require at ./smbldap-populate.pl line 34.
>>BEGIN failed�compilation aborted at ./smbldap-populate.pl line 34
>>
>>I tried installing the CPAN module too from www.cpan.org, still doesnt help.
>>
>>Can someone throw light on what im missing here ?
>>
>>Regards,
>>Pari
>>Intel Corporation
>>
>>
>>---------------------------------
>>Do you Yahoo!?
>>Express yourself with Y! Messenger! Free. Download now.
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions: http://lists.samba.org/mailman/listinfo/samba
>>
>>
>>
>
>
>
>
--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc.
Information Systems Consultant Fax: 701-281-1322
URL: www.ae-solutions.com mailto: pgienger at ae-solutions.com
More information about the samba
mailing list