[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#7539) Bug in JLDAP LDAPAttributeSchema.java code
Full_Name: Aleksandar M.
Version: JLDAP
OS: Windows 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.73.228.218)
Hello,
This is not a bug in OpenLDAP but in the Java client library, JLDAP.
The LDAPAttributeSchema.java file is not parsing attributes correctly.
The issue is in the method:
public LDAPAttributeSchema(String raw)
It doesn't set the usage and collective fields when using that method.
The fix is to add the following code:
this.usage = parser.getUsage();
this.collective = parser.getCollective();
I have added it and uploaded the changed file to the incoming directory.
The file is named AleksandarM-LDAPAttributeSchema-20130311.java