Bienvenido(a) a Alcance Libre 20/03/2023, 09:57

Alcance Libre Foros

 Índice del foro > Todo acerca de Linux > Redes y Servidores New Topic Post Reply
 Tutorial Centos5 Samba PDC
Tópico anterior Tópico siguiente
   
saulrainier
 03/31/08 01:11PM (Leído 7,840 veces)  

Participa mucho

Estado: desconectado
Forum User

Identificado: 03/28/08
Mensajes: 62
Ya me canse de esto, sigo los pasos tal como son pero lo qe pido es la respuesta de por qe cuado llego al paso donde usamos el comento net groupmap list no sale nada, ni siquiera un error de qe no existe nada, simplemente me sale otra linea y no sale el resultado qe se supone marca el tutorial, me urge la ayuda
 
Profile Email
 Quote
Jaime M. Tan Nozawa
 03/31/08 02:01PM  

Miembro regular

Estado: desconectado
Forum User

Identificado: 03/31/07
Mensajes: 114
Localización:Peru
es unos de tus archivos .. vi que no concordaba el dominio..
ARTEDIGITAL (Samba) con ARTEDIGITAL-MX (LDAP)

¿hiciste tambien: smbpasswd -w ElpasswordDeAdminLDAP ?

Tal vez el error.. por ahi..

-->además, no posteaste el archivo de smbldap_tools

Prosigue en reiniciar todos los servicios de ldap y smb a ver si sale algun error?

El tutorial lo he testeado sobre 5.1 y 5.0 .. y tengo varios amigos que ya lo han implementado sin problemas.. asi q seguro solo te haz equivocado en una de las opciones..

Salu2 desde Perú

Jaime M .Tan Nozawa


Mi blog de PHP: http://phpexperto.blogspot.com
 
Profile Email Website
 Quote
Jaime M. Tan Nozawa
 03/31/08 02:09PM  

Miembro regular

Estado: desconectado
Forum User

Identificado: 03/31/07
Mensajes: 114
Localización:Peru
Ademas tienes en smb.conf en tu backend: tdbsam activado...
lo que significa q jala los datos de Archivo SMB de texto.. y no desde LDAP
Rolling Eyes

Jaime

Mi blog de PHP: http://phpexperto.blogspot.com
 
Profile Email Website
 Quote
saulrainier
 03/31/08 02:18PM  

Participa mucho

Estado: desconectado
Forum User

Identificado: 03/28/08
Mensajes: 62
Este es mi archivo smbldap.conf

# $Source: $
# $Id: smbldap.conf,v 1.18 2005/05/27 14:28:47 jtournier Exp $
#
# smbldap-tools.conf : Q & D configuration file for smbldap-tools

# This code was developped by IDEALX (http://IDEALX.org/) and
# contributors (their names can be found in the CONTRIBUTORS file).
#
# Copyright (C) 2001-2002 IDEALX
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.

# Purpose :
# . be the configuration file for all smbldap-tools scripts

##############################################################################
#
# General Configuration
#
##############################################################################

# Put your own SID. To obtain this number do: "net getlocalsid".
# If not defined, parameter is taking from "net getlocalsid" return
SID="S-1-5-21-3133953099-3592761480-3207497044"

# Domain name the Samba server is in charged.
# If not defined, parameter is taking from smb.conf configuration file
# Ex: sambaDomain="IDEALX-NT"
sambaDomain="ARTEDIGITAL"

##############################################################################
#
# LDAP Configuration
#
##############################################################################

# Notes: to use to dual ldap servers backend for Samba, you must patch
# Samba with the dual-head patch from IDEALX. If not using this patch
# just use the same server for slaveLDAP and masterLDAP.
# Those two servers declarations can also be used when you have
# . one master LDAP server where all writing operations must be done
# . one slave LDAP server where all reading operations must be done
# (typically a replication directory)
# Slave LDAP server
# Ex: slaveLDAP=127.0.0.1
# If not defined, parameter is set to "127.0.0.1"
slaveLDAP="127.0.0.1"

# Slave LDAP port
# If not defined, parameter is set to "389"
slavePort="389"

# Master LDAP server: needed for write operations
# Ex: masterLDAP=127.0.0.1
# If not defined, parameter is set to "127.0.0.1"
masterLDAP="127.0.0.1"

# Master LDAP port
# If not defined, parameter is set to "389"
masterPort="389"

