4.6

Table Of Contents
VMware, Inc. 53
Chapter 4 Customizing LDAP Data
Table 41liststheattributesthatareimportantwhenyoumodifyadesktoppooldefinition.
Inasimilarmannertodesktoppools,youcancreatecustomizedLDIFfilesforotherobjectsthataredefined
intheLDAPrepository,forexample:
Globalconfigurationsettings.
ConfigurationsettingsforaspecificViewConnectionServerinstanceorsecurityserver.
Configurationsettingsforaspecificuser.
Import LDAP Configuration Data
YoucanimportconfigurationdatafromanLDIFfileintoastandardorreplicaViewConnectionServerby
runningthevdmimportcommand.
ThevdmimportcommandisavailablefromVMwareView4.5.Inpreviousreleases,youmustusetheLDIFDE
commandinstead.See“ImportLDAPConfigurationDataUsingtheLDIFDECommand”onpage 54.
By
default,thevdmimportcommandlineutilityisinstalledintheC:\Program Files\VMware\VMware
View\Server\tools\bindirectory.
Thevdmimportcommanddoesnotupdate,create,ordeleteanyLDAPrecordsthatarenotdefinedintheLDIF
file.ThisallowsyoutocustomizeanLDIFfilesothatonlyselectedrecordsareaffectedwhenyouimport
the
file.
YoumustbeloggedintoaViewConnectionServerinstanceasauserintheAdministratorsroletoimport
configurationdatasuccessfullyintotheViewconfigurationrepository.
To import configuration data into a View Connection Server instance
1 SelectStart>CommandPrompt.
2Atthecommandprompt,typethevdmimportcommandandspecifyanexistingLDIFfileasanargument
tothe -foption.
vdmimport -f myexport.LDF
TheconfigurationofyourViewConnectionServerinstanceisupdatedwiththedatafromthefile,andthe
numberofrecordsthathavebeensuccessfullyupdatedisdisplayed.Errorsaredisplayedifsomerecords
couldnotbeupdatedbecauseyourrolehasinsufficientprivileges.
Table 4-1. Important Attributes for Defining a Desktop Pool
Entry Attribute Description
VirtualDesktopVM
VMPool
DesktopApplication
cn Specifiesthecommonnameofanentry.Ifyourequirenamestobe
generatedautomatically,specifygloballyuniqueidentifier(GUID)
strings.YoucanuseanyreliableGUIDgenerator,suchasthe
mechanismprovidedby.NET(forexample,bycalling
System.Guid.NewGuid().ToString()inVisualBasic).
DesktopApplication
member Specifiesalist ofActiveDirectory(AD)usersandgroupswhoare
entitledtoaccessthedesktoppool.Theattributeisspecifiedinthe
formofaWindowsSecurityIdentifier(SID)reference.Amember
valueof<SID=S-1-2-3-4>representsanADuserorgroupwiththe
SIDvalueS-1-2-3-4.InLDIF
format,theleftangle(<)characteris
reserved,soyoumustplacetwocolons(::)aftertheattributename
andspecifytheSIDvalueinbase64format(forexample,
PFNJRD1TLTEtMi0zLTQ+IA==).Becausethisattributeis
multivalued,youcanuseitonmultiplelinestorepresenteachentry
inalist
ofSIDs.