OpenLDAP,Samba y mi problema...

Cristhoper Jaña cristhoper en gmail.com
Mar Dic 5 18:38:45 CLST 2006


Estaba terminando de configurar Samba sobre OpenLDAP, estos fueron los pasos:
instalar openssl-0.9.7b,
openldap-2.2.13,samba-3.0.22,samba-common-3.0.20, varios modulos de
perl (Crypt-SmbHash-0.12, Digest-SHA1-2.11, IO-Socket-SSL-1.02.tar.gz,
Net_SSLeay.pm-1.30) y finalmente IDEALX smbldap-tools-0.9.2

luego de escribir todos los archivos de configuracion necesarios,
SSL,LDAP,perl-modulos,SAMBA comienzo a utilizar las herramientas de
smbldap para comenzar a ingresar usuarios y esta es la salida:

[root en pc_izquierda ~]# smbldap-populate
Can't locate Unicode/MapUTF8.pm in @INC (@INC contains:
/usr/local/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/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/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-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/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/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/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/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at /usr/local/sbin//smbldap_tools.pm
line 6, <DATA> line 225.
BEGIN failed--compilation aborted at /usr/local/sbin//smbldap_tools.pm
line 6, <DATA> line 225.
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.

Como me enseñaron por ahi, utilice strace y esto fue la salida

[root en pc_izquierda vmware]# strace smbldap-populate
execve("/usr/local/sbin/smbldap-populate", ["smbldap-populate"], [/*
33 vars */]) = 0
uname({sys="Linux", node="pc_izquierda", ...}) = 0
brk(0)                                  = 0x9820000
[root en pc_izquierda vmware]# strace smbldap-populate
execve("/usr/local/sbin/smbldap-populate", ["smbldap-populate"], [/*
33 vars */]) = 0
uname({sys="Linux", node="pc_izquierda", ...}) = 0
brk(0)                                  = 0x95ab000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686/sse2/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686/sse2",
0xbfe587a0) = -1 ENOENT (No such file or
directory)open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686",
0xbfe587a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/sse2/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/sse2",
0xbfe587a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls",
0xbfe587a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/i686/sse2/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/i686/sse2",
0xbfe587a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/i686/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/i686",
0xbfe587a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/sse2/libperl.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/sse2",
0xbfe587a0) = -1 ENOENT (No such file or directory)

hay mas texto, pero creo que ahi esta el error, porque no encuentra el
archivo "/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/i686/sse2/libperl.so"

y nose que pueda ser...





-- 
Cristhoper Jaña Iturra.
Departamento de Electrónica.
U.T.F.S.M.
Chile.

cel.:+56 9 88160569
of.:+56 32 2654396



Más información sobre la lista de distribución Linux