From 7e15d2ed3c01ab3c1f5f882fe8fa974058097bc6 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 29 Sep 2010 22:15:20 +0200 Subject: sysdb interface for adding incomplete groups Useful for optimizing the initgroups operation. --- src/db/sysdb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/db/sysdb.h') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 76e1715d..7db1a6ea 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -479,6 +479,11 @@ int sysdb_add_group(TALLOC_CTX *mem_ctx, struct sysdb_attrs *attrs, int cache_timeout); +int sysdb_add_incomplete_group(struct sysdb_ctx *ctx, + struct sss_domain_info *domain, + const char *name, + gid_t gid); + /* Add netgroup (only basic attrs and w/o checks) */ int sysdb_add_basic_netgroup(struct sysdb_ctx *ctx, struct sss_domain_info *domain, -- cgit