Closed
Bug 52775
Opened 25 years ago
Closed 25 years ago
LDAPSchema.getSchema() makes incorrect LDAP request; breaks interoperability
Categories
(Directory Graveyard :: LDAP Java SDK, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerv, Assigned: miodrag)
References
()
Details
Attachments
(1 file)
|
606 bytes,
patch
|
Details | Diff | Splinter Review |
On line 874 of LDAPSchema.java, in the function readSchema(), the code does the
following:
return readSchema( ld, dn, new String[] { "*", "ldapsyntaxes" } );
On all directory servers except Netscape, this results in the directory
returning only the ldapsyntaxes to the LDAPSchema object. Code which works with
all directories, including OpenLDAP, is:
return readSchema( ld, dn, new String[] { "*", "ldapsyntaxes",
"matchingRules", "attributeTypes", "objectClasses" } );
This is a serious bug because it means the Netscape Java SDK will not correctly
work with any other directories, if you are working with schema.
Gerv
Comment 1•25 years ago
|
||
Reassigning to Miodrag for investigation. I agree this is a bug -- the
attributes are all operational and should be requested by name.
Assignee: mcs → miodrag
| Reporter | ||
Comment 3•25 years ago
|
||
Miodrag - any joy?
Gerv
| Reporter | ||
Comment 5•25 years ago
|
||
The bug has been fixed. Please cvs update and rebuild ldapjdk to pick up the
fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 7•25 years ago
|
||
Thanks very much, Miodrag :-) Now all we need is an official release with the
fix in...
Gerv
You need to log in
before you can comment on or make changes to this bug.
Description
•