static int samldb_schema_ldapdisplayname_valid_check(struct samldb_ctx *ac)
{
	int ret = samldb_unique_attr_check(ac, "lDAPDisplayName", NULL,
					   ldb_get_schema_basedn(
						   ldb_module_get_ctx(ac->module)));
	if (ret == LDB_ERR_ENTRY_ALREADY_EXISTS) {
		ret = LDB_ERR_UNWILLING_TO_PERFORM;
	}
	return ret;
}
static int samldb_schema_ldapdisplayname_valid_check(struct samldb_ctx *ac)
{
	int ret = samldb_unique_attr_check(ac, "lDAPDisplayName", NULL,
					   ldb_get_schema_basedn(
						   ldb_module_get_ctx(ac->module)));
	if (ret == LDB_ERR_ENTRY_ALREADY_EXISTS) {
		ret = LDB_ERR_UNWILLING_TO_PERFORM;
	}
	return ret;
}