summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-02 14:44:48 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-02 14:55:38 +1000
commit0bdaa8b4aca56989acf087b609926ed22b6a77cb (patch)
tree27442425513964fde98f8d167ac0f0c8d4beb7c8 /source3/lib
parentd7af80fc2e83810d6ee049eb31a46a98dd159cb6 (diff)
downloadsamba-0bdaa8b4aca56989acf087b609926ed22b6a77cb.tar.gz
samba-0bdaa8b4aca56989acf087b609926ed22b6a77cb.tar.bz2
samba-0bdaa8b4aca56989acf087b609926ed22b6a77cb.zip
LDB_ERR_INVALID_DN_SYNTAX doesn't exist ...
The correct name is ldb.ERR_INVALID_DN_SYNTAX
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ldb/swig/Ldb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/swig/Ldb.py b/source3/lib/ldb/swig/Ldb.py
index 4be3eec704..0ecb39b388 100644
--- a/source3/lib/ldb/swig/Ldb.py
+++ b/source3/lib/ldb/swig/Ldb.py
@@ -71,7 +71,7 @@ class LdbMessage:
if attr == 'dn':
self.msg.dn = ldb_dn_explode(self.msg, value)
if self.msg.dn == None:
- err = LDB_ERR_INVALID_DN_SYNTAX
+ err = ldb.ERR_INVALID_DN_SYNTAX
raise LdbError(err, ldb_strerror(err))
return
self.__dict__[attr] = value