2015-12-22 18:25 GMT+01:00 Jehan Procaccia <[email protected]>:

> Hello
>
> I did succeed a lsc sync from openldap to openldap with a binddn and
> bindpassword
> now I must fetch (pull) entries from an openldap without binddn (anonymous
> acces) . I thought it would be simpler ...
> but is always failed with that error :
>
> *Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a :
> Contenu non valide trouvé à partir de l'élément 'authentication'. L'une des
> valeurs '{"http://lsc-project.org/XSD/lsc-core-2.1.xsd";
> <http://lsc-project.org/XSD/lsc-core-2.1.xsd>:username}' est attendue.*
>
>
> my lsc.xml contain for the source ldap connection:
>
>  <connections>
>     <ldapConnection>
>       <name>stetienne</name>
>       <url>ldap://ldap.ste.fr/ou=people,dc=ste,dc=fr</url>
>       <!-- comment, no binddn available
>            <username>cn=rep,ou=System,dc=ste,dc=fr</username>
>       <password>secret</password>
>          -->
>       <authentication>*NONE*</authentication>
> I also tried from   <authentication>*ANONYMOUS*</authentication> ,
> apparently not suported
> *Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid : La
> valeur 'ANONYMOUS' n'est pas un facet valide par rapport à l'énumération
> '[NONE, SIMPLE, SASL, DIGEST-MD5, GSSAPI]'. Il doit s'agir d'une valeur
> provenant de l'énumération.*
>
> From http://tools.ltb-project.org/attachments/693/lsc.xml => is is
> mention that username is mandatory !?  "*./username mandatory, the DN to
> bind with -->*"
>
> How can I sync PULL with anonymous bind ?
>
>

Hi Jehan,

could you try with <username> and <password> with dummy values, and
<authentication> set to NONE?


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

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to