Open chc123456 opened 6 years ago
@chc123456 Thank you for the report! Would you be able to submit an example or a PR with a test to fix it?
Use user-admin-sample data like
dn: cn=Some Dude,ou=Development,ou=IT,ou=Departments,dc=example,dc=com
Entity Like
@DnAttribute(value = "ou", index = 3)
@Transient
private String unit;
@DnAttribute(value = "ou", index = 2)
@Transient
private String department;
Change Index Number.
@DnAttribute(value = "ou", index = 5)
@Transient
private String department;
getDepartment() value is “Some Dude”
Any chance you can provide a complete sample? If you are able to, this will greatly speed up the ability for me to respond since I have lots of other users asking for help.
Setting “value” has no effect, when I set the value like @DnAttribute(value = "ou", index = 3) this is not index by "ou" attribute.It works the whole "dn"