fixed line-folding bug in to_ldif
This commit is contained in:
parent
da6b81dd39
commit
1eab2924f6
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class LDAP
|
|||
unless k == :dn
|
||||
v.each {|v1|
|
||||
v2 = if (k == :userpassword) || is_attribute_value_binary?(v1)
|
||||
": #{Base64.encode64(v1).chomp}"
|
||||
": #{Base64.encode64(v1).chomp.gsub(/\n/m,"\n ")}"
|
||||
else
|
||||
" #{v1}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue