summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/db/sysdb.c')
-rw-r--r--server/db/sysdb.c2
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;
}