Error in active directory group Sync because of VARCHAR(255)

Hi,

we had the problem that keycloak is generating endless binlog with our mysql database. When we were investigating the issue wie figured out that the problem is the group-sync with the active directory.
Because of this error the syncing process is restarting everytime and producing endless binlogs.

The reason for the error is, that there are groups with a DN field larger then VARCHAR(255) in some keycloak table. Since we are not very familiar with the database, we can not tell you exactly which table it is, we just get the error “value too long for type character varying”.

Since we do not want to change the table manually (after trying to find it) to support larger strings, are there any other possibilities to fix this problem?

Thanks in advance,
Danilo