On 20/11/2009 14:31, Laurent wrote:
Le jeudi 19 novembre 2009 16:07:54, vous avez écrit :
> Hi,
>
> On 19/11/2009 15:33, Laurent wrote:
> > * And here are the latest errors generated by the command : "clear &&
> > ant -Dsynchronize.parameters="-f $PWD/etc -s all" lsc::synchronize"
>
> [...]
>
> > [java] Caused by: java.lang.ClassNotFoundException:
org.lsc.beans.people
>
> This is because the class "org.lsc.beans.people" doesn't exist.
> It should be "org.lsc.beans.peopleBean" according to the files you
> attached. Set this in the property "lsc.tasks.oracle_2_ldap.bean" in
> lsc.properties.
>
> I looked over all the other files too, and they seem fine, after a quick
> read.
>
> > Thanks for helps,
>
> No problem. Thanks for your patience!
>
> Hope this helps,
> Jonathan
>
Hi,
Here are the latest errors generated by the command : "clear && ant
-Dsynchronize.parameters="-f $PWD/etc -s all" lsc::synchronize"
[java] 51487 - ERROR - Error while adding entry uid=toto,ou=people in
directory : javax.naming.directory.InvalidAttributeValueException:
[LDAP: error code 21 - homeDirectory: value #0 invalid per syntax];
remaining name 'uid=toto,ou=people'
[java] 51487 - ERROR - Erreur rencontrée sur l'identifiant
uid=toto,ou=people:
[java]
[java] dn:: dWlkPWxhw69kb3VuZSxvd ??????????????
[java] changetype: add
[java] uid:: bGHDr2RvdW5l ??????????????
[java] sambaPwdMustChange: 214
[java] uboDateNaissance: 17/02
[java] supannOrganisme: {EES}0
[java] eduPersonAffiliation: em
[java] uidNumber: 212000
[java] radiusTunnelPrivateGroupId: 1
[java] initials:: SGHDr3NzYS5MYcOvZG91bmVA ??????????????
[java] supannEmpId: 12
[java] sambaPwdLastSet: 1126
[java] sambaPwdCanChange: 11260
[java] radiusTunnelType: VL
[java] uboDateCreation: 2009
[java] homeDirectory:: L2hvbWUvbC9sYcOvZG ??????????????
[java] sn:: TGHDr2RvdW5l ??????????????
[java] eduPersonPrimaryAffiliation: em
[java] uboMailRejet: REJECT
[java] mailRoutingAddress:: bGHDr2RvdW5lQHVuaXYt ??????????????
[java] uboMdpInit: {clear}hl1959 ??????????????
[java] sambaLMPassword: FFFFFFFF
[java] sambaPasswordHistory: 0000
[java] cn:: TGHDr2RvdW5lIEhhw69zc2E=
[java] preferredLanguage: fr
[java] gecos:: SGHDr3NzYSBMYcOvZG91bmU= ??????????????
[java] supannListeRouge: FALSE
[java] sambaPrimaryGroupSID: S-1-5-21-34127941
[java] supannAliasLogin:: bGHDr2RvdW5l ??????????????
[java] sambaAcctFlags: [U ]
[java] givenName:: SGHDr3NzYQ== ??????????????
[java] uboLibelleCmp: UBO
[java] userPassword: {clear}hl1959
[java] eduPersonPrincipalName:: bGHDr2Rvd ??????????????
[java] sambaNTPassword: FFFF
[java] sambaGroupType: 2
[java] loginShell: /bin/tcsh
[java] radiusTunnelMediumType: IEEE-802
[java] uboCmp: 0
[java] mail:: bGHDr2RvdW5lQHVuaXY ??????????????
[java] mailLocalAddress:: SGHDr3NzYS5MYcOv ??????????????
[java] uboVerrou: ON
[java] sambaSID: S-1-5-21-3412794192-17
[java] uboAffectPrincAnt: 0
[java] gidNumber: 51000
[java] supannCivilite: M.
[java] displayName:: SGHDr3NzYSBMYcO ??????????????
[java]
I find no reason why there are many fields stange (lines with ????????????)
It is the value of fields from the database?
Hi,
These values are base64 encoded, as indicated by the LDIF syntax
(attributeName followed by TWO colons, like "mail::" instead of
"mail:"). You can decrypt the values to check by using simple tools,
like openssl:
$ echo "TGHDr2RvdW5lIEhhw69zc2E=" | openssl base64 -d
Laïdoune Haïssa
LDIF uses base64 to represent characters that are not ASCII, in this
case the "ï" character.
The actual error you encounter here, however, is "homeDirectory: value
#0 invalid per syntax". So the value for homeDirectory is not valid,
probably because it contains an accent.
Probably these values are not what you want for an email address or home
directory. Your data should be clean in the source, or you could have a
look at FrenchFilters class to clean it using LSC...
Hope this helps,
Jonathan
--
--------------------------------------------------------------
Jonathan Clarke - [email protected]
--------------------------------------------------------------
Ldap Synchronization Connector (LSC) - http://lsc-project.org
--------------------------------------------------------------
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users