From 0aae1a691b1037156ce3907ea5777e568e30201c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 6 Mar 2009 03:11:20 -0500 Subject: Add userspace tools to manipulate accounts. The first functional command is sss_useradd (Name is temporary, while looking for a better one) --- server/db/sysdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/db') 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; } -- cgit