diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-06 03:11:20 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-03-06 11:13:07 -0500 |
commit | 0aae1a691b1037156ce3907ea5777e568e30201c (patch) | |
tree | f7ef06f0207e9e25b924605c4c866c4c980b5154 /server/db/sysdb.c | |
parent | 6b06539cfd1e95bfefe3e8bc107d2b85fff97109 (diff) | |
download | sssd-0aae1a691b1037156ce3907ea5777e568e30201c.tar.gz sssd-0aae1a691b1037156ce3907ea5777e568e30201c.tar.xz sssd-0aae1a691b1037156ce3907ea5777e568e30201c.zip |
Add userspace tools to manipulate accounts.
The first functional command is sss_useradd
(Name is temporary, while looking for a better one)
Diffstat (limited to 'server/db/sysdb.c')
-rw-r--r-- | server/db/sysdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c index bdc7588fe..1268d9390 100644 --- a/server/db/sysdb.c +++ b/server/db/sysdb.c @@ -153,6 +153,8 @@ int sysdb_error_to_errno(int ldberr) return ENOENT; case LDB_ERR_BUSY: return EBUSY; + case LDB_ERR_ENTRY_ALREADY_EXISTS: + return EEXIST; default: return EFAULT; } |