version 1.11.12.2, 2003/08/13 19:39:51
|
version 1.14, 2003/08/12 21:34:04
|
|
|
TransportInfo global_ti; | TransportInfo global_ti; |
global_ti.type = SR_IP_TRANSPORT; | global_ti.type = SR_IP_TRANSPORT; |
| |
|
|
switch (targetHostFormat) | switch (targetHostFormat) |
{ | { |
case _HOST_NAME: | case _HOST_NAME: |
|
|
_MSG_SECURITY_NAME)); | _MSG_SECURITY_NAME)); |
| |
} | } |
|
|
// getting IP address of the host | // getting IP address of the host |
| |
CString hostname = System::getHostName().getCString(); | CString hostname = System::getHostName().getCString(); |
|
|
| |
if (value == NULL) | if (value == NULL) |
{ | { |
|
|
// l10n | // l10n |
| |
// throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, | // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, |
|
|
INTEGER_TYPE, | INTEGER_TYPE, |
value)) == NULL) | value)) == NULL) |
{ | { |
|
|
// l10n | // l10n |
| |
// throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, | // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, |
|
|
SR_SECURITY_MODEL_V2C, // securityModel | SR_SECURITY_MODEL_V2C, // securityModel |
&global_ti, // TransportInfo | &global_ti, // TransportInfo |
0); // cfg_chk | 0); // cfg_chk |
|
|
break; | break; |
} | } |
default: | default: |