summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-16 16:32:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-16 16:32:18 +0100
commit5317dd50c01bb82881e2f641e43574a54c878967 (patch)
tree5ae46001074c1e048a0c0baf47ce7b7e8e820330 /source4/lib
parentb09d2edf26f1713e015920dddaacc6212f1f779a (diff)
downloadsamba-5317dd50c01bb82881e2f641e43574a54c878967.tar.gz
samba-5317dd50c01bb82881e2f641e43574a54c878967.tar.bz2
samba-5317dd50c01bb82881e2f641e43574a54c878967.zip
Add new script for building IDL files in librpc/idl, generating both
Samba 3 and Samba 4 output.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/ldb_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_wrap.c b/source4/lib/ldb/ldb_wrap.c
index 4a34c1c998..e290b851f3 100644
--- a/source4/lib/ldb/ldb_wrap.c
+++ b/source4/lib/ldb/ldb_wrap.c
@@ -2684,7 +2684,7 @@ SWIGINTERN ldb_dn *new_ldb_dn(ldb *ldb_ctx,char const *str){
we do it this way... */
talloc_steal(NULL, ret);
- if (ret == NULL)
+ if (ret == NULL || !ldb_dn_validate(ret))
SWIG_exception(SWIG_ValueError,
"unable to parse dn string");
fail: