CMDBuild Forum

Spaces in OU for LDAP Basic Connector

Hello everyone,

 

i'm trying to set up a basic connector to our Active Directory.

The connection itself is working, but when searching for the OU where our Users are stored i have to go through an OU which includes Spaces in its name, and this seems the basic-connector interprets it as the end of the parameter.

My question is, how can i tell the connector to use the space as part of the OU-name?

 

i am running CMDBUILD 2.3.3 with basic-connector 1.5.0

my configuration.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

        <cmdbuild>

                <ServerAddress>127.0.0.1</ServerAddress>

                <ServerContext>cmdbuild</ServerContext>

                <ServerPort>8080</ServerPort>

                <Username>cmdbuild</Username>

                <Password>mysecert</Password>

        </cmdbuild>

 

        <serverldap>

                <ServerAddress>172.16.1.205</ServerAddress>

                <Port>389</Port>

                <User>service@company.com</User>

                <Password>alsosecret</Password>

                <SSL>0</SSL>

                <DNS>OU=Benutzer,OU=Company Ges.m.b.H.,DC=company,DC=com</DNS>

                <AdditionalDN></AdditionalDN>

                <Search>ojectClass=user</Search>

                <Class>User</Class>

               <Attributes>employeeID,givenName,sn,initials,mail,telephoneNumber,mobile,title,department,Enabled,postOfficeBox,st,wWWHomePage</Attributes>

                <Key>mail</Key>

        </serverldap>

</configuration>

 

and via Wireshark i see this LDAP-request on the DC:

LDAPMessage searchRequest(2) "OU=Benutzer,OU=Company" wholeSubtree

 

Thanks for any help,

Daniel