summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-11-25 14:02:51 +0200
committerNadezhda Ivanova <nivanova@samba.org>2010-11-25 14:25:43 +0200
commit05b8e078f4649239bda42c66966dfa5567485b6d (patch)
treee2c0ecaba2b8b927940fc482d189e5c064afc60b
parentae61408e2f198ada294a826e375f0f4a1e7da3d6 (diff)
downloadsamba-05b8e078f4649239bda42c66966dfa5567485b6d.tar.gz
samba-05b8e078f4649239bda42c66966dfa5567485b6d.tar.bz2
samba-05b8e078f4649239bda42c66966dfa5567485b6d.zip
s4-dsdb: Fixed wrong assignment of name attribute to description atribute in create_ou.
-rw-r--r--source4/scripting/python/samba/samdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index a59494f953..b0a1c1239c 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -667,7 +667,7 @@ accountExpires: %u
if description:
m["description"] = description
if name:
- m["description"] = name
+ m["name"] = name
if sd:
assert(isinstance(sd, str) or isinstance(sd, security.descriptor))