git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP results
[kai/samba.git]
/
source4
/
lib
/
ldb-samba
/
ldif_handlers.c
diff --git
a/source4/lib/ldb-samba/ldif_handlers.c
b/source4/lib/ldb-samba/ldif_handlers.c
index 0ff6d32deecc837e99447f2bc419fd3617bee4c9..1c366104c05286e8e2ba356b78e0b7b20baf25ce 100644
(file)
--- a/
source4/lib/ldb-samba/ldif_handlers.c
+++ b/
source4/lib/ldb-samba/ldif_handlers.c
@@
-1278,7
+1278,7
@@
int ldb_register_samba_handlers(struct ldb_context *ldb)
}
if (!s) {
- return
-1
;
+ return
LDB_ERR_OPERATIONS_ERROR
;
}
ret = ldb_schema_attribute_add_with_syntax(ldb, samba_attributes[i].name, LDB_ATTR_FLAG_FIXED, s);