A versao  smbldap-tools-0.8.6  via ports   esta me  retornando esse
erro quando tento fazer o

intra# smbldap-populate
Unable to open /usr/local/usr/local/etc/smbldap-tools/smbldap.conf for reading !
Compilation failed in require at /usr/local/sbin/smbldap-populate line
35, <DATA> line 225.
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-populate
line 35, <DATA> line 225.

ele  esta lendo  2 vezes o /usr/local/  e nao esta  achando o

localizei  o seguinte  no site da idealx.

. scripts now use the Crypt::SmbHash perl module
INSTALLATION from the tar.gz archive
. Copy all those scripts in /usr/local/sbin/
. Modify smbldap.conf and smbldap_bind.conf to match your
configuration, and copy
  them in /etc/smbldap-tools/
. set proper permissions on those files:
  $ chmod 644 /etc/smbldap-tools/smbldap.conf
  $ chmod 600 /etc/smbldap-tools/smbldap_bind.conf
. update the 2 first declaration of /usr/local/sbin/smbldap_tools.pm
to define the
  PATH to the configuration file, for example
  > my $smbldap_conf="/etc/smbldap-tools/smbldap.conf";
  > my $smbldap_bind_conf="/etc/smbldap-tools/smbldap_bind.conf";
. if upgrading, add these lines in smbldap.conf configuration file:
  > # Allows not tu use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
  > # but prefer Crypt:: libraries
  > with_slappasswd="0"
  > slappasswd="/usr/sbin/slappasswd"
  If 'with_slappasswd' is set to 0, password will be hashed with
appropriate perl module
  (to not use anymore external programm)
. initialize the ldap directory
  $ smbldap-populate
. If not already done : "smbpasswd -w secret" to set up
  the ldap admin password in secrets.tdb

instalei o 

===>  Installing for p5-Crypt-SmbHash-0.02
===>   p5-Crypt-SmbHash-0.02 depends on file: /usr/local/bin/perl5.8.5 - found
===>   Generating temporary packing list
Installing /usr/local/lib/perl5/5.8.5/man/man3/Crypt::SmbHash.3
Writing /usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Crypt/SmbHash/.packlist
===>   Compressing manual pages for p5-Crypt-SmbHash-0.02
===>   Registering installation for p5-Crypt-SmbHash-0.02
===>  Cleaning for perl-5.8.5
===>  Cleaning for p5-Crypt-SmbHash-0.02

agora executando o 
No such object at
/usr/local/lib/perl5/site_perl/5.8.5/smbldap_tools.pm line 231, <DATA>
line 283.

retorna isso  acabei instalando o Digest-SHA1.pm  que tb acusou como
nao instalado

alguem teve  erros  parecidos  ???
fiz as alteracoes e  o populate  funcionou  agora  o 

William David Armstrong
Bio Systems Security.

Para enviar um novo email para a lista: freebsd@fug.com.br
Sair da Lista: http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a