c***@gmail.com
2007-08-02 20:10:23 UTC
Hello everyone, I've been looking around, and the most common cause of
this error seems to be the use of kerberos, but I'm using it through
the auth parameter and so I don't know!
Here's the scenario:
We have multiple computers on a domain. I'm sitting at one, and I'd
like to trigger a remote install of an MSI file on the domain server.
I enabled my account (the one I'm using to call the procedure) as
trusted for delegation on the domain server, and it's part of the
domain administrators group.
If I run the command:
wmic /node:<computer> /trace:on os
I have success. (running context indicated PKTPRIVACY is selected)
If I run the command:
wmic /node:<computer> /implevel:delegate /authority:"kerberos:<domain>
\<computer>" /trace:on os
I get this as part of the relevant output:
SUCCESS: IWbemLocator::ConnectServer(L"root\cli", NULL, NULL,
L"ms_409", 0L, L"kerberos:<domain>\<computer>", NULL, -)
Line: 145 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\cmdalias.cpp
<snip for brevity>
SUCCESS: CoSetProxyBlanket(-, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE,
NULL, 6, 4, -, EOAC_NONE)
Line: 2540 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\cmdalias.cpp
<snip again>
FAIL: IWbemServices::ExecQuery(L"WQL", L"SELECT * FROM
Win32_OperatingSystem", 0, NULL, -)
Line: 319 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\execengine.cpp
Node - w105e3
ERROR:
Code = 0x80070721
Description = A security package specific error occurred.
Facility = Win32
<snip stuff creating a DOM>
So, from what you can see, is it still trying to us NTLM? If so, how
do I stop that? I thought giving it the /authority parameter would
make it use keberos
this error seems to be the use of kerberos, but I'm using it through
the auth parameter and so I don't know!
Here's the scenario:
We have multiple computers on a domain. I'm sitting at one, and I'd
like to trigger a remote install of an MSI file on the domain server.
I enabled my account (the one I'm using to call the procedure) as
trusted for delegation on the domain server, and it's part of the
domain administrators group.
If I run the command:
wmic /node:<computer> /trace:on os
I have success. (running context indicated PKTPRIVACY is selected)
If I run the command:
wmic /node:<computer> /implevel:delegate /authority:"kerberos:<domain>
\<computer>" /trace:on os
I get this as part of the relevant output:
SUCCESS: IWbemLocator::ConnectServer(L"root\cli", NULL, NULL,
L"ms_409", 0L, L"kerberos:<domain>\<computer>", NULL, -)
Line: 145 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\cmdalias.cpp
<snip for brevity>
SUCCESS: CoSetProxyBlanket(-, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE,
NULL, 6, 4, -, EOAC_NONE)
Line: 2540 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\cmdalias.cpp
<snip again>
FAIL: IWbemServices::ExecQuery(L"WQL", L"SELECT * FROM
Win32_OperatingSystem", 0, NULL, -)
Line: 319 File: d:\xpsprtm\admin\wmi\wbem\tools\wmic\execengine.cpp
Node - w105e3
ERROR:
Code = 0x80070721
Description = A security package specific error occurred.
Facility = Win32
<snip stuff creating a DOM>
So, from what you can see, is it still trying to us NTLM? If so, how
do I stop that? I thought giving it the /authority parameter would
make it use keberos