ADSI to access NNTP server



Hi,
Please help.I need to retrieve information about nntp servers by using ADSI.
Here is what I tried
wstring path;
path += L"LDAP://mydommain.com/"; ;
path += L"CN=NNTP," ;
path += L"CN=Protocols," ;
path += L"CN=myexchange-server," ;
path += L"CN=Servers," ;
path += L"CN=First Administrative Group,";
path += L"CN=Administrative Groups,";
path += L"CN=my-exchange-organization,";
path += L"CN=Microsoft Exchange,";
path += L"CN=Services," ;
path += L"CN=Configuration," ;
path += L"DC=mydomain,DC=com";
hr = ::ADsGetObject(path.c_str(), IID_IADsContainer,
(void**)&pContainer);

The call is successful but there is nothing in the container object when I
enumerate through it.

The same code works if I change NNTP to HTTP or POP3, I can get a containedd
object name CN=1.
If ADSI does not work for NNTP, what technology else is available?

Thanks in advance.

Thanks,
Chris


.



Relevant Pages

  • Re: How to get information about NNTP
    ... That information is only stored in the IIS metabase on the Exchange Server ... > Please help.I need to retrieve information about nntp servers by using ... > The call is successful but there is nothing in the container object when I ... > If ADSI does not work for NNTP, ...
    (microsoft.public.exchange2000.development)
  • How to get informaiton about NNTP server?
    ... Please help.I need to retrieve information about nntp servers by using ADSI. ... The call is successful but there is nothing in the container object when I ...
    (microsoft.public.exchange.development)
  • How to get information about NNTP
    ... Please help.I need to retrieve information about nntp servers by using ADSI. ... The call is successful but there is nothing in the container object when I ...
    (microsoft.public.exchange2000.development)

Loading