The Single-Sign On part of XenApp 6.5 requires the Active Directory Schema and Domain to be extended. On the installation media for XenApp 6.5 in the following path D:\Support\Password_Manager\Tools there is two executables CtxSchemaPrep and CtxDomainPrep these executable call the LDIFDE tool to create the required partitions.
Open an Administrative Command Prompt and change directory to the D:\Support\Password_Manager\Tools location on the Citrix XenApp media. You use the CtxSchemaPrep command first, and it fails with LDIFDE Returned the Following Error Code: 5
If you browse to the current users root profile folder and open the lfid.log file, you will see a number of errors Insufficient Rights. I checked the Schema Master FSMO role was available and online, NetDom can be used to query the FSMO role holders.
netdom query fsmo
The issue was because the user account I was running CtxSchema and CtxDomainPrep from an account that was not a member of the Enterprise Admins group.
I also used the following command to register the Schema.
Retried the CtxSchemaPrep first and it completed successfully.
Retried the CtxDomainPrep first and it completed successfully.
You should now be able to continue with the installation of XenApp 6.5