Thank You for all of your help. I'm past most of the issues. Now I just need to sync user passwords. Any hints on how to get this done. I'm getting the following errors.
[LDAP: error code 19 - Pre-encoded passwords are not allowed for the password attribute userPassword]; Regards, Robert On Thu, Apr 20, 2017 at 11:22 AM, <[email protected]> wrote: > Send lsc-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lsc-users digest..." > > > Today's Topics: > > 1. javadoc link error (ℜ Christian Iuga) > 2. getDatasetValuesById don't work same as > getDatasetFirstValueById ? (ℜ Christian Iuga) > 3. Re: Questions about Syncing CN to UID, why lowercase gets > mapped to uppercase and error LDAP 65 (Clément OUDOT) > 4. Re: javadoc link error (Clément OUDOT) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 20 Apr 2017 16:40:10 +0200 > From: ℜ Christian Iuga <[email protected]> > To: [email protected] > Subject: [lsc-users] javadoc link error > Message-ID: > <CAFoiXFJUa3fnA+x5SGTZTQzStoTXxb3xKFobmE- > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I'm trying to browser javadoc ( from the page > https://lsc-project.org/documentation/latest/start ) > > we got these links : > > Java API --> http://lsc-project.org/javadoc/2.0-SNAPSHOT/ > > This can be very useful to get a function name to call from > SyncOptions in the configuration file (see LscBean --> > http://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/beans/LscBean.html > , AD --> .. , ScriptableJndiServices, DateUtils…) > > All of them are redirecting to a error page ... > > > Regards > > > ------------------------------ > > Message: 2 > Date: Thu, 20 Apr 2017 16:55:13 +0200 > From: ℜ Christian Iuga <[email protected]> > To: [email protected] > Subject: [lsc-users] getDatasetValuesById don't work same as > getDatasetFirstValueById ? > Message-ID: > <CAFoiXFK3S+k4oWyDhTadaNioOh7d75RY9XyetwjGdKP= > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I'm trying to sync GroupOfNames with lsc > > this line work : > > <string>js:srcBean.getDatasetFirstValueById(' > member').replace("dc=XXX,dc=XXX","dc=YYY,dc=YYY")</string> > > but give only one line of the source (indeed as it's the FirstValue ) > > if i replace getDatasetFirstValueById with getDatasetValuesById is not > working at all : > > <string>js:srcBean.getDatasetValuesById('member') > .replace("dc=XXX,dc=XXX","dc=YYY,dc=YYY")</string> > > i got a error when create the sync : > > avr. 20 16:45:59 - ERROR - Fail to compute expression: > srcBean.getDatasetValuesById('member').replace("dc=XXX,dc= > XXX","dc=YYY,dc=YYY") > on id=cn=external-solar,ou=Group,dc=allclient,dc=com > Reason: javax.script.ScriptException: > sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find > function replace in object [uid=jpt,ou=...., uid=cia,ou=....]. > (<Unknown source>#3) in <Unknown source> at line number 3 > > i have saw a similar issue in mailing list : > > https://lists.lsc-project.org/pipermail/lsc-users/2015-January/002376.html > > but it's look over-complex for this simple usage ... > > Thanks in advance > > > ------------------------------ > > Message: 3 > Date: Thu, 20 Apr 2017 17:16:52 +0200 > From: Clément OUDOT <[email protected]> > To: [email protected] > Subject: Re: [lsc-users] Questions about Syncing CN to UID, why > lowercase gets mapped to uppercase and error LDAP 65 > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > > > Le 20/04/2017 à 15:57, Robert Czipo a écrit : > > > > Hello Everyone, > > Hello Robert, > > > > > I have a few issues/questions to ask. I hope someone can help. > > > > 1. Why when I sync my live ldap with the backup ldap does the > > uid=Robert.czipo i live get Changed to CN=Robert Czipo in the backup > > ldap(see image below). Does it have to do with the mainIdentifier > > below? can I add two to include uid or combine? > > > > <mainIdentifier>js:"cn=" + > > javax.naming.ldap.Rdn.escapeValue(srcBean.getDatasetFirstValueById("cn") > ) > > + ",ou=Secure,ou=MIS,ou=People,dc=unfpa,dc=org"</mainIdentifier> > > > > > > Inline image 1 > > > > Yes, you configured the main identifier to use the "cn" attribute, so > LSC apply this rule. To have uid in mainIdentifier, replace it by: > > <mainIdentifier>js:"uid=" + > javax.naming.ldap.Rdn.escapeValue(srcBean.getDatasetFirstValueById("uid")) > + ",ou=Secure,ou=MIS,ou=People,dc=unfpa,dc=org"</mainIdentifier> > > Using uid is common with standard LDAPv3 directories, but cn is common > with AD. > > > 2. Not sure why first letter for first and last name are lowercae in > > live and capitals in the backup ldap(see image above). not sure how to > > stop this. > > > > Don't know. LSC does not transform values unless you tell it to do so, > with .toLowerCase() method for example. > > > and #3 > > > > I'm trying to sunc an attribute called inetUserStatus from live to > > backup,but I'm getting this error. > > > > The error seems clear: > > > ... violates the Directory Server schema configuration because it > includes attribute inetUserStatus which is not allowed by any of the > objectclasses defined in that entry > > You can't add an attribute in an entry if this attribute is not allowed > by objectClasses. For this point you need to learn some LDAP basics. > > -- > Clément OUDOT > Consultant en logiciels libres, Expert infrastructure et sécurité > Savoir-faire Linux > 137 boulevard de Magenta - 75010 PARIS > Blog: http://sflx.ca/coudot > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.lsc-project.org/pipermail/lsc-users/ > attachments/20170420/997b82ad/attachment-0001.html> > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: image/png > Size: 9291 bytes > Desc: not available > URL: <http://lists.lsc-project.org/pipermail/lsc-users/ > attachments/20170420/997b82ad/attachment-0001.png> > > ------------------------------ > > Message: 4 > Date: Thu, 20 Apr 2017 17:21:59 +0200 > From: Clément OUDOT <[email protected]> > To: [email protected] > Subject: Re: [lsc-users] javadoc link error > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > > > Le 20/04/2017 à 16:40, ℜ Christian Iuga a écrit : > > Hi, > > > > I'm trying to browser javadoc ( from the page > > https://lsc-project.org/documentation/latest/start ) > > > > we got these links : > > > > Java API --> http://lsc-project.org/javadoc/2.0-SNAPSHOT/ > > > > This can be very useful to get a function name to call from > > SyncOptions in the configuration file (see LscBean --> > > http://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/beans/LscBean.html > > , AD --> .. , ScriptableJndiServices, DateUtils…) > > > > All of them are redirecting to a error page ... > > > Hello Christian, > > you are right, this was lost in server migration. > > I just published the javadoc for 2.1: > https://lsc-project.org/javadoc/2.1-SNAPSHOT/ > > I opened an issue to work on javadoc automatic publication: > https://github.com/lsc-project/lsc/issues/15 > > > -- > Clément OUDOT > Consultant en logiciels libres, Expert infrastructure et sécurité > Savoir-faire Linux > 137 boulevard de Magenta - 75010 PARIS > Blog: http://sflx.ca/coudot > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > lsc-users mailing list > [email protected] > https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users > > ------------------------------ > > End of lsc-users Digest, Vol 87, Issue 12 > ***************************************** > -- ------------------------------ [image: UNFPA] <http://www.unfpa.org/> <https://www.facebook.com/UNFPA> <https://twitter.com/unfpa> <https://instagram.com/unfpa/> <https://www.linkedin.com/company/unfpa> <https://www.youtube.com/user/unfpa> <https://plus.google.com/+unfpa/posts> <http://visitor.r20.constantcontact.com/manage/optin?v=001-YNFZmXHhSP25d9kiBTi0ZxtEwaeIcM-UeLsaXPKYoHs5SAGE1WbNakIrfhkc_3wTTkXkKXbHJpBnXtbqkTATg_O174jFAyLQdNkQkPKQAk=&MERGE0=>
_______________________________________________________________ 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

