ADSI to access NNTP server
- From: "Chris" <chris@xxxxxxxxxxxx>
- Date: Fri, 5 Aug 2005 11:01:00 -0700
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
.
- Prev by Date: Re: AD2003 Upgrade and Exchange considerations???
- Next by Date: Re: AD2003 Upgrade and Exchange considerations???
- Previous by thread: AD2003 Upgrade and Exchange considerations???
- Next by thread: Restore information store in the new server with different Raid ca
- Index(es):
Relevant Pages
|
Loading