Resources for IT Professionals > 論壇首頁 > SharePoint - Setup, Upgrade, Administration and Operation > Binding LDAP users to groups i eDirectory with Role Manager in Sharepoint
發問發問
 

問題Binding LDAP users to groups i eDirectory with Role Manager in Sharepoint

  • 2008年11月23日 上午 01:15k3larra 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     包含代碼

    Hi
    I have spent some time configuring my MOSS 2007 server (latest service packs) to work with Novell eDirectory 8.8 sp2 and it all works except the role provider doesn't bind the users to my Novell groups.

    The users can authenticate against my extended application and I can add the novell groups there but the users never get there correct roles when they log in. I have checked with a LDAP client with the same credentials I am using so I can read the groupMembership attribute, but no success….

    I can import the user profiles but I guess that the roles for them should be imported in this process but I don’t know any way to check that it hapends?
    When I run profile import I get entries in my log file that looks like this spsimport://myImportConnection?$$dl$$ and I guess that this is related to the problem?

    Below are the relevant sections in my web.config.  

    <membership defaultProvider="x">  
          <providers> 
              <add name="x"   
                 type="Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server,
                 Version=12.0.0.0,Culture=neutral,                                  
                 PublicKeyToken=71E9BCE111E9429C"   
                 server="xx.yy.zz"   
                 port="389"   
                 useSSL="false"   
                 useDNAttribute="false"   
                 userDNAttribute="cn"   
                 userNameAttribute="cn"   
                 userContainer="O=zzz"   
                 userObjectClass="Person"   
                 userFilter="(ObjectClass=Person)"       
                 scope="Subtree"   
                 connectionUsername="cn=xxx,ou=yyy,o=zzz"   
                 connectionPassword="xxxxxxxxxxxx" 
                 otherRequiredUserAttributes="sn,givenName,cn,mail,fullName" /> 
          </providers> 
        </membership> 
        <roleManager defaultProvider="LDAPGroups" enabled="true" cacheRolesInCookie="false" cookieName=".PeopleDCRole">  
          <providers> 
            <add name="LDAPGroups" 
                 type="Microsoft.Office.Server.Security.LDAPRoleProvider,Microsoft.Office.Server,Version=12.0.0.0,Culture=neutral,                          
                 PublicKeyToken=71E9BCE111E9429C"  
                 server="xx.yy.zz" 
                 port="389"   
                 useSSL="false"   
                 groupContainer="ou=xxx,o=zzz"          
                 groupNameAttribute="cn" 
                 groupMemberAttribute="member" 
                 groupFilter="(&amp;(ObjectClass=groupOfNames))" 
                 userFilter="(&amp;(ObjectClass=Person))" 
                 userNameAttribute="cn" 
                 useUserDNAttribute="false" 
                 useDNAttribute="false"   
                 dnAttribute="dn" 
                 connectionUsername="cn=xxx,ou=yyy,o=zzz"   
                 connectionPassword="xxxxxxxxxxxx" 
                 scope="Subtree"         
                 /> 
                 </providers> 
        </roleManager> 
     


     

    Any help would be deeply appreciated
    /k3larra

    • 已編輯k3larra 2008年11月23日 上午 01:17typo
    •  

所有回覆

  • 2009年6月19日 上午 02:17George Qiao 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi, k3larra,

    Have you found the solution to this? I'm having this issue as well. Could you please give me a hint?

    Regards,
    George