# Use TLS for LDAP
# If set to 1, this option will use start_tls for connection
# (you should also used the port 389)
# If not defined, parameter is set to "1"
#ldapTLS="1"

# How to verify the server's certificate (none, optional or require)
# see "man Net::LDAP" in start_tls section for more details
#verify="optional"

# CA certificate
# see "man Net::LDAP" in start_tls section for more details
#cafile="/etc/smbldap-tools/ca.pem"

# certificate to use to connect to the ldap server
# see "man Net::LDAP" in start_tls section for more details
#clientcert="/etc/smbldap-tools/smbldap-tools.pem"

# key certificate to use to connect to the ldap server
# see "man Net::LDAP" in start_tls section for more details
#clientkey="/etc/smbldap-tools/smbldap-tools.key"

# LDAP Suffix
# Ex: suffix=dc=IDEALX,dc=ORG
suffix="dc=artedigital-mx,dc=com"

# Where are stored Users
# Ex: usersdn="ou=Users,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for usersdn
usersdn="ou=People,${suffix}"

# Where are stored Computers
# Ex: computersdn="ou=Computers,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for computersdn
computersdn="ou=Computers,${suffix}"

# Where are stored Groups
# Ex: groupsdn="ou=Groups,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for groupsdn
groupsdn="ou=Group,${suffix}"

# Where are stored Idmap entries (used if samba is a domain member server)
# Ex: groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
# Warning: if 'suffix' is not set here, you must set the full dn for idmapdn
idmapdn="ou=Idmap,${suffix}"

# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
# Ex: sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}"
# Ex: sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=ARTEDIGITAL,${suffix}"

# Default scope Used
scope="sub"

# Unix password encryption (CRYPT, MD5, SMD5, SSHA, SHA, CLEARTEXT)
hash_encrypt="SSHA"

# if hash_encrypt is set to CRYPT, you may set a salt format.
# default is "%s", but many systems will generate MD5 hashed
# passwords if you use "$1$%.8s". This parameter is optional!
crypt_salt_format="%s"

#############################################################################
# Unix Accounts Configuration
#
##############################################################################

# Login defs
# Default Login Shell
# Ex: userLoginShell="/bin/bash"
userLoginShell="/bin/bash"

# Home directory
# Ex: userHome="/home/%U"
userHome="/home/%U"

# Default mode used for user homeDirectory
userHomeDirectoryMode="700"

# Gecos
userGecos="System User"

# Default User (POSIX and Samba) GID
defaultUserGid="513"

# Default Computer (Samba) GID
defaultComputerGid="515"

# Skel dir
skeletonDir="/etc/skel"

# Default password validation time (time in days) Comment the next line if
# you don't want password to be enable for defaultMaxPasswordAge days (be
# careful to the sambaPwdMustChange attribute's value)
defaultMaxPasswordAge="45"

##############################################################################
#
# SAMBA Configuration
#
##############################################################################

# The UNC path to home drives location (%U username substitution)
# Just set it to a null string if you want to use the smb.conf 'logon home'
# directive and/or disable roaming profiles
# Ex: userSmbHome="\\PDC-SMB3\%U"
userSmbHome="\LINUX\%U"

# The UNC path to profiles locations (%U username substitution)
# Just set it to a null string if you want to use the smb.conf 'logon path'
# directive and/or disable roaming profiles
# Ex: userProfile="\\PDC-SMB3\profiles\%U"
userProfile="\LINUX\profiles\%U"

# The default Home Drive Letter mapping
# (will be automatically mapped at logon time if home directory exist)
# Ex: userHomeDrive="H:"
userHomeDrive="H:"
# The default user netlogon script name (%U username substitution)
# if not used, will be automatically username.cmd
# make sure script file is edited under dos
# Ex: userScript="startup.cmd" # make sure script file is edited under dos
userScript="logon.bat"

# Domain appended to the users "mail"-attribute
# when smbldap-useradd -M is used
# Ex: mailDomain="idealx.com"
#mailDomain="idealx.com"

##############################################################################
#
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat)
#
##############################################################################

# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm) but
# prefer Crypt::SmbHash library
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"

# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt:: libraries
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"

# comment out the following line to get rid of the default banner
# no_banner="1"

todo seguido al pie de la letra no me he saltado ningun paso, lo unico qe quiero pensar es qe el nombre de la maquina puede no sea el mismo
 
Profile Email
 Quote
saulrainier
 03/31/08 02:20PM  

