diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-07-02 14:44:48 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-07-02 14:55:38 +1000 |
commit | 0bdaa8b4aca56989acf087b609926ed22b6a77cb (patch) | |
tree | 27442425513964fde98f8d167ac0f0c8d4beb7c8 /source3 | |
parent | d7af80fc2e83810d6ee049eb31a46a98dd159cb6 (diff) | |
download | samba-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')
-rw-r--r-- | source3/lib/ldb/swig/Ldb.py | 2 |
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 |