Hi Martin,
Il 17/03/2016 18:12, Martin Goldstone ha scritto:
Hi All,
I'm currently building a proof of concept using Apache Syncope 1.2.7.
I've managed to create a user by synchronising from our openLDAP
directory, and I've also managed to manually create a user and sync
ldap to it. I've then successfully synchronised with a database
containing additional fields for that user. The accountid field in the
database is contained within the data from LDAP, mapped to an
attribute called roll_number.
I have another database that I want to synchronise additional data for
this user from, but its accountid is roll_number with a prefix of 'K'.
If I manually create another attribute for the user, populate it by
hand with the relevant value beginning with 'K', and set the mapping
accordingly I can synchronise this properly. However, if I set up a
derived attribute for this consisting of 'K'+roll_number, assign this
attribute to the user and set the mappings accordingly, it does not
synchronise the data. The status says success but the execution
history shows it did nothing (Users [created/failures]: 0/0
[updated/failures]: 0/0 [deleted/failures]: 0/0 [no
operation/ignored]: 0/0). I thought of creating a synchronisation
policy, but derived attributes are not listed when creating it.
Can anyone point me in the right direction? Unfortunately I am not in
a position to simply get rid of the 'K' prefix.
Please send me all your resource mapping configurations. I don't
understand if the derived attribute is configured in the first or second
(roll_number with a prefix of 'K') database.
Marco
Thanks.
--
Martin Goldstone
IT Systems Administrator
IT Services, Innovation Centre 1 (IC1)
Keele University, Keele, Staffordshire, United Kingdom, ST5 5NB
Telephone: +44 1782 734457
G+: http://google.com/+MartinGoldstoneKeele
--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570
Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/