当前位置:网站首页>常见问题之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 国际许可协议 进行许可。
边栏推荐
- 关于回溯问题中的排列问题的思考(LeetCode46题与47题)
- Global event bus
- MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)
- Invalid Z-index problem
- jvm-运行时数据区
- GoLand 2021.1.1: configure the multi line display of the tab of the open file
- 从零开始的基于百度大脑EasyData的多人协同数据标注
- 战略、战术(和 OKR)
- Example analysis of QT learning 18 login dialog box
- jvm-类加载
猜你喜欢
[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)"/>MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)

7-11 calculation of residential water charges by sections

JS first summary

Exercise 10-1 judge the three digits that meet the conditions
[email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂"/>金属有机骨架材料ZIF-8包载姜黄素([email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂

Fabric. JS document

JS matrix zero

Exercise 7-6 count capital consonants

Vite project commissioning

QT learning 22 layout manager (I)
随机推荐
从零开始的基于百度大脑EasyData的多人协同数据标注
Exercise 10-1 judge the three digits that meet the conditions
叶酸修饰的金属-有机骨架(ZIF-8)载黄芩苷|金属有机骨架复合磁性材料([email protected])|制备路线
Current situation, analysis and prediction of information and innovation industry
How to promote the progress of project collaboration | community essay solicitation
QT learning 23 layout manager (II)
Generate directories from web content
1px problem of mobile terminal
JS get DPI, PX to cm, cm to PX
FPGA测试方法以Mentor工具为例
Page generation QR code
UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料
交联环糊精金属有机骨架负载甲氨蝶呤缓释微粒|金属-有机多孔材料UiO-66负载黄酮苷类药物|齐岳
Exercise 9-1 time conversion
JS continues to explore...
Leetcode(4)——寻找两个正序数组的中位数
Selenium browser (1)
Qt学习23 布局管理器(二)
Common mixins
7-9 find a small ball with a balance