Skip to content

Can't write binary attribute with lsc 2.2.0 #520

Description

@MikaelUrankar

I'm trying to update my conf to lsc 2.2.2 (from 2.1.6) and lsc doesn't pass unicodePwd as a binary data, it gives an object reference :

unicodePwd: org.mozilla.javascript.NativeJavaArray@216176d0

My lsc.xml:

<ldapConnection>
	<name>Active_Directory</name>
	<url>ldaps://xxx.fr/dc=xxx,dc=xxx</url>
	<authentication>SIMPLE</authentication>
	<pageSize>1000</pageSize>
	<factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
	<binaryAttributes><string>unicodePwd</string></binaryAttributes>
</ldapConnection>

snip

<dataset>
	<name>unicodePwd</name>
	<createValues>
<string>                        
<![CDATA[rjs:  
AD.getUnicodePwd("xxx")
]]>
</string>
	</createValues>
	<delimiter>$</delimiter>
</dataset>

How do I fix that ?
Thanks

OS: FreeBSD
JS engine : RhinoJS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions