<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Requests
    PUBLIC "-//iPlanet//iDSAME 5.0 Admin CLI DTD//EN"
    "file:%IDSAME_BASEDIR%/%IDSAME_PRODUCT_DIR%/dtd/amAdmin.dtd"
>
<Requests>

  <PeopleContainerRequests DN="%PEOPLE_DN%">
    <CreateUser createDN="authlessanonymous">
      <AttributeValuePair>
	<Attribute name="cn"/>
	<Value>authlessanonymous</Value>
      </AttributeValuePair>
      <AttributeValuePair>
	<Attribute name="userPassword"/>
	<Value>authlessanonymous</Value>
      </AttributeValuePair>
      <AttributeValuePair>
        <Attribute name="sunPortalDesktopType"/>
        <Value>anonymous,sampleportal</Value>
      </AttributeValuePair>
    </CreateUser>
  </PeopleContainerRequests>

  <RoleRequests DN="cn=Deny Write Access,%ORG_DN%">
    <AddUsers>
      <DN>%IDSAME_USER_NAMING%=authlessanonymous,%PEOPLE_DN%</DN>
    </AddUsers>
  </RoleRequests>

  <SchemaRequests serviceName="SunPortalDesktopService" SchemaType="Global">
    <AddDefaultValues>
      <AttributeValuePair>
	<Attribute name="sunPortalDesktopAuthorizedAuthlessUIDs"/>
	<Value>%IDSAME_USER_NAMING%=authlessanonymous,%PEOPLE_DN%|authlessanonymous</Value>
      </AttributeValuePair>
    </AddDefaultValues>
  </SchemaRequests>

  <SchemaRequests serviceName="SunPortalDesktopService" SchemaType="Global">
    <AddDefaultValues>
      <AttributeValuePair>
	<Attribute name="sunPortalDesktopDefaultAuthlessUID"/>
	<Value>%IDSAME_USER_NAMING%=authlessanonymous,%PEOPLE_DN%</Value>
      </AttributeValuePair>
    </AddDefaultValues>
  </SchemaRequests>

  <SchemaRequests serviceName="SunPortalDesktopService" SchemaType="Global">
    <ModifyDefaultValues>
      <AttributeValuePair>
        <Attribute name="sunPortalDesktopEnableAuthlessDesktop"/>
        <Value>true</Value>
      </AttributeValuePair>
    </ModifyDefaultValues>
  </SchemaRequests>

  <UserRequests DN="%IDSAME_USER_NAMING%=amadmin,%PEOPLE_DN%">
    <RegisterServices>
        <Service_Name>SunPortalDesktopService</Service_Name>
    </RegisterServices>
  </UserRequests>

</Requests>
