Hola Roylan,
from what I read, some Perl modules are missing...
To install them:
perl -MCPAN -e shell
cpan> install Convert::ASN1
and so on with all missing modules.
Saludos,
Martin
Roylan Suarez Reyes wrote:> Hello friends
>
> I am configuring Samba + ldap from the following tutorial:
>
> https://www.bsdwiki.de/FreeBSD_-_Samba_PDC
>
> When I run the following command:
>
> Smbldap-populate
>
> this the following error:
>
> Can't locate Convert/ASN1.pm in @INC (@INC contains: /usr/local/sbin/
/usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
/usr/local/lib/perl5/site_perl/5.8.8/Net/LDAP.pm line 12.
> BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Net/LDAP.pm line 12.
> Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/smbldap_tools.pm line 25.
> BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/smbldap_tools.pm line 25.
> Compilation failed in require at /usr/local/sbin/smbldap-populate line 31.
> BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-populate line
31.
>
>
>
>
--
Martin Mielke - martin.mielke@casino.com
Sr. SysAdmin at Casino.com
p: +34 956785288 | f: +34 956794081 | m: +34 677509693
w: http://www.casino.com/
The contents of this email and any attachments are for the intended recipient(s)
only. This email may contain proprietary, confidential, or otherwise private
information belonging to Casino.com (hereafter referred to as ?The Company?) or
its affiliates. The Company does not take any responsibility for, or endorse any
information which does not relate to its official business, including personal
mail and/or opinions by senders whether or not they are employed by The Company.
If you receive a message that was not intended for you, please notify the sender
immediately (or forward the email to privacy@casino.com). Do not read, use or
disclose the contents in any way and delete the message immediately.
The Company will take reasonable precautions but cannot ensure that this e-mail
and any attachments will be free of errors, viruses, interception or
interference. Therefore The Company can not be held liable for any loss or
damages incurred by you which have been caused by any of the foregoing. No
undertaking, guarantee or other obligation contained in this email or any
attachments will bind The Company unless it is later confirmed in writing.