mirror of
https://github.com/samba-team/samba.git
synced 2025-07-14 12:59:07 +03:00
Tolerate more whitespace errors
We need to trim trailing spaces in the Microsoft-supplied schema. Andrew Bartlett
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user