i hepsi KO dahaki komutu çalıştırdığınızda:OpenLDAP (Centos 5.9): Geçersiz kimlik bilgileri (49)
ldapsearch -x -b "dc=icm,dc=movismart,dc=com" -D "cn=Manager,dc=icm,dc=movismart,dc=com" -W
Ama bu çalıştırdığınızda bir sorun "Geçersiz Kimlik (49)" var:
ldapsearch -x -b "dc=icm,dc=movismart,dc=com" -D "uid=sysadmin,dc=icm,dc=movismart,dc=com" -W
Benim slapd.conf:
loglevel 1
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/openldap.schema
include /etc/openldap/schema/dyngroup.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
access to attrs=userPassword
by dn="cn=Manager,dc=icm,dc=movismart,dc=com" write
by self write
by anonymous auth
by * none
access to dn.base="" by * read
access to *
by dn="cn=Manager,dc=icm,dc=movismart,dc=com" write
by * read
database bdb
suffix "dc=icm,dc=movismart,dc=com"
rootdn "cn=Manager,dc=icm,dc=movismart,dc=com"
rootpw {SSHA}9xDlp+gBzA2E4EHXb4KXVkylAll7WmZd
directory /var/lib/ldap
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
Benim yapısı ldif:
dn: dc=icm,dc=movismart,dc=com
objectClass: domain
objectClass: top
dc: icm
dn: ou=People,dc=icm,dc=movismart,dc=com
objectclass: top
objectclass: organizationalUnit
ou: People
description: Container for user entries
Benim sysadmin kullanıcı ldif: Ben düz metin, crypt, md5 ve SSHA userPassword ve hiçbir şey sonda
dn: uid=sysadmin,ou=People,dc=icm,dc=movismart,dc=com
objectclass: top
objectclass: uidObject
objectclass: person
uid: sysadmin
cn: System Administrator
sn: sysadmin
userPassword: sysadmin
.
Çok teşekkürler! Bunu yaparken
Bu yanıttır: /// -f config.ldif ldap_sasl_interactive_bind_s: (LDAP sunucusuyla iletişim edebilir -1 [kök @ coresvr ldif] # -Y DIŞ H ldapi ldapadd) Yardımlarınız için teşekkürler Avanz! – user3021072
Bu kısa öğreticiyi deneyin. Yol boyunca herhangi bir adım atmamış olsaydınız kontrol edin. http://www.howtoforge.com/install-and-configure-openldap-on-ubuntu-karmic-koala – Avanz
Bu eğiticiyi kullanıyorum: http://www.howtoforge.com/install-and-configure-openldap -on-centos-5. Ldif kullanıcım gibi kullanıcıların yapısını değiştirdim. Bunu okuduğumdan farklı bir Berkeley DB problemi olabilir. – user3021072