[Date Prev][Date Next]
(ITS#7539) Bug in JLDAP LDAPAttributeSchema.java code
Full_Name: Aleksandar M.
OS: Windows 8
Submission from: (NULL) (188.8.131.52)
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