Hello all,

I suddenly got an error I can't find. I alreday looked my file 30 times without success... maybe some other eyes will help me finding my problem ... :)


Here's the error :

/root@master etc]# lsc -s all//
//mars 24 14:17:52 - INFO  - Logging configuration successfully loaded from /etc/lsc/logback.xml// //mars 24 14:17:52 - INFO  - LSC configuration successfully loaded from /etc/lsc/// //mars 24 14:17:52 - INFO  - Connecting to LDAP server ldap://localhost:389/dc=GFB,dc=LAN as cn=manager,ou=Internal,dc=GFB,dc=LAN//
//mars 24 14:17:52 - INFO  - Starting sync for ClearOSIBM//
//mars 24 14:17:53 - ERROR - Fail to compute expression: "cn=" + srcBean.getDatasetFirstValueById("cn") + ",ou=Users,ou=Accounts,dc=GFB,dc=LAN" on id=12000// //Reason: javax.script.ScriptException: <eval>:9:0 Expected } but found eof//
//
//^ in <eval> at line number 9 at column number 0//
//mars 24 14:17:53 - ERROR - Error while synchronizing ID {uidnumber=12000}: org.lsc.exception.LscServiceException: javax.script.ScriptException: <eval>:9:0 Expected } but found eof/

And here's my line of configuration ...

...

<getAllFilter>(&amp;(objectClass=PosixAccount)(sambaDomainName=GFB))</getAllFilter>
<getOneFilter>(&amp;(objectClass=posixaccount)(uidnumber={uidnumber}))</getOneFilter>
</ldapDestinationService>

<propertiesBasedSyncOptions>
       <mainIdentifier>"cn=" + srcBean.getDatasetFirstValueById("cn") + ",ou=Users,ou=Accounts,dc=GFB,dc=LAN"</mainIdentifier>

       <defaultDelimiter>;</defaultDelimiter>

<!--    ./defaultPolicy This mandatory node must contain a string Javascript expression that will enforce the object main identifier.-->

        <defaultPolicy>FORCE</defaultPolicy>



Per advance, thanks to all for your help



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

lsc-users mailing list
lsc-users@lists.lsc-project.org
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to