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
ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parameters
[kai/samba.git]
/
source4
/
lib
/
ldb
/
tools
/
ldbedit.c
diff --git
a/source4/lib/ldb/tools/ldbedit.c
b/source4/lib/ldb/tools/ldbedit.c
index 6509263a58f60f84afc15a65694e99c680a44b60..8df37060c6581b91fd4bac9d61966ef8190e41e7 100644
(file)
--- a/
source4/lib/ldb/tools/ldbedit.c
+++ b/
source4/lib/ldb/tools/ldbedit.c
@@
-328,7
+328,7
@@
int main(int argc, const char **argv)
basedn = ldb_dn_new(ldb, ldb, options->basedn);
if ( ! ldb_dn_validate(basedn)) {
printf("Invalid Base DN format\n");
- return LDB_ERR_
OPERATIONS_ERROR
;
+ return LDB_ERR_
INVALID_DN_SYNTAX
;
}
}