summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-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))