In the application, the user exist.

When i'm granting an account, the matching rule return "No match found",
but the creation returned error


Code:
--------------------
[01/14/14 12:03:37.970]:sapPortalDefault ST:Policy returned:
[01/14/14 12:03:37.970]:sapPortalDefault ST:
<nds dtdversion="2.0">
<source>
<product build="20100202_131201" instance="SAP Portal Driver" version="3.6.1">Novell Identity Manager Driver 3.6.1 for SAP Portal</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<batchResponse errorCode="urnasis:names:tc:SPML:1:0#customError" requestID="request-1389711817297test100" result="urnasis:names:tc:SPML:1:0#failure" xmlns="urnasis:names:tc:SPML:1:0" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<errorMessage xmlns="">Exception when processing a single request, check log file</errorMessage>
<status event-id="tenaris-meta2#20140114150335#1#1:b00b307d-2464-445e-73be-7d300bb06424" level="error" type="app-general" xmlns:ncs="http://www.novell.com/nxsl/java/com.novell.ncs.dirxml.utilities.Utils">urnasis:names:tc:SPML:1:0#malformedRequest; Exception when creating user :User with unique name "test100" already exists: Size=1 [USER.PRIVATE_DATASOURCE.un:test100]<operation-data>
<errorMessage>
<errorMessage xmlns="">Exception when creating user :*User with unique name "test100" already exists*: Size=1 [USER.PRIVATE_DATASOURCE.un:test100]</errorMessage>
<operation-data parent-node-1="addResponse" xmlns="">
<return-to-me cached-time="20140114150336.154Z" class-name="sapuser" command="add" dest-dn="USER.PRIVATE_DATASOURCE.un:test100" event-id="tenaris-meta2#20140114150335#1#1:b00b307d-2464-445e-73be-7d300bb06424" qualified-src-dn="O=Meta\OU=Accounts\OU=People\CN=test100" src-dn="\IDM_TREE\Meta\Accounts\People\test100" src-entry-id="35483" timestamp="1389711815#1"/>
</operation-data>
</errorMessage>
</operation-data>
</status>
<status event-id="" level="error" type="app-general" xmlns:ncs="http://www.novell.com/nxsl/java/com.novell.ncs.dirxml.utilities.Utils">urnasis:names:tc:SPML:1:0#malformedRequest; Exit on error in batch request<operation-data>
<errorMessage/>
</operation-data>
</status>
</batchResponse>
</output>
</nds>
--------------------


Default Matching Rule


Code:
--------------------
[01/14/14 12:03:36.262]:sapPortalDefault ST:Applying policy: %+C%14CNOVLPORTB-sub-mp-defaultMatching%-C.
[01/14/14 12:03:36.262]:sapPortalDefault ST: Applying to add #1.
[01/14/14 12:03:36.263]:sapPortalDefault ST: Evaluating selection criteria for rule 'user'.
[01/14/14 12:03:36.263]:sapPortalDefault ST: (if-class-name equal "User") = TRUE.
[01/14/14 12:03:36.263]:sapPortalDefault ST: Rule selected.
[01/14/14 12:03:36.263]:sapPortalDefault ST: Applying rule 'user'.
[01/14/14 12:03:36.263]:sapPortalDefault ST: Action: do-find-matching-object(scope="entry",arg-dn(token-attr("CN")),arg-match-attr("CN")).
[01/14/14 12:03:36.264]:sapPortalDefault ST: arg-dn(token-attr("CN"))
[01/14/14 12:03:36.264]:sapPortalDefault ST: token-attr("CN")
[01/14/14 12:03:36.264]:sapPortalDefault ST: Token Value: "test100".
[01/14/14 12:03:36.264]:sapPortalDefault ST: Arg Value: "test100".
[01/14/14 12:03:36.268]:sapPortalDefault ST: arg-match-attr("CN")
[01/14/14 12:03:36.268]:sapPortalDefault ST: Query from policy
--------------------



Any idea of because does not matching?

Any idea about the error: "urnasis:names:tc:SPML:1:0#malformedRequest;
Exit on error in batch request"

Thanks.


--
letroncoso
------------------------------------------------------------------------
letroncoso's Profile: https://forums.netiq.com/member.php?userid=743
View this thread: https://forums.netiq.com/showthread.php?t=49679