Univention Bugzilla – Attachment #9679: Fix SIGSEGV wen UCRV server/role is unset for bug #47837
char *server_role;
server_role = univention_config_get_string("server/role");
if (server_role && !strcmp(server_role, "domaincontroller_master")) {
if (!strcmp(server_role, "domaincontroller_master")) {
free(server_role);
return LDAP_SUCCESS;
}