In the LDAP request, you will see that the cn value is not replaced
(cn={cn}), this probably means that the value has not been well read from
the database (either a null or an empty value)

Regads,

2011/9/16 Michael Frank <[email protected]>

> For some reasons i didn`t received this mail via the mailinglist - got it
> from the digest... *confused
>
> >Date: Thu, 15 Sep 2011 16:43:39 +0200
> >From: Xavier Montagutelli <[email protected]**>
> >Subject: Re: [lsc-users] modify does not work / mysql > openldap
> >To: [email protected].**org <[email protected]>
> >Message-ID: 
> ><201109151643.40010.xavier.**[email protected]<[email protected]>
> >
> >Content-Type: Text/Plain;  charset="iso-8859-1"
>
>
> > I think it looks good so far - err=68 means "Already Exists" ...
> > > same as in the the lsc logs.
> > > What i don`t get: Why is there an ADD - it should be MODIFY ?!
> > > How does lsc decide if it sends a add or a modify to openldap ?
> > > For me it seems like lcp does not compare the entries mysql <> ldap.
> > > What are necessary settings ?
>
> >Do you have a "cn" returned in your sql-map-config.d/XXX.xml file ?
> >(in the select with id="getInetOrgPersonList_stud_**vbk")
>
>
> What do you mean with "cn" returned ?
>
> Here`s my config :
>
> <sqlMap namespace="InetOrgPerson_stud_**vbk">
>
>        <select id="getInetOrgPerson_stud_vbk" 
> resultClass="java.util.**HashMap"
> parameterClass="java.util.Map"**>
>                Select  uid as uid,
>                        benutzername as cn,
>                        nachname as sn,
>                        email as mail,
>                        stg as description,
>                        passwort as userPassword
>                FROM tbl_stu
>                WHERE uid = #uid#
>        </select>
>
>        <select id="getInetOrgPersonList_stud_**vbk"
> resultClass="java.util.**HashMap">
>                SELECT uid
>                FROM tbl_stu WHERE stg ='VBK'
>        </select>
>
> </sqlMap>
>
> There is the Rest of the Config and Logs :
> http://pastebin.com/tvFuA8wQ
>
>
>
> Best regards,
> micha
> ______________________________**______________________________**___
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected].**org <[email protected]>
> http://lists.lsc-project.org/**listinfo/lsc-users<http://lists.lsc-project.org/listinfo/lsc-users>
>



-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/
_______________________________________________________________
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