如何通过System.DirectoryServices访问Novell网络?
|
我正在通过以下方式访问ActiveDirectory
public static DirectoryEntry GetRootDSE()
{
DirectoryEntry rootDSE = new DirectoryEntry(\"LDAP://rootDSE\");
return rootDSE;
}
现在,我需要访问Novell网络。
在MSDN:System.DirectoryServices命名空间中,看起来我只需要将\“ LDAP:\”更改为\“ NDS:\”,那么,真的很简单吗:
public static DirectoryEntry GetRootDSE()
{
// changed LDAP:// to NDS://
DirectoryEntry rootDSE = new DirectoryEntry(\"NDS://rootDSE\");
return rootDSE;
}
还是要记住其他一些事情?
如果有人对我的问题有更多的信息,那就太好了。
附言:我正在使用.Net2.0
没有找到相关结果
已邀请:
1 个回复
辟官陡板休