diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-16 16:32:18 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-16 16:32:18 +0100 |
commit | 5317dd50c01bb82881e2f641e43574a54c878967 (patch) | |
tree | 5ae46001074c1e048a0c0baf47ce7b7e8e820330 /source4/lib | |
parent | b09d2edf26f1713e015920dddaacc6212f1f779a (diff) | |
download | samba-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.c | 2 |
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: |