diff options
author | Michal Zidek <mzidek@redhat.com> | 2012-09-17 18:18:29 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-20 10:13:53 +0200 |
commit | adb08b2853bfcba76ebb35b4e7bb4a6403b54239 (patch) | |
tree | 55f444504c145fc374ad68ca40a3553f6d00917c /src/db | |
parent | 6c722d1125ee285d72fb4d7444b8cefc6db33a0b (diff) | |
download | sssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.tar.gz sssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.tar.bz2 sssd-adb08b2853bfcba76ebb35b4e7bb4a6403b54239.zip |
LDB_ERR_INVALID_ATTRIBUTE_SYNTAX added to sysdb_error_to_errno.
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 863707de..3354cc43 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", |