Participa mucho

Estado: desconectado
Forum User

Identificado: 03/28/08
Mensajes: 62
gracias amigo era lo qe me dijiste al ultimo del backend
ya funciona todo gracias
 
Profile Email
 Quote
saulrainier
 03/31/08 02:22PM  

Participa mucho

Estado: desconectado
Forum User

Identificado: 03/28/08
Mensajes: 62
Ahora el problema es qe estoy tratando de agregar una maquina al dominio y me dice qe el usuario y contraseña son incorrectos
 
Profile Email
 Quote
raymozo
 05/02/08 08:43AM  

Nuevo

Estado: desconectado
Forum User

Identificado: 01/28/08
Mensajes: 5
Buenos dias el siguiente es para informarles que he seguido al pie de la letra el tutorial de samba y openldap al pie de la letra y he conseguido los siguientes resultados:
1.- Al principio no pude configurar los archivos me daba los he errores que todos han descrito sin mayores resultados. desinstale todo y volvi a configurar esta ve desinstalando el perl.openldap que trae por defecto en la instalacion CentOS 5.0. para instalarlo de dag.wieers.com.
2.- Primero configure openldap y me asegure que podia entra conectarme a el con browse (java). Arrojaba errores en password, el cual contenia el mismo password de UNIX con que entro al sistema lo cambie y pude conectarme.
3.- Con samba tuve problemas tambien cuando coloque admin users = Administrator @"Domain Admins" tenia colocado root pero tuve que cambiarlo como dice el manual el cual funciono perfectamente hasta cuando hice smbldap-populate -a Administrator me añadio los grupos como dice el manual quedando a la perfeccion.
4.- No es necesario hacer authconfig-tui, solo modifique en /etc/nsswitch.conf
los grupos de passwd (file ldap) son tres ahora no recuerdo los otros.
5.- Felicito Jaime M. Tan Nozawa, por este excelente manual espero anciosamente la segunda parte.
 
Profile Email
 Quote
Jaime M. Tan Nozawa
 05/02/08 03:42PM  

Miembro regular

Estado: desconectado
Forum User

Identificado: 03/31/07
Mensajes: 114
Localización:Peru
Tengo que disculparme por no haber publicado la parte 2 de este tutorial.

Tengo que confesar que estaba listo desde hace tiempo, pero el problema principal radica en la actualizacion de centos 5.1 , este comprometio a que algunos RPMS ya no sean compatibles, PHP deps.
Por ello tuve que compilar los RPM's para algunos requerimientos del LAMdaemon
que es una aplicativo extra para el LAM.. que es un cliente Web Para SambaLDAP

por otro lado tambien se me ocurrio realizar Samba PDC-BDC .. pero como estamos en el rico mundo Linux podemos hacer replicacion tambien pero con openLDAP... Lo q conllevo a nuevos problemas.. tengo que decidirme entre:
Slurpd y Syncrepl . Este ultimo permite replicacion multimaster.

Bueno ahi estoy... espero no defraudar en esta segunda entrega del tuto jeje

Salu2 desde Perú

Jaime M. Tan Nozawa
BCIP

Mi blog de PHP: http://phpexperto.blogspot.com
 
Profile Email Website
 Quote
zamje
 07/22/08 11:35AM  

Nuevo

Estado: desconectado
Forum User

Identificado: 07/22/08
Mensajes: 2
Hola!

Estoy siguiendo este manual, la diferencia es que lo estoy haciendo bajo SuSE 9 SLES SP3.

Voy en todo bien hasta que tengo que hacer el smbldap-populate.pl , me aparece el siguiente error:

Scalar found where operator expected at /usr/local/sbin//smbldap_conf.pm line 115, near "$computersdn"
(Might be a runaway multi-line ?? string starting on line 109)
(Missing semicolon on previous line?)
Search pattern not terminated at /usr/local/sbin//smbldap_conf.pm line 119.
Compilation failed in require at /usr/local/sbin//smbldap_tools.pm line 4.
BEGIN failed--compilation aborted at /usr/local/sbin//smbldap_tools.pm line 4.
Compilation failed in require at /usr/local/sbin/smbldap-populate.pl line 34.
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-populate.pl line 34

Y lo tengo exactamente igual a como dice el manual.

Si comento la línea de computersdn me aparece lo siguiente:

