summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-09-17 18:18:29 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-20 10:13:53 +0200
commitadb08b2853bfcba76ebb35b4e7bb4a6403b54239 (patch)
tree55f444504c145fc374ad68ca40a3553f6d00917c /src
parent6c722d1125ee285d72fb4d7444b8cefc6db33a0b (diff)
downloadsssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.tar.gz
sssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.tar.xz
sssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.zip
LDB_ERR_INVALID_ATTRIBUTE_SYNTAX added to sysdb_error_to_errno.
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 863707dec..3354cc43e 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -736,6 +736,8 @@ int sysdb_error_to_errno(int ldberr)
return EBUSY;
case LDB_ERR_ENTRY_ALREADY_EXISTS:
return EEXIST;
+ case LDB_ERR_INVALID_ATTRIBUTE_SYNTAX:
+ return EINVAL;
default:
DEBUG(SSSDBG_CRIT_FAILURE,
("LDB returned unexpected error: [%s]\n",