[Samba] Can't locate Net/LDAP.pm in @INC

Pari pari005 at yahoo.com
Thu Aug 12 23:34:12 GMT 2004


Sp0oker,
 
when I try to do a "perl -MCPAN -e 'install Net::LDAP'
 
the installation hangs at this point:
 
t/00prim................ok
t/01tag..................ok
t/02seq.................ok
t/03seqof..............ok
t/04opt..................ok
t/05time................ok
t/06bigint...............ok
t/07io.....................                             (#HANGS HERE )
 
Any idea whats missing here. ?
 
Between I am running this on a RedHat 9.0 
 
Regards
Pari
 


Sp0oKeR Labs <spooker at gmail.com> wrote:
Try
#perl -MCPAN -e 'install Net::LDAP'

Best Regards,

Sp0oKeR

On Thu, 12 Aug 2004 12:05:20 -0700 (PDT), Pari 
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
> 


-- 
=========================
Sp0oKeR Labs
spooker at spooker.com.br
http://www.spooker.com.br
=========================

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!


More information about the samba mailing list