如何通过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     
已邀请:
首先,ldap://表示法在某种程度上是AD特定的,并假定当前服务器是服务器,并且运行此过程的当前用户将是所使用的凭据。 因此,对于eDirectory,您可能需要ldap:// serverIp:port(端口为389或636)。虽然不确定用户和密码参数是什么。     

要回复问题请先登录注册