VMware Horizon Community
bdseymour
Contributor
Contributor

Default Domain for View Clients

I have 2 domains. ad.sy and when my view sessions log in they get the ad first and have to change to the sy domain. Does anyone know of a way of changing this? 

Reply
0 Kudos
10 Replies
mittim12
Immortal
Immortal

Do they use the ad.sys domain?  if not maybe you can filter the domain all together?    I'm also moving this over to the View Manager forum for better visibility.

Reply
0 Kudos
bdseymour
Contributor
Contributor

So I got this backwards..should of been sy.ad domain. they are users of sy but it defualts to ad which is the parent domain. I wanted to eclude ad all together if I can.

Reply
0 Kudos
mittim12
Immortal
Immortal

The command is below and is run from the connection brokers.

vdmadmin -N -domains [-s server] {-include | -exclude | -search}   {-add | -remove | -removeall} [-domain domain] ; Set broker domain configuration
                                        ; (exclude takes precedence)

Reply
0 Kudos
bdseymour
Contributor
Contributor

vdmadmin -N -domains [-s server] {-include | -exclude | -search} {-add | -remove | -removeall} [-domain domain] ; Set broker domain configuration
; (exclude takes precedence)

So to break this into reality: vdmadmin -N -ad -exclude

Is that correct?

Reply
0 Kudos
mittim12
Immortal
Immortal

bdseymour wrote:

vdmadmin -N -domains [-s server] {-include | -exclude | -search} {-add | -remove | -removeall} [-domain domain] ; Set broker domain configuration
; (exclude takes precedence)

So to break this into reality: vdmadmin -N -ad -exclude

Is that correct?

I haven't done it before but I'm thinking vdmadmin -N -domains ad -exclude 

Reply
0 Kudos
bdseymour
Contributor
Contributor

vdmadmin -N -domains -exclude -remove -domain ad

Error: Failed to configure domain configuration (The domain ad is not present in this list so cannot be removed)

What is the syntax to view what it currently sees?

Reply
0 Kudos
mittim12
Immortal
Immortal

vdmadmin -N -domains -list -active 

Reply
0 Kudos
bdseymour
Contributor
Contributor

So that shows me:

C:\Users\a-seymoubd>vdmadmin -N -domains -list -active

Domain Information (LMC-BROKER-P02)

===================================

Primary Domain: sy.ad

Domain: AD

Domain: SY

So sholuldn't I be able to do:

vdmadmin -N -domains -exclude -remove -domain AD

and have that work or would that also remove sy.ad?

Reply
0 Kudos
npeter
Expert
Expert

Hi,

The command mittim12 mentioned is correct.

Please try it this way..

vdmadmin -N -domains -exclude -add -domain ad

Additionally to specify particular connection server,use -s <server> parameter.

To get more help on command, type: vdmadmin -N -help    This will give a list of examples too.

Regards

-nObLe
bdseymour
Contributor
Contributor

that worked great!!!

Reply
0 Kudos