From: Dmitry Timoshkov dmitry@baikal.ru
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- dlls/activeds/activeds_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c index 246d2f39628..1f59d1aa458 100644 --- a/dlls/activeds/activeds_main.c +++ b/dlls/activeds/activeds_main.c @@ -47,8 +47,10 @@ HRESULT WINAPI ADsGetObject(LPCWSTR path, REFIID riid, void **obj) { HRESULT hr;
+ TRACE("(%s, %s, %p)\n", debugstr_w(path), wine_dbgstr_guid(riid), obj); + hr = ADsOpenObject(path, NULL, NULL, ADS_SECURE_AUTHENTICATION, riid, obj); - if (hr != S_OK) + if (hr != S_OK && hr != E_ADS_BAD_PATHNAME) hr = ADsOpenObject(path, NULL, NULL, 0, riid, obj); return hr; }