当前位置:网站首页>常见问题之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 国际许可协议 进行许可。
边栏推荐
- Solve the problem of dormitory router campus network sharing login
- Solution to failure or slow downloading of electron when electron uses electron builder to package
- Thrift threadmanager and three monitors
- 1px problem of mobile terminal
- QT learning 24 layout manager (III)
- Use vscode to view hex or UTF-8 codes
- Scroll detection of the navigation bar enables the navigation bar to slide and fix with no content
- Rasp implementation of PHP
- Redis: commandes d'action pour les données de type chaîne
- selenium 浏览器(1)
猜你喜欢

Exercise 10-3 recursive implementation of exponential functions
[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)"/>MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)

JVM class loading

FPGA test method takes mentor tool as an example

Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material

Uniapp tips - scrolling components

FPGA测试方法以Mentor工具为例

Message subscription and publishing

Summary of common error reporting problems and positioning methods of thrift

Exercise 8-8 moving letters
随机推荐
UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料
JS first summary
JS new challenges
QT learning 17 dialog box and its types
js . Find the first palindrome string in the array
MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)
Go 1.16.4: manage third-party libraries with Mod
Page generation QR code
simpleParallax. JS (create poor visual effects for website pictures)
JS continues to explore...
Use vscode to view hex or UTF-8 codes
1px problem of mobile terminal
JS shift operators (< <,> > and > > >)
Qt学习19 Qt 中的标准对话框(上)
金属有机骨架MIL-88负载阿霉素DOX|叶酸修饰UiO-66-NH2负载阿霉素[email protected]纳米粒子
Analysis of the characteristics of page owner
7-8 overspeed judgment
Exercise 8-8 moving letters
QT learning 22 layout manager (I)
玖逸云黑免费无加密版本源码