Scalar found where operator expected at /usr/local/sbin//smbldap_conf.pm line 119, near "$groupsou"
(Missing semicolon on previous line?)
Search pattern not terminated at /usr/local/sbin//smbldap_conf.pm line 119.
Compilation failed in require at /usr/local/sbin//smbldap_tools.pm line 4.
BEGIN failed--compilation aborted at /usr/local/sbin//smbldap_tools.pm line 4.
Compilation failed in require at /usr/local/sbin/smbldap-populate.pl line 34.
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-populate.pl line 34

Si comento la línea de groupsdn me aparece lo siguiente:

Scalar found where operator expected at /usr/local/sbin//smbldap_conf.pm line 123, near "$scope"
(Missing semicolon on previous line?)
Global symbol "$Users" requires explicit package name at /usr/local/sbin//smbldap_conf.pm line 109.
syntax error at /usr/local/sbin//smbldap_conf.pm line 123, near "$scope "
Compilation failed in require at /usr/local/sbin//smbldap_tools.pm line 4.
BEGIN failed--compilation aborted at /usr/local/sbin//smbldap_tools.pm line 4.
Compilation failed in require at /usr/local/sbin/smbldap-populate.pl line 34.
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-populate.pl line 34

Curiosamente el userou y userdn no da este error!!!!

Acá posteo mi configuración a ver en que me pueden ayudar:

# Where are stored Users
# Ex: $usersdn = "ou=Users,$suffix"; for ou=Users,dc=IDEALX,dc=ORG
$usersou = q(People);?
$usersdn = "ou=$Users,$suffix";

# Where are stored Computers
# Ex: $computersdn = "ou=Computers,$suffix"; for ou=Computers,dc=IDEALX,dc=ORG
$computersou = q(Computers);?
$computersdn = "ou=Computers,$suffix";

# Where are stored Groups
# Ex $groupsdn = "ou=Groups,$suffix"; for ou=Groups,dc=IDEALX,dc=ORG
$groupsou = q(Groups);?
$groupsdn = "ou=$Groups,$suffix";

# Default scope Used
$scope = "sub";

Mi version de samba es: samba-3.0.4-1.22
Mi versión de LDAP es: openldap2-2.2.6-37.19

Agradezco cualquier colaboración o aclaratoria que me puedan brindar.!!!
 
Profile Email
 Quote
zamje
 07/22/08 02:56PM  

Nuevo

Estado: desconectado
Forum User

Identificado: 07/22/08
Mensajes: 2
Ya encontré la solución al tema..:

En SuSE 9 no hace falta colocar los computersdn y a su vez no hace falta el simbolo ? despues del computersou.

Ahora el tema está en que cuando ejecuto el smbldap-populate me aparece el siguiente error:

Using builtin directory structure
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
Use of uninitialized value in concatenation (.) or string at /usr/local/sbin/smbldap-populate.pl line 102, <DATA> line 225.
adding new entry: dc=midominio,dc=local
failed to add entry: Already exists at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 2.
adding new entry:
failed to add entry: root DSE already exists at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 3.
adding new entry:
failed to add entry: root DSE already exists at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 4.
adding new entry:
failed to add entry: root DSE already exists at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 5.
adding new entry: uid=Administrator,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 6.
adding new entry: uid=nobody,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 7.
adding new entry: cn=Domain Admins,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 8.
adding new entry: cn=Domain Users,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 9.
adding new entry: cn=Domain Guests,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 10.
adding new entry: cn=Administrators,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 11.
adding new entry: cn=Users,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 12.
adding new entry: cn=Guests,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 13.
adding new entry: cn=Power Users,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 14.
adding new entry: cn=Account Operators,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 15.
adding new entry: cn=Server Operators,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 16.
adding new entry: cn=Print Operators,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 17.
adding new entry: cn=Backup Operators,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 18.
adding new entry: cn=Replicator,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 19.
adding new entry: cn=Domain Computers,
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 19.

Gracias!
 
Profile Email
 Quote
Nelson C.
 11/19/08 05:16PM  

Nuevo

Estado: desconectado
Forum User

Identificado: 11/19/08
Mensajes: 6
Localización:Santo Domingo
Primeramente quiero felicitara Jaime M. Tan Nozawa
por su manual, es la primera ver que encuento un manual que se van cumpliento todos los pasos como el tuturial,

Ahora mis amigo , tengo un problema despues de haber seguido paso a paso este fabuloso tutorial,

CUANDO EJecuto, smbldap-populate -a Administrator
tengo comom resultado esto:

