Le 30/04/2019 à 17:15, Pilling, Michael a écrit :
>
> Hello all,
>
> thanks for the hint to set the logback.xml to debug.
>
> By the way, if you use the Debian apt sources the files in /etc/lsc
> have the permission rw-r—r--- so it isn’t possible to execute…
>
>  
>
> My connections settings are now fine. But I have a little bit trouble
> with the syntax of the filters.
>
>  
>
> What I want to do sync two Active directories users. Calling ad01 and
> ad02. In each AD is an security group where I find all users to sync.
>
>  
>
> With LDAP I call
> (&(objectClass=user)(objectCategory=person)(memberof=CN=TEST-RADIUS,OU=_Sicherheitsgruppen,OU=xxxx,DC=AD01,DC=xx,DC=it))
>
> And I get the user I want.
>
> But when I try:
>
>  
>
> <getAllFilter>(&amp(objectClass=user)(objectCategory=person)(memberof=CN=TEST-RADIUS,OU=_Sicherheitsgruppen,OU=xxxx,DC=AD01,DC=xx,DC=it))</getAllFilter>
>

I think the issue is in the XML encoding og the & character. It should
be &amp; and not &amp.

You should use CDATA to avoid this kind of mistake:

<getAllFilter><![CDATA[(&(objectClass=user)(objectCategory=person)(memberof=CN=TEST-RADIUS,OU=_Sicherheitsgruppen,OU=xxxx,DC=AD01,DC=xx,DC=it))]]></getAllFilter>


-- 
Clément Oudot | Identity Solutions Manager

[email protected]

Worteks | https://www.worteks.com

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to