s4-dsdb: Fixed wrong assignment of name attribute to description atribute in create_ou.
authorNadezhda Ivanova <nivanova@samba.org>
Thu, 25 Nov 2010 12:02:51 +0000 (14:02 +0200)
committerNadezhda Ivanova <nivanova@samba.org>
Thu, 25 Nov 2010 12:25:43 +0000 (14:25 +0200)
source4/scripting/python/samba/samdb.py

index a59494f953061ffe2eda1f0074d084323e2f9110..b0a1c1239c8f6f9ed588f8008d0c4a16c5f5eede 100644 (file)
@@ -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))