From aa80e585f843b754b6c0b4945472ebd6cfab0cf3 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 20 Aug 2009 14:02:26 +0200 Subject: store additional LDAP attributes If available the original DN and the user principle will be stored in sysdb. --- server/db/sysdb.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'server/db/sysdb.h') diff --git a/server/db/sysdb.h b/server/db/sysdb.h index ac19dcc62..64a07fe78 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -450,6 +450,19 @@ struct tevent_req *sysdb_store_user_send(TALLOC_CTX *mem_ctx, const char *shell); int sysdb_store_user_recv(struct tevent_req *req); +struct tevent_req *sysdb_store_user_with_attrs_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sysdb_handle *handle, + struct sss_domain_info *domain, + const char *name, + const char *pwd, + uid_t uid, gid_t gid, + const char *gecos, + const char *homedir, + const char *shell, + struct sysdb_attrs *attrs); +int sysdb_store_user_with_attrs_recv(struct tevent_req *req); + struct tevent_req *sysdb_store_group_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sysdb_handle *handle, -- cgit