Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 5 Aug 2005 11:01:00 -0700,    group: microsoft.public.exchange2000.active.directory.integration        back       


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
date: Fri, 5 Aug 2005 11:01:00 -0700   author:   Chris

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us