Populating LDAP directory for domain GRUPO-CSA (S-1-5-21-3101145766-3294233358-4245278455)
(using builtin directory structure)

Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Could not start_tls: SSL connect attempt failed because of handshake problemserror:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure at /usr/sbin//smbldap_tools.pm line 341.


y con el Comando net groupmap list

No ne despliega nada de resultado, ni siquiera un error, que puedo hacer amigos mios, necesito una ayuda, de los experto.

muchas gracias de antemano.

contacto njcastillo@gmail.com

http://blogs.clavedigital.com/ncastillo
 
Profile Email Website
 Quote
al-serv
 11/21/08 07:47PM  

Miembro Activo

Estado: desconectado
Forum User

Identificado: 03/01/08
Mensajes: 641
Localización:Cataluña
Buenas!

Mi problema es muy diferente, estoy utilizando la configuración gráfica de centos SAMBA para crear una pequeña red y compartir archivos, mi problema es que en el entorno gráfico, cuando creo un usuario de samba me lo crea y funciona la autentificación pero... cuando vas a la lista de usuarios o cuando quieres que un directorio solo sea para unos usuarios en concreto la lista de usuarios me sale completamente vacía, alguien sabe porque pasa y en que archivo puedo ver y modificar los usuarios???

Gracias
 
Profile Email Website
 Quote
Jaime M. Tan Nozawa
 11/22/08 09:44AM  

Miembro regular

Estado: desconectado
Forum User

Identificado: 03/31/07
Mensajes: 114
Localización:Peru
Quote by: njcastillo


CUANDO EJecuto, smbldap-populate -a Administrator
tengo comom resultado esto:

Populating LDAP directory for domain GRUPO-CSA (S-1-5-21-3101145766-3294233358-4245278455)
(using builtin directory structure)

Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Use of uninitialized value in string at /usr/sbin//smbldap_tools.pm line 334.
Could not start_tls: SSL connect attempt failed because of handshake problemserror:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure at /usr/sbin//smbldap_tools.pm line 341.



Me parece es un error de SSL, deberias haberlo desactivado (comentandolo) en el archivo de configuracion de smbldap_tools ... si es quieres usarlo debes especificar los certificados.. sino solo comenta las lineas..

Saludos desde Perú

Jaime M. Tan Nozawa
PHP SOA

Mi blog de PHP: http://phpexperto.blogspot.com
 
Profile Email Website
 Quote
Jaime M. Tan Nozawa
 11/22/08 09:55AM  

Miembro regular

Estado: desconectado
Forum User

Identificado: 03/31/07
Mensajes: 114
Localización:Peru
Quote by: servtelecom

Buenas!
Mi problema es muy diferente, estoy utilizando la configuración gráfica de centos SAMBA para crear una pequeña red y compartir archivos, mi problema es que en el entorno gráfico, cuando creo un usuario de samba me lo crea y funciona la autentificación pero... cuando vas a la lista de usuarios o cuando quieres que un directorio solo sea para unos usuarios en concreto la lista de usuarios me sale completamente vacía, alguien sabe porque pasa y en que archivo puedo ver y modificar los usuarios???
Gracias



A ver, no se entiende bien la pregunta.. debido a que lo estas posteando en este post de samba dominio con LDAP.

Si es que usas LDAP como repositorio, pues obvio los usuarios se encuentran almacenados en tu directorio LDAP.

Ahora si es que no haz hecho ningun cambio con el centos por defecto, los usuarios samba se almacenan en un archivo separado que el passwd, para listar los usuarios requieres hacer un: pdbedit -L

Saludos desde Peru

Jaime M. Tan Nozawa
PHP 5 con RUP/UML


Mi blog de PHP: http://phpexperto.blogspot.com
 
Profile Email Website
 Quote
Contenido generado en: 0.37 segundos New Topic Post Reply
 Todas las horas son CST. Hora actual 09:57 AM.
Tópico normal Tópico normal
Tópico Pegado Tópico Pegado
Tópico bloqueado Tópico bloqueado
Mensaje Nuevo Mensaje Nuevo
Tópico pegado con nuevo mensaje Tópico pegado con nuevo mensaje
Tópico bloqueado con nuevo mensaje Tópico bloqueado con nuevo mensaje
Ver mensajes anónimos 
Los usuarios anónimos pueden enviar 
Se permite HTML Filtrado 
Contenido censurado