[Samba] Can't locate Net/LDAP.pm in @INC
Pari
pari005 at yahoo.com
Thu Aug 12 19:05:20 GMT 2004
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:
Cant 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 failedcompilation aborted at /var/lib/samba/sbin/smbldap_tools.pm line 5.
Compilation failed in require at ./smbldap-populate.pl line 34.
BEGIN failedcompilation 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.
More information about the samba
mailing list