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:
parent
f83e754ae6
commit
8d63387744
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user