[midPoint] midPoint connection to a sharepoint foundation list

Cláudio Neves nevesjcg at gmail.com
Mon Feb 10 17:11:03 CET 2020


Hi  *Petr Gašparík,*

As I said, I'm trying to access a sharepoint list with the code:

<connectorConfiguration xmlns:icfc="
http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3
">

        <icfc:configurationProperties xmlns:gen109="
http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-databasetable/org.identityconnectors.databasetable.DatabaseTableConnector
">

            <gen109:host>PSPF01\SharePoint</gen109:host>

            <gen109:port>1433</gen109:port>

            <gen109:user>SOF\SP_Farm</gen109:user>


<gen109:database>WSS_Content_7ab4627d98cd4f8fa90a0ad2213e7a7e</gen109:database>

            <gen109:table>Agentes Públicos</gen109:table>

            <gen109:keyColumn>CPF</gen109:keyColumn>


<gen109:jdbcDriver>com.microsoft.sqlserver.jdbc.SQLServerDriver</gen109:jdbcDriver>


<gen109:jdbcUrlTemplate>jdbc:sqlserver://%h:%p/%d?useUnicode=true&characterEncoding=utf8&connectionCollation=utf8_bin</gen109:jdbcUrlTemplate>

            <gen109:enableEmptyString>false</gen109:enableEmptyString>



The error that appears:


Unexpected runtime error




com.microsoft.sqlserver.jdbc.SQLServerException: The port number
1433/WSS_Content_7ab4627d98cd4f8fa90a0ad2213e7a7e?useUnicode=true&characterEncoding=utf8&connectionCollation=utf8_bin
is not valid.



There is no rule denying access to port 1433 on FIrewall and the SQL Server
Express.


I'm not sure about:


1) Is the DatabaseTable connector the best alternative to access Sharepoint
Foundation Lists?

2) The jdbcUrlTemplate can be constructed in such way?

3) Is there any example implemented?



I can't find any practical examples with this configuration on the web.


Regards.







Em sex., 7 de fev. de 2020 às 05:19, Petr Gašparík - AMI Praha a.s. <
petr.gasparik at ami.cz> escreveu:

> Hi Cláudio,
> what is your use case?
>
> --
>
> s pozdravem
>
> *Petr Gašparík*
> konzultant IT bezpečnosti
>
> gsm: [+420] 603 523 860
> e‑mail: petr.gasparik at ami.cz
>
> *AMI Praha a.s.*
> Pláničkova 11, 162 00 Praha 6
>
> tel.: [+420] 274 783 239 | web: www.ami.cz
>
> [image: AMI Praha a.s.]
>
> Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá
> za společnost AMI Praha a.s.
> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
> písemnou formu.
>
> Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může
> obsahovat důvěrné nebo osobní
> informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv
> zveřejňování, zprostředkování
> nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail
> neoprávněně, informujte o tom prosím
> odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně
> všech jeho příloh. Nakládáním
> s neoprávněně získanými informacemi se vystavujete riziku právního postihu.
>
>
> čt 6. 2. 2020 v 15:40 odesílatel Cláudio Neves <nevesjcg at gmail.com>
> napsal:
>
>> Dear colleagues,
>>
>> I am unsuccessfully trying to connect midPoint to a Sharepoint foundation
>> list. I'm asking for practical implemented examples or suggestions to
>> accomplish this task. It is important to retrieve HR data and import to
>> midpoint. Thanks in advance.
>>
>> Cláudio.
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200210/7fd98842/attachment.htm>


More information about the midPoint mailing list