|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2011-02-21 21:18 UTC] jani@php.net
-Package: Feature/Change Request
+Package: LDAP related
-Operating System: Irrelevant
+Operating System: *
[2015-05-05 19:48 UTC] andreas at heigl dot org
[2015-06-17 13:45 UTC] mcmic@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mcmic
[2015-06-17 13:45 UTC] mcmic@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ Quote from original bug/feature request reporter: "if i have an datatype, that has for exaple a syntax to be a number, and not to be empty phpldapadmin prints out the error, but not the "additional information", in comparison to the ldapadd, which does: phpldapadmin error message: Could not add object: <some dn> LDAP said: Invalid syntax Error number: 0x15 (LDAP_INVALID_SYNTAX) Description: An invalid attribute value was specified. ldapadd error message with the same ldif: ldapadd -H ldap://127.0.0.1:399/ -f foo -D "cn=admin,dc=loginbasedc" -x -w opensesame adding new entry "<some dn>" ldap_add: Invalid syntax (21) additional info: homeState: value #0 invalid per syntax where homestate is the following: objectIdentifier homeState-oid 2.5.6.5.555.555850 attributeTypes: ( 2.5.6.5.555.555850 NAME ( 'homeState' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' ) and added in the MAY() section of the object declaration." Comment by ldapadmin guys: Unfortunately php_ldap doesnt return the additional info in the error. I would recommended that a feature enhancement request be submitted to the php developers to get this additional information.