FreeBSD Port: smbldap-tools-0.8.6

Alex Ianchici alex at zbtechnologies.com
Wed Feb 9 15:11:31 PST 2005


Hey,

Here are some problems I've run into with smbldap-tools-0.8.6 which 
didnt happen with 0.8.5.3

1. smbldap-passwd outputs this error:

<-------- begin ------------->
Can't locate Digest/SHA1.pm in @INC (@INC contains: /usr/local/sbin/ 
/usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 .) at /usr/local/sbin/smbldap-passwd line 45.
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-passwd line 45.
<-------- end ---------->

2. /usr/local/lib/perl5/site_perl/5.8.6/smbldap_tools.pm required me to 
add the following code at line 600 for the tools to be able to connect 
to my ldap server:

<--------- begin -------------->
$ldap = connect_ldap_slave();
<--------- end --------->

3. /usr/local/lib/perl5/site_perl/5.8.6/smbldap_tools.pm seems to mockup 
the location of the smbldap.conf & smbldap_bind.conf files.

<---------begin-------->
my $smbldap_conf="/usr/local/usr/local/etc/smbldap-tools/smbldap.conf";
my 
$smbldap_bind_conf="/usr/local/usr/local/etc/smbldap-tools/smbldap_bind.conf";
<---------end-------->

Alex Ianchici


More information about the freebsd-ports mailing list