diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-01-09 18:17:55 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-02-25 10:40:42 +1100 |
commit | 8d63387744bd01015e7d5f3fee2d9062fecb99b2 (patch) | |
tree | 4372065c4d48d41caee4bc855a831d60671dfd69 /source4/scripting | |
parent | f83e754ae61046fd441cbaf09a825378c3ab2ff2 (diff) | |
download | samba-8d63387744bd01015e7d5f3fee2d9062fecb99b2.tar.gz samba-8d63387744bd01015e7d5f3fee2d9062fecb99b2.tar.bz2 samba-8d63387744bd01015e7d5f3fee2d9062fecb99b2.zip |
Tolerate more whitespace errors
We need to trim trailing spaces in the Microsoft-supplied schema.
Andrew Bartlett
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/ms_schema.py | 1 |
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] |