what you told is very very strange. I've connected with a lot of AD and I've never seen this problem. From openkm side name, upper case or lowercase is exactly the same ( be a role or user ).
Connect as user what have ROLE_ADMIN and then in administration execute the minimal script I proposed:
Connect as user what have ROLE_ADMIN and then in administration execute the minimal script I proposed:
Code: Select all
Be sure you do not have white spaces or something simillar, this is not allowed, roles like userid should be word not separated by spaces or strange character ( _ and - is allowed as separator, but do not do strange things ).import com.openkm.spring.*;
print("["+PrincipalUtils.getRoles()"]");