HP ProLiant xw2x220c Remote Graphics Software 5.3.0 User Guide - Page 64

Chaining custom GINA modules for Easy Login, 1. Install time specification of the custom GINA module

Page 64 highlights

6. To actually enable Easy Login, set the value of the GinaDllMode key to the text "HprEasyLogin". Confirm the spelling before closing. Figure 3-16 shows the registry key contents: Figure 3-16 Addition of the GinaDllMode key to the registry 7. Restart the computer. The hprgina.dll module will be loaded by WinLogon when started. Summary-If the GinaDLL key does not currently exist in the registry, Microsoft's default GINA DLL (msgina.dll) is loaded by WinLogon. Adding the GinaDLL registry key, and setting its value to hprgina.dll, informs WinLogon to load the hprgina.dll instead of the default msgina.dll. The hprgina module is a chaining GINA DLL. When the RGS hprgina.dll is loaded by WinLogon, the hprgina module loads the msgina.dll shared library. The hprgina module chains (forwards) all GINA requests to the msgina.dll module. Chaining custom GINA modules for Easy Login If it is determined in step 3 above that the GinaDLL registry key does exist, and the value of the key is not msgina.dll, then a custom GINA module is currently loaded and being used by WinLogon. Custom GINA modules provide custom authentication dialogs or even custom user authentication methods. If it is determined that functionality of both the RGS Easy Login and a custom GINA module is required, the hprgina.dll needs further configuration. The hprgina.dll module needs to be set up to load the custom GINA module rather than the default msgina.dll as described above. There are three ways to enable the hprgina.dll module to load a custom GINA module: 1. Install time specification of the custom GINA module A custom GINA module can be chained by the hprgina.dll at install time. This is the preferred method. The installer will bring up a GUI that allows the Easy Login GINA module (hprgina.dll) to be enabled, as well as provides a text box to enter the name of the custom GINA module. The name of the custom module is all that is needed, provided it is installed in the C:\WINDOWS\system32 directory. If the custom module is installed elsewhere, the full file path needs to be entered. 2. Using the rgadmin tool to specify a custom GINA module The rgadmin tool can be used to chain a custom GINA module. When Enable Easy Login is selected, the associated text entry box Chained GINA Dll is un-greyed out. Enter the name of the custom GINA module in the text box, and click Apply. Using the rgadmin tool to specify a custom GINA module is preferred over the manual method, described next. 3. Manually enabling hprgina.dll to load a custom GINA module To manually enable the hprgina.dll module to load a custom GINA module, create a new registry key, ChainedGinaDLL, with the value of the key containing the name of the chained custom GINA module. Perform steps 1-6 shown above (the restart will be done below) plus the following three steps to chain custom modules: 1. Create the ChainedGinaDLL registry key. Create the key as type REG_SZ (a string type). The full path of the key is: HKEY_LOCAL_MACHINE\Software\Hewlett-Packard\Remote Graphics Sender\ChainedGinaDLL 2. Set the value of the new ChainedGinaDLL key to the name of the custom GINA module. For example, if the name of the custom GINA module is foogina.dll, then the value of the key should be foogina.dll. The value should match the string originally discovered in the registry key GinaDLL. Confirm the spelling before closing. 3. Restart the computer. When the RGS hprgina.dll is loaded by WinLogon, hprgina.dll will load the chained GINA module foogina.dll. The hprgina module then chains all GINA requests to the foogina.dll module. If the custom foogina.dll is also a chaining GINA module, foogina.dll, in turn, chains itself to the msgina.dll module. Three GINA DLLs will be loaded as part of the WinLogon.exe process: (1) hprgina.dll, (2) foogina.dll, and (3) msgina.dll. Installing RGS 64

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

Installing RGS 64
6.
To actually enable Easy Login, set the value of the
GinaDllMode
key to the text "
HprEasyLogin"
.
Confirm the spelling before closing. Figure 3-16 shows the registry key contents:
Figure 3-16
Addition of the GinaDllMode key to the registry
7.
Restart the computer. The
hprgina.dll
module will be loaded by
WinLogon
when started.
Summary
—If the
GinaDLL
key does not currently exist in the registry, Microsoft's default GINA DLL
(
msgina.dll
) is loaded by
WinLogon
. Adding the
GinaDLL
registry key, and setting its value to
hprgina.dll
, informs
WinLogon
to load the
hprgina.dll
instead of the default
msgina.dll
.
The
hprgina
module is a chaining GINA DLL. When the RGS
hprgina.dll
is loaded by
WinLogon
, the
hprgina
module loads the
msgina.dll
shared library. The
hprgina
module chains (forwards) all GINA
requests to the
msgina.dll
module.
Chaining custom GINA modules for Easy Login
If it is determined in step 3 above that the
GinaDLL
registry key
does
exist, and the value of the key is
not
msgina.dll
, then a custom GINA module is currently loaded and being used by
WinLogon
. Custom GINA
modules provide custom authentication dialogs or even custom user authentication methods. If it is determined that
functionality of both the RGS Easy Login and a custom GINA module is required, the
hprgina.dll
needs further
configuration. The
hprgina.dll
module needs to be set up to load the custom GINA module rather than the
default
msgina.dll
as described above. There are three ways to enable the
hprgina.dll
module to load a
custom GINA module:
1. Install time specification of the custom GINA module
A custom GINA module can be chained by the
hprgina.dll
at install time. This is the preferred method. The
installer will bring up a GUI that allows the Easy Login GINA module (
hprgina.dll
) to be enabled, as well as
provides a text box to enter the name of the custom GINA module. The name of the custom module is all that is
needed, provided it is installed in the
C:\WINDOWS\system32
directory. If the custom module is installed
elsewhere, the full file path needs to be entered.
2. Using the
rgadmin
tool to specify a custom GINA module
The
rgadmin
tool can be used to chain a custom GINA module. When
Enable Easy Login
is selected, the
associated text entry box
Chained GINA Dll
is un-greyed out. Enter the name of the custom GINA module in the
text box, and click
Apply
. Using the
rgadmin
tool to specify a custom GINA module is preferred over the manual
method, described next.
3. Manually enabling hprgina.dll to load a custom GINA module
To manually enable the
hprgina.dll
module to load a custom GINA module, create a new registry key,
ChainedGinaDLL
, with the value of the key containing the name of the chained custom GINA module. Perform
steps 1–6 shown above (the restart will be done below) plus the following three steps to chain custom modules:
1.
Create the
ChainedGinaDLL
registry key. Create the key as type REG_SZ (a string type). The full path of
the key is:
HKEY_LOCAL_MACHINE\Software\Hewlett-Packard\Remote Graphics Sender\ChainedGinaDLL
2.
Set the value of the new
ChainedGinaDLL
key to the name of the custom GINA module. For example, if
the name of the custom GINA module is
foogina.dll
, then the value of the key should be
foogina.dll
. The value should match the string originally discovered in the registry key
GinaDLL
.
Confirm the spelling before closing.
3.
Restart the computer.
When the RGS
hprgina.dll
is loaded by
WinLogon
,
hprgina.dll
will load the chained GINA module
foogina.dll
. The
hprgina
module then chains all GINA requests to the
foogina.dll
module.
If the custom
foogina.dll
is also a chaining GINA module,
foogina.dll
, in turn, chains itself to the
msgina.dll
module. Three GINA DLLs will be loaded as part of the
WinLogon.exe
process: (1)
hprgina.dll
, (2)
foogina.dll
, and (3)
msgina.dll
.