1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Tolerate more whitespace errors

We need to trim trailing spaces in the Microsoft-supplied schema.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2009-01-09 18:17:55 +11:00
parent f83e754ae6
commit 8d63387744

View File

@ -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]