[FUG-BR] [OT]pdc + samba + ldap

William Armstrong biosystems em gmail.com
Ter Fev 1 12:31:18 BRST 2005


A versao  smbldap-tools-0.8.6  via ports   esta me  retornando esse
erroquando 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
/usr/local/etc/smbldap-tools/smbldap.conf

é erro no srcipt  por  executei o configure.pl  3 vezes e  retorna o
mesmo erro .

alguem ai tem alguma sugestao de como contornar este erro alem do
fazer downgrade do  smbldap-tools pois a versao anterior  nao
apresenta  problemas.

--
-=-=-=-=-=-=-=-=-=-
William David Armstrong
Bio Systems Security.
ICQ 10253747 MSN bio__wolf em hotmail.com

  ReplyForward
		
		
William Armstrong 	
to freebsd
	 Hide options	 12:04pm (24 minutes ago)
From: William Armstrong <biosystems em gmail.com>
Reply-To: William Armstrong <biosystems em gmail.com>
To: freebsd em fug.com.br
Date: Tue, 1 Feb 2005 12:04:12 -0200
Subject: Aviso de erro com smbldap 8.6 .
Reply | Reply to all | Forward | Print | Add sender to contacts list |
Trash this message | Report phishing | Show original
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
/usr/local/etc/smbldap-tools/smbldap.conf

localizei  o seguinte  no site da idealx.

DEPENDANCIES :
-=-=-=-=-=-=-=
. 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
smbldap-passwd
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

instalei ele  pelo ports  mas  ainda  da  erros 

meu freebsd  5.3  p5  e  esta limpo  configurado  apenas  o  dns  dhcp
  esta tudo ok

alguem teve  erros  parecidos  ???

fiz as alteracoes e  o populate  funcionou  agora  o smbldap-passwd 
nao vai nem lascando acho que  vou fazer o downgrade pra versao
smbldap-tools .8.5. 3  e  continuar com ele  ja que esta funcionando
legal




-- 
-=-=-=-=-=-=-=-=-=-
William David Armstrong
Bio Systems Security.
ICQ 10253747 MSN bio__wolf em hotmail.com

_______________________________________________________________
Para enviar um novo email para a lista: freebsd em 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/




Mais detalhes sobre a lista de discussão freebsd