Risorse per professionisti IT > Home page del forum > SharePoint - Setup, Upgrade, Administration and Operation > Binding LDAP users to groups i eDirectory with Role Manager in Sharepoint
Formula una domandaFormula una domanda
 

DomandaBinding LDAP users to groups i eDirectory with Role Manager in Sharepoint

  • domenica 23 novembre 2008 1.15k3larra Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Contiene codice

    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

    • Modificatok3larra domenica 23 novembre 2008 1.17typo
    •  

Tutte le risposte