当前位置:网站首页>常见问题之PHP——ldap_add(): Add: Undefined attribute type in
常见问题之PHP——ldap_add(): Add: Undefined attribute type in
2022-07-03 13:40:00 【CN華少】
常见问题之PHP——ldap_add(): Add: Undefined attribute type in
背景
日常我们开发时,我们会遇到各种各样的奇奇怪怪的问题(踩坑o(╯□╰)o),这个常见问题系列就是我日常遇到的一些问题的记录文章系列,这里整理汇总后分享给大家,让其还在深坑中的小伙伴有绳索能爬出来。
同时在这里也欢迎大家把自己遇到的问题留言或私信给我,我看看其能否给大家解决。
开发环境
- 系统:windows10
- 语言:PHP
内容
错误
ldap_add(): Add: Undefined attribute type in...
造成原因:
使用ldap_add时添加的属性和其ldap服务器中设置的属性类型不一致导致。
解决方案:
1、使用phpldapadmin工具进行查看当前ldap服务器中具体支持的Attribute Types
2、与ldap_add中设置的用户属性进行对比名称、数据类型、是否必填进行对比确认。
另网上还有一种说法是由于dn中没有有效输入空格导致的,这个测试过程中没有发现该问题。
本文声明:

本作品由 cn華少 采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可。
边栏推荐
- js . Find the first palindrome string in the array
- Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
- GoLand 2021.2 configure go (go1.17.6)
- GoLand 2021.1.1: configure the multi line display of the tab of the open file
- JVM object lifecycle
- Exercise 8-2 calculate the sum and difference of two numbers
- How to delete an attribute or method of an object
- Redis:字符串類型數據的操作命令
- Global event bus
- JS Part 2
猜你喜欢

Interface for querying IP home

Installation impression notes
[email protected] Nanoparticles) | nano metal organic framework carry"/>Metal organic framework material zif-8 containing curcumin( [email protected] Nanoparticles) | nano metal organic framework carry

QT learning 22 layout manager (I)

Exercise 10-1 judge the three digits that meet the conditions

Fabric. JS document

好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录

Vite project commissioning

jvm-类加载

QT learning 21 standard dialog box in QT (Part 2)
随机推荐
The small project (servlet+jsp+mysql+el+jstl) completes a servlet with login function, with the operation of adding, deleting, modifying and querying. Realize login authentication, prevent illegal log
Uniapp skills - dom display and hiding
Exercise 10-8 recursive implementation of sequential output of integers
JVM family - overview, program counter day1-1
simpleParallax. JS (create poor visual effects for website pictures)
Redis:Redis的数据结构、key的操作命令
Exercise 6-6 use a function to output an integer in reverse order
Qt学习19 Qt 中的标准对话框(上)
Go: send the get request and parse the return JSON (go1.16.4)
Summary of common error reporting problems and positioning methods of thrift
金属有机骨架材料ZIF-8包载姜黄素([email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂
Implementation of Muduo asynchronous logging
RocksDB LRUCache
3D vision - 2 Introduction to pose estimation - openpose includes installation, compilation and use (single frame, real-time video)
Dynamic programming 01 knapsack and complete knapsack
Configure stylelint
page owner特性浅析
Invalid Z-index problem
好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录
Conversion function and explicit