An error is reported when ldap is added!

Source: Internet
Author: User
Tags openldap
An error is reported when ldap is added! -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. Ldapsearch-x-B '-s base' (objectclass = *) 'namingcontexts
# Extended LDIF
#
# LDAPv3
# Base <> with scope base
# Filter: (objectclass = *)
# Requesting: namingContexts
#

#
Dn:
NamingContexts: dc = it, dc = com

# Search result
Search: 2
Result: 0 Success

# NumResponses: 2
# NumEntries: 1



Ldapadd-D "cn = root"-W
Enter LDAP Password:
SASL/GSSAPI authentication started
Ldap_sasl_interactive_bind_s: Local error (-2)
Additional info: SASL (-1): generic failure: GSSAPI Error: Miscellaneous failure (No credentials cache found)


What's the problem?


Slap. conf

Include/usr/local/etc/openldap/schema/core. schema
Include/usr/local/etc/openldap/schema/corba. schema
Include/usr/local/etc/openldap/schema/cosine. schema
Include/usr/local/etc/openldap/schema/dyngroup. schema
Include/usr/local/etc/openldap/schema/inetorgperson. schema
Include/usr/local/etc/openldap/schema/misc. schema
Include/usr/local/etc/openldap/schema/openldap. schema
Include/usr/local/etc/openldap/schema/nis. schema
Include/usr/local/etc/openldap/schema/java. schema


Pidfile/usr/local/var/run/slapd. pid
Argsfile/usr/local/var/run/slapd. args


Access to dn = "." by * read
Access to dn = "cn = root" by * read
Access *
By self write
By users read
By anonymous auth

Database bdb
Suffix "dc = it, dc = com"
Rootdn "cn = root, dc = it, dc = com"

Rootpw {SSHA} 3MaXwW6l7fcmTCWbji3/YdlrtW7vNTav


Directory/usr/local/var/openldap-data

Index objectClass eq
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.