SharePoint 2013与OpenLdap web.config的连接

时间:2015-06-02 13:26:13

标签: sharepoint sharepoint-2010 sharepoint-2013

如何正确配置openLdap?

你知道我哪里弄错了吗?

我是从管理员那里得到的:

LDAPS://auth-01.domein.srv" CN = ldapreader,OU =技术,O = domein.net.pl,DC =杜梅因,DC = SRV

密码:JPnds2222dd

在web.config中我试着这个(我添加了成员​​资格):

<membership defaultProvider="i">
      <providers>
        <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
        <add name="membership"
    type="Microsoft.Office.Server.Security.LDAPMembershipProvider,Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    server="ldaps.auth-01.domain.srv"
    port="389"
    useSSL="false"
    connectionUsername="cn=ldapreader,ou=Technical,o=domein.net.pl,dc=domein,dc=srv"
    connectionPassword= "JPnds2222dd"
    useDNAttribute="false"
    userNameAttribute="uid"
    userContainer="ou=Technical,dc=domein,dc=srv"
    userObjectClass="person"
    userFilter="(objectClass=person)"
    scope="Subtree"
    otherRequiredUserAttributes="uid,cn" />
      </providers>
    </membership>
    <roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
      <providers>
        <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      </providers>
    </roleManager>

https://technet.microsoft.com/pl-pl/library/ee806890.aspx

0 个答案:

没有答案