From 62aa4da7dc3a7826c5a942349e1af9631ca819f5 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 2 Oct 2009 10:39:02 +0200 Subject: Fix error messages in tools Add getpwnam, getgrnam sync versions Fix ticket #164: Groupnames in non-local domains Fix ticket #100: Error Message Modifying a user that doesn't Exist Fix ticket #214: incorrect error message when MPG already exists Fix ticket #188: Deleting and modifying users in non-local domain Fix ticket #120: Adding a user to a full domain gives unhelpful error message --- server/tools/sss_sync_ops.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'server/tools/sss_sync_ops.h') diff --git a/server/tools/sss_sync_ops.h b/server/tools/sss_sync_ops.h index c99b9b911..3988992e9 100644 --- a/server/tools/sss_sync_ops.h +++ b/server/tools/sss_sync_ops.h @@ -86,5 +86,19 @@ int groupmod(TALLOC_CTX *mem_ctx, void start_transaction(struct tools_ctx *tctx); void end_transaction(struct tools_ctx *tctx); +int sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sysdb_ctx *sysdb, + const char *name, + struct sss_domain_info *domain, + struct ops_ctx **out); + +int sysdb_getgrnam_sync(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sysdb_ctx *sysdb, + const char *name, + struct sss_domain_info *domain, + struct ops_ctx **out); + #endif /* __SSS_OPS_H__ */ -- cgit