[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Ayuda] Openldap, Error (80) info: SASL(-13): user not found: no secret in data



Quoting Jesus Eduardo Torres <jetorresc en hotmail com>:

No es tu archivo de configuracion si no 
que simplemente aun no has generado configurado sasl



http://www.openldap.org/doc/admin/sasl.html

echale un lente ahora si no te importa un pepino 
que la comunicacion sea cifrada entonces 

ldapadd -x -f /home/TT_372/mildif2.ldif -D "cn=AdministradorAC,o=escom,c=mx" -W

la -x hace el truco 


 -x     Use simple authentication instead of SASL.


aunque viendo  tu archivo ldif creo que te falta 
crear la unidad organizacional
pero bueno en fin 
chao!



> 
> 
> 
> 
> Hola que tal, me encuentro instalando un servidor OPenldap. Mi archivo 
> slapd.conf le hice algunos cambio y quedo como sigue:
> 
> #
> include		/usr/local/etc/openldap/schema/core.schema
> include         /usr/local/etc/openldap/schema/inetorgperson.schema
> # Define global ACLs to disable default read access.
> 
> # Do not enable referrals until AFTER you have a working directory
> # service AND an understanding of referrals.
> #referral	ldap://root.openldap.org
> 
> pidfile		/usr/local/var/slapd.pid
> argsfile	/usr/local/var/slapd.args
> 
> # Load dynamic backend modules:
> # modulepath	/usr/local/libexec/openldap
> # moduleload	back_bdb.la
> # moduleload	back_ldap.la
> # moduleload	back_ldbm.la
> # moduleload	back_passwd.la
> # moduleload	back_shell.la
> 
> # Sample security restrictions
> #
> #   Disallow clear text exchange of passwords
> # disallow bind_simple_unprotected
> #
> #	Require integrity protection (prevent hijacking)
> #	Require 112-bit (3DES or better) encryption for updates
> #	Require 63-bit encryption for simple bind
> # security ssf=1 update_ssf=112 simple_bind=64
> 
> # Sample access control policy:
> #	Root DSE: allow anyone to read it
> #	Subschema (sub)entry DSE: allow anyone to read it
> #	Other DSEs:
> #		Allow self write access
> #		Allow authenticated users read access
> #		Allow anonymous users to authenticate
> #	Directives needed to implement policy:
> # access to dn.base="" by * read
> # access to dn.base="cn=Subschema" by * read
> # access to *
> #	by self write
> #	by users read
> #	by anonymous auth
> #
> # if no access controls are present, the default policy is:
> #	Allow read by all
> 
> # rootdn can always write!
> 
> database	bdb
> suffix		"o=escom,c=mx"
> rootdn		"cn=AdministradorAC,o=escom,c=mx"
> 
> rootpw		passwordprueba
> 
> # should only be accessible by the slapd/tools. Mode 700 recommended.
> directory	/usr/local/var/openldap-data
> # Indices to maintain
> index   cn,sn,uid
> index	objectClass	eq
> 
> Le quite algunos comentarios para que ocupara menos espacio.
> 
> Y cuando en linea de comando hago esto::
> 
> ldapadd -f /home/TT_372/mildif2.ldif -D
> "cn=AdministradorAC,o=escom,c=mx" -W
> 
> Me marca lo siguiente::
> 
> Enter LDAP Password:
> SASL/DIGEST-MD5 authentication started
> ldap_sasl_interactive_bind_s: Internal (implementation specific) error
> (80)
> 	additional info: SASL(-13): user not found: no secret in database
> 
> Mi archivo mildif.ldif contiene lo siguiente:
> 
> dn: cn=Daniel Rubio,o=escom,c=mx
> cn: Daniel Rubio
> 
> dn: cn=Fernanda Fontes,o=escom,c=mx
> cn: Fernanda Fontes
> 
> dn: cn=Luis Arano,o=escom,c=mx
> cn: Luis Arano
> 
> Estoy siguiendo la misma base que en prefix en el slapd.conf.
> 
> Ojala puedan ayudarme
> 
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:  
> http://messenger.microsoft.com/es
> 
> _______________________________________________
> Ayuda mailing list
> Ayuda en linux org mx
> Para salir de la lista:
> http://mail.linux.org.mx/mailman/listinfo/ayuda/
> 


-------------------------------------------------
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos


_______________________________________________
Ayuda mailing list
Ayuda en linux org mx
Para salir de la lista: http://mail.linux.org.mx/mailman/listinfo/ayuda/



[Hilos de Discusión] [Fecha] [Tema] [Autor]