summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-08-20 14:02:26 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-08-21 12:55:44 -0400
commitaa80e585f843b754b6c0b4945472ebd6cfab0cf3 (patch)
tree56975d8c80fd6d353625655aa6333586c8294ebf /server/db/sysdb.h
parentc1410419224a504954791dbfd36fd19ad78cfb65 (diff)
downloadsssd-aa80e585f843b754b6c0b4945472ebd6cfab0cf3.tar.gz
sssd-aa80e585f843b754b6c0b4945472ebd6cfab0cf3.tar.xz
sssd-aa80e585f843b754b6c0b4945472ebd6cfab0cf3.zip
store additional LDAP attributes
If available the original DN and the user principle will be stored in sysdb.
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h13
1 files changed, 13 insertions, 0 deletions
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,