summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/ms_schema.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/ms_schema.py b/source4/scripting/python/samba/ms_schema.py
index 636cc3e34b..1dbab4c947 100644
--- a/source4/scripting/python/samba/ms_schema.py
+++ b/source4/scripting/python/samba/ms_schema.py
@@ -200,6 +200,7 @@ def __transform_entry(entry, objectClass):
for l in entry:
key = l[0].lower()
l[1] = l[1].lstrip()
+ l[1] = l[1].rstrip()
if not cn and key == "cn":
cn = l[1]