Skip to content

Commit

Permalink
CONFDB: removed unneeded wrapper
Browse files Browse the repository at this point in the history
Reviewed-by: Justin Stephenson <[email protected]>
Reviewed-by: Pavel Březina <[email protected]>
Reviewed-by: Sumit Bose <[email protected]>
  • Loading branch information
alexey-tikhonov committed Sep 6, 2023
1 parent c4b5fda commit 50e7891
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/confdb/confdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,12 +779,6 @@ static errno_t get_entry_as_bool(struct ldb_message *msg,
}


/* The default UID/GID for domains is 1. */
static uint32_t confdb_get_min_id(struct sss_domain_info *domain)
{
return SSSD_MIN_ID;
}

static errno_t init_cached_auth_timeout(struct confdb_ctx *cdb,
struct ldb_message *msg,
uint32_t *_cached_auth_timeout)
Expand Down Expand Up @@ -971,7 +965,7 @@ static errno_t confdb_init_domain(struct sss_domain_info *domain,

ret = get_entry_as_uint32(res->msgs[0], &domain->id_min,
CONFDB_DOMAIN_MINID,
confdb_get_min_id(domain));
SSSD_MIN_ID);
if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE, "Invalid value for minId\n");
ret = EINVAL;
Expand Down

0 comments on commit 50e7891

Please sign in to comment.