1830214 Members
1344 Online
109999 Solutions
New Discussion

Re: smbldap-problem

 
suvo
New Member

smbldap-problem

Hello All,

I am was trying to configure SAMBA-OPENLDAP as my pdc but unfortunately
when I
run the smbldap-populate, I get the following error any resolution?


[root@tech ~]# smbldap-populate
Populating LDAP directory for domain VITAGE-NT
(S-1-5-21-4205727931-4131263253-1 851132061)
(using builtin directory structure)


Can't locate IO/Socket/SSL.pm in @INC (@INC contains: /sbin//
/usr/lib/perl5/5.8 .5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i 386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /u
sr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5. 8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-mul ti
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_pe rl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/ perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5. 8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread- multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/ve ndor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-li nux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/l
ib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5. 8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/p erl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_pe rl/5.8.0
/usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.5/Net/L
DAP.pm line 920.
[root@tech ~]#


Any resolution????


Regards,
Suvo


3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: smbldap-problem

Shalom Suvo,

I don't even see an error code. Take a look at line 920 of the script and see what it does and if anything ismissing.

Before that, run again:

After:

echo $?

If its zero, its a successful run.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: smbldap-problem

You don't have the requiered PERL module "IO/Socket/SSL.pm". Download the rpm to install the module, for example:

perl-IO-Socket-SSL-version.noarch.rpm

Or configure your scripts to not use SSL/TLS.

You can aso use:

perl -M cpan -e shell

To install perl modules.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alexander Chuzhoy
Honored Contributor

Re: smbldap-problem

You have the following error:
"Can't locate IO/Socket/SSL.pm in @INC".
@INC is a search path for libraries,modules,etc. Thus a required module can't be found.

Download it from:
http://search.cpan.org/~sullr/IO-Socket-SSL-1.01/SSL.pm

extract the tgz file, cd into the extracted folder and follow these steps:
perl Makefile.PL
make
make test
make install

Generally the above steps are written in the README file.