Hi there everybody,

I'm working with IDM since 2 months ago, so I'm still learning a lot.
I'm trying to get 2 collumns from a database (publisher) bringing them
to edir.
Using the first collumn to create a CN of a group and the second to
create a Member of the same group.
I created others drivers to create this group using CN, but is the first
time I'm using the Member attribute and this simply doesnt work!

I tried to import it directly, without success. I tried to use Command
Transformation with the action 'reformat operation attribute' aiming
change the database value in a real cn=blabla,ou=users,o=company, same
without success.

This is the error I get:

[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT:Applying policy:
%+C%14CTrata valor campo Member 2%-C.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Applying to add
#1.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Evaluating
selection criteria for rule 'Trata valor variavel Member'.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: (if-attr
'Member' available) = TRUE.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Rule selected.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Applying rule
'Trata valor variavel Member'.
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Action:
do-reformat-op-attr("Member","cn="+token-attr("Member")+",ou=funcionarios,ou=usuarios,o=mrs ").
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT:
arg-string("cn="+token-attr("Member")+",ou=funcionarios,ou=usuarios,o=mrs ")
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT:
token-text("cn=")
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT:
token-attr("Member")
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Token
Value: "30017631".
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT:
token-text(",ou=funcionarios,ou=usuarios,o=mrs")
[12/26/12 19:29:59.655]:mrsPerfil_x_UsuaChaveAut PT: Arg Value:
"cn=30017631,ou=funcionarios,ou=usuarios,o=mrs ".
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Policy returned:
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:
<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20120601_0445" instance="mrsPerfil_x_UsuaChaveAut"
version="3.5.9">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add class-name="Group"
dest-dn="\MRS_IDVAULT\mrs\grupos\Perfis_AUT\G_5371-CS1_AUT"
event-id="PK_CD_GRUPO_CCSS_ACES=G_5371-CS1_AUT,table=IST_PERF_USUA_CHAVE_ATTC_RBPM,schema =ADM_IST"
src-dn="PK_CD_GRUPO_CCSS_ACES=G_5371-CS1_AUT,table=IST_PERF_USUA_CHAVE_ATTC_RBPM,schema =ADM_IST">
<association
state="associated">PK_CD_GRUPO_CCSS_ACES=G_5371-CS1_AUT,table=IST_PERF_USUA_CHAVE_ATTC_RBPM,schema =ADM_IST</association>
<add-attr attr-name="Member">
<value
type="string">cn=30017631,ou=funcionarios,ou=usuar ios,o=mrs</value>
</add-attr>
<add-attr attr-name="CN">
<value type="string">G_5371-CS1_AUT</value>
</add-attr>
</add>
</input>
</nds>
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Filtering out
notification-only attributes.
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Pumping XDS to
eDirectory.
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Performing operation
add for \MRS_IDVAULT\mrs\grupos\Perfis_AUT\G_5371-CS1_AUT.
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:--JCLNT--
\MRS_IDVAULT\mrs\servicos\DriverSet\mrsPerfil_x_Us uaChaveAut - Publisher
: Duplicating : context = 1721696388, tempContext = 1721696425
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Adding entry
\MRS_IDVAULT\mrs\grupos\Perfis_AUT\G_5371-CS1_AUT.
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:Creating RDN
G_5371-CS1_AUT in context \MRS_IDVAULT\mrs\grupos\Perfis_AUT.
[12/26/12 19:29:59.670]:mrsPerfil_x_UsuaChaveAut PT:--JCLNT--
\MRS_IDVAULT\mrs\servicos\DriverSet\mrsPerfil_x_Us uaChaveAut - Publisher
: Calling free on tempContext = 1721696425
[12/26/12 19:29:59.889]:mrsPerfil_x_UsuaChaveAut PT:
DirXML Log Event -------------------
Driver:
\MRS_IDVAULT\mrs\servicos\DriverSet\mrsPerfil_x_Us uaChaveAut
Channel: Publisher
Object:
PK_CD_GRUPO_CCSS_ACES=G_5371-CS1_AUT,table=IST_PERF_USUA_CHAVE_ATTC_RBPM,schema =ADM_IST
(\MRS_IDVAULT\mrs\grupos\Perfis_AUT\G_5371-CS1_AUT)
Status: Error
Message: Code(-9010) An exception occurred:
novell.jclient.JCException: createEntry -613 ERR_SYNTAX_VIOLATION


My filter is:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE filter PUBLIC
"dirxmlfilter" "C:\Program Files
(x86)\Novell\Designer\plugins\com.novell.idm.filte r_4.0.0.201206110753\DTD\dirxmlfilter.dtd"><filter >
<filter-class class-name="Group" publisher="sync" subscriber="ignore">
<filter-attr attr-name="CN" merge-authority="default" publisher="sync"
publisher-optimize-modify="true" subscriber="ignore"/>
<filter-attr attr-name="Member" merge-authority="default"
publisher="sync" publisher-optimize-modify="true" subscriber="ignore"/>
</filter-class>
</filter>

Could someone help into this?
Tnks!


--
jpgalocha
------------------------------------------------------------------------
jpgalocha's Profile: https://forums.netiq.com/member.php?userid=2741
View this thread: https://forums.netiq.com/showthread.php?t=46447