English 中文(简体)
我的开张牌照使用我的面纱作为背后器,但是它并不 h忙增加用户。
原标题:my openldap use mysql as backend but it hvae no auth to add user
  • 时间:2023-08-22 08:07:30
  •  标签:
  • openldap

i 利用我的根基来记录《地方空间行动计划》的管理和成功,但是,如果能够增加《地方空间行动计划》的使用者,则认为,公开软件的问题没有那么大的文字,错误就是:

Could not add the object to the LDAP server. LDAP said: Server is unwilling to perform Error number: 0x35 (LDAP_UNWILLING_TO_PERFORM) Description: The LDAP server refused to perform the operation.

这是我的lap。 页: 1

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /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         /var/run/slapd.pid
argsfile        /var/run/slapd.args

# Load dynamic backend modules:
# modulepath    /usr/libexec/openldap
# moduleload    back_mdb.la
# moduleload    back_ldap.la

# Sample security restrictions
#       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

# 允许cn=Mitya Kovalev,dc=example,dc=com读写权限
access to *
  by dn="cn=Mitya Kovalev,dc=example,dc=com" write
  by * read

#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn.  (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!

#######################################################################
# SQL database definitions
#######################################################################

database        sql
suffix          "dc=example,dc=com"
rootdn          "cn=Mitya Kovalev,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          {SSHA}arSDeFAtUBPiz14lwlcdu0NXMWgjMNec

# SQL configuration
dbname ldap
dbuser ldap
dbpasswd 123456
has_ldapinfo_dn_ru no
subtree_cond "ldap_entries.dn LIKE CONCAT( % ,?)"
insentry_stmt   "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval) VALUES (?,?,?,?)"


# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
# Indices to maintain
问题回答

我也遇到了同样的问题。 你们是否解决这个问题?





相关问题
OpenLDAP and SSL

I am having trouble trying to connect to a secure OpenLDAP server which I have set up. On running my LDAP client code java -Djavax.net.debug=ssl LDAPConnector I get the following exception trace (...

Adding objects to LDAP via CGI

I have a web form that collects information and submits it to a cgi that attempts to insert the data into LDAP. The problem is that I m trying to use a variable with ::ldap::add and it s just not ...

Create Active Directory schema into OpenLDAP

I need to store Active Directory Data into OpenLDAP and for that I want to create the Active Directory schema into OpenLDAP. How to do it?

what are aliases in ldap

What are aliases in ldap (referenced for example here php.net/ldap) Are they pointers to other objects in the system not directly under the object where the alias is found?

Open Directory directory domain name on Mac OS X [closed]

I can retrieve the logged in user name using NSUserName(), but how do I get the Open Directory "directory domain name" or other domain he is a member of? i.e. similar to the notion in Windows where a ...

热门标签