Skip to content
Permalink
367955155b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
340 lines (320 sloc) 13.1 KB
<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mr="http://prism.evolveum.com/xml/ns/public/matching-rule-3"
oid="6597e333-3f18-478d-84e7-58521a5eec2b" version="1">
<name>Target: AD</name>
<iteration>0</iteration>
<iterationToken/>
<connectorRef type="ConnectorType">
<filter>
<q:equal>
<q:path>c:connectorType</q:path>
<q:value>com.evolveum.polygon.connector.ldap.ad.AdLdapConnector</q:value>
</q:equal>
</filter>
</connectorRef>
<connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
<icfc:configurationProperties xmlns:gen475="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-ldap/com.evolveum.polygon.connector.ldap.ad.AdLdapConnector">
<gen475:host>dc1.ad.example.edu</gen475:host>
<gen475:port>636</gen475:port>
<gen475:connectionSecurity>ssl</gen475:connectionSecurity>
<gen475:authenticationType>simple</gen475:authenticationType>
<gen475:bindDn>CN=Administrator,CN=Users,DC=ad,DC=example,DC=edu</gen475:bindDn>
<gen475:bindPassword>
<t:clearValue>Password1</t:clearValue>
</gen475:bindPassword>
<gen475:baseContext>DC=ad,DC=example,DC=edu</gen475:baseContext>
<gen475:readSchema>true</gen475:readSchema>
<gen475:allowUntrustedSsl>true</gen475:allowUntrustedSsl>
</icfc:configurationProperties>
<icfc:resultsHandlerConfiguration>
<icfc:enableNormalizingResultsHandler>false</icfc:enableNormalizingResultsHandler>
<icfc:enableFilteredResultsHandler>false</icfc:enableFilteredResultsHandler>
<icfc:enableAttributesToGetSearchResultsHandler>false</icfc:enableAttributesToGetSearchResultsHandler>
</icfc:resultsHandlerConfiguration>
</connectorConfiguration>
<schema>
<!-- workaround to MID-2723 -->
<generationConstraints>
<generateObjectClass>ri:user</generateObjectClass>
<generateObjectClass>ri:group</generateObjectClass>
</generationConstraints>
</schema>
<schemaHandling>
<!-- handling of user accounts -->
<objectType>
<kind>account</kind>
<displayName>Default Account</displayName>
<default>true</default>
<objectClass>ri:user</objectClass>
<attribute>
<ref>ri:dn</ref>
<displayName>Distinguished Name</displayName>
<matchingRule>mr:distinguishedName</matchingRule>
<outbound>
<source>
<path>$user/name</path>
</source>
<expression>
<script>
<code>
'CN=' + name + iterationToken + ',CN=Users,DC=ad,DC=example,DC=edu'
</code>
</script>
</expression>
</outbound>
</attribute>
<attribute>
<ref>ri:sAMAccountName</ref>
<displayName>Login name</displayName>
<outbound>
<source>
<path>$user/name</path>
</source>
</outbound>
</attribute>
<attribute>
<ref>ri:cn</ref>
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<outbound>
<source>
<path>$user/name</path>
</source>
</outbound>
</attribute>
<attribute>
<ref>ri:sn</ref>
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<outbound>
<source>
<path>familyName</path>
</source>
</outbound>
</attribute>
<attribute>
<ref>ri:givenName</ref>
<outbound>
<source>
<path>givenName</path>
</source>
</outbound>
</attribute>
<attribute>
<ref>ri:userPrincipalName</ref>
<outbound>
<source>
<path>$user/name</path>
</source>
<expression>
<script>
<code>
name + iterationToken + '@ad.example.edu'
</code>
</script>
</expression>
</outbound>
</attribute>
<attribute><!-- Password expired: -1: not expired; 0: expired ("User must change password at next logon") -->
<ref>ri:pwdLastSet</ref>
<outbound>
<expression>
<value>-1</value>
</expression>
</outbound>
</attribute>
<attribute>
<ref>ri:createTimeStamp</ref>
<fetchStrategy>explicit</fetchStrategy>
</attribute>
<attribute>
<ref>ri:nTSecurityDescriptor</ref>
<!-- This is defined as mandatory in top object class.
But it is not really mandatory. Well done Microsoft. -->
<limitations>
<minOccurs>0</minOccurs>
</limitations>
</attribute>
<attribute>
<ref>ri:instanceType</ref>
<!-- This is defined as mandatory in top object class.
But it is not really mandatory. Well done Microsoft. -->
<limitations>
<minOccurs>0</minOccurs>
</limitations>
</attribute>
<attribute>
<ref>ri:objectCategory</ref>
<!-- This is defined as mandatory in top object class.
But it is not really mandatory. Well done Microsoft. -->
<!-- Be sure to update the suffix/value for your domain !!! -->
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<outbound>
<expression>
<value>CN=Person,CN=Schema,CN=Configuration,DC=ad,DC=example,DC=edu</value>
</expression>
</outbound>
</attribute>
<!--
<attribute>
<ref>ri:showInAdvancedViewOnly</ref>
<outbound>
<source>
<path>extension/showInAdvancedViewOnly</path>
</source>
</outbound>
</attribute>
-->
<association>
<ref>ri:group</ref>
<displayName>AD Group Membership</displayName>
<kind>entitlement</kind>
<intent>group</intent>
<direction>objectToSubject</direction>
<associationAttribute>ri:member</associationAttribute>
<valueAttribute>ri:dn</valueAttribute>
<shortcutAssociationAttribute>ri:memberOf</shortcutAssociationAttribute>
<shortcutValueAttribute>ri:dn</shortcutValueAttribute>
<explicitReferentialIntegrity>false</explicitReferentialIntegrity>
</association>
<activation>
<administrativeStatus>
<outbound/>
</administrativeStatus>
</activation>
<credentials>
<password>
<outbound/>
</password>
</credentials>
</objectType>
<objectType>
<kind>entitlement</kind>
<intent>group</intent>
<displayName>AD Group</displayName>
<default>true</default>
<objectClass>ri:group</objectClass>
<attribute>
<ref>ri:dn</ref>
<matchingRule>mr:stringIgnoreCase</matchingRule>
<outbound>
<source>
<path>$focus/name</path>
</source>
<expression>
<script>
<code>
'CN=' + name + ',CN=Users,DC=ad,DC=example,DC=edu'
</code>
</script>
</expression>
</outbound>
</attribute>
<attribute>
<ref>ri:cn</ref>
<matchingRule>mr:stringIgnoreCase</matchingRule>
<outbound>
<source>
<path>$focus/name</path>
</source>
</outbound>
<inbound>
<target>
<path>name</path>
</target>
</inbound>
</attribute>
<attribute>
<ref>ri:description</ref>
<outbound>
<strength>strong</strength>
<source>
<path>description</path>
</source>
</outbound>
<inbound>
<target>
<path>description</path>
</target>
</inbound>
</attribute>
</objectType>
</schemaHandling>
<synchronization>
<objectSynchronization>
<name>Account sync</name>
<objectClass>ri:user</objectClass>
<kind>account</kind>
<intent>default</intent>
<focusType>UserType</focusType>
<enabled>true</enabled>
<correlation>
<q:equal>
<q:path>c:name</q:path>
<expression>
<path>$shadow/attributes/sAMAccountName</path>
</expression>
</q:equal>
</correlation>
<reaction>
<situation>linked</situation>
<synchronize>true</synchronize>
</reaction>
<reaction>
<situation>deleted</situation>
<action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri></action>
</reaction>
<reaction>
<situation>unlinked</situation>
<action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri></action>
</reaction>
<reaction>
<situation>unmatched</situation>
<!-- <action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri></action>-->
</reaction>
</objectSynchronization>
<objectSynchronization>
<name>Group sync</name>
<objectClass>ri:group</objectClass>
<kind>entitlement</kind>
<intent>group</intent>
<focusType>RoleType</focusType>
<enabled>true</enabled>
<correlation>
<q:equal>
<q:path>c:name</q:path>
<expression>
<path>$shadow/attributes/cn</path>
</expression>
</q:equal>
</correlation>
<reaction>
<situation>linked</situation>
<synchronize>true</synchronize>
</reaction>
<reaction>
<situation>deleted</situation>
<action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri></action>
</reaction>
<reaction>
<situation>unlinked</situation>
<action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri></action>
</reaction>
<reaction>
<situation>unmatched</situation>
<!-- <action><handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri></action>-->
</reaction>
</objectSynchronization>
</synchronization>
</resource>