设为首页 收藏本站
查看: 1487|回复: 0

[经验分享] sharepoint 2010 User Profile Service 与AD用户数据同步

[复制链接]

尚未签到

发表于 2015-9-29 09:02:02 | 显示全部楼层 |阅读模式
  [转 http://sharepointgeorge.com/2010/configuring-the-user-profile-service-in-sharepoint-2010/]
  User Profile Service
  Now that we have successfully configured our Managed Metadata service we can now focus our attention on the User Profile Service.  The User Profile Service provides our SharePoint farm with all the social networking features that we have come to love in SharePoint 2007, plus more.  It forms the basis of My Site support, User profile pages, Audiences and some of the newer features in SharePoint 2010 social computing such as social tagging.
  Before we begin, we need to ensure that our Farm account (DOMAIN\sp_farm) is listed as a member of the Local Administrator’s group where the User Profile Synchronization (UPS) service will be deployed.  Please make a note to remove the DOMAIN\sp_farm account from the Local Administrator’s group after provisioning the User Profile Synchronization service.  Please also note, that if you ever have to re-provision the UPS service at a later date, that you will need to ensure the DOMAIN\sp_farm account is added back to the Local Administrator’s group.
  Let’s now navigate to Central Administration / Application Management / Manage Service Applications.
  Click New and select “User Profile Service Application”
DSC0000.png
  The “Create New User Profile Service Application” window pops up in which you will enter the following details; (you will obviously enter in the details based on your environment setup)
  Name: User Profiles
  Create new application pool: SharePoint – User Profiles
DSC0001.png
  Register a new managed account: e.g. DOMAIN\sp_userprofiles (nb: this account will need to be provisioned in Active Directory first)
DSC0002.png
  Enter your Profile Database server details and database authentication.  You will notice that SharePoint 2010 introduces the ability to configure Failover Server which allows you to associate your SharePoint databases with another SQL server for failover purposes utilising SQL Server database mirroring.   We will not specify a Failover Database server for any of our databases at this present time.
DSC0003.png
  Specify your Synchronization Database which is used to store configuration and staging data for synchronization of profile data such as that from Active Directory.
DSC0004.png
  Next, specify your Social Tagging Database which is used to store tags and notes that are created by users.  Social Tagging is a new feature in SharePoint 2010 which is not only displayed against the items that user’s are tagging, but are also displayed in the user’s activity feed.
DSC0005.png
  Next, select your Profile Synchronization Instance Server.
  In the proceeding section, we will not create a My Site Host URL and will leave this for part two of this series.
  Click Create.
DSC0006.png
  You should now have the User Profiles service application listed and  started.
DSC0007.png
  We will now venture back into Central Administration / System Settings / Manage services on server.
  Scroll down to the User Profile Service and User Profile Synchronisation Service and start both.  The User Profile Service should start without any further user interaction, however the User Profile Synchronization Service will ask for your SharePoint Farm credentials.
DSC0008.png
  Click Ok.
  Both services should now be listed as started.
DSC0009.png
  This in turn, will correctly configure and start our ForeFront Identity Manager Windows Services (FIM).
DSC00010.png
  At this point, it is imperative you run an IIS reset.  Even better, just reboot the machine DSC00011.gif
  We will now configure our User Profile Connection to our Active Directory Domain.
  Navigate to Central Administration / Application Management / Manage Service Applications.
  Click on User Profiles / Manage.
DSC00012.png
  Click on Configure Synchronizations connections / Create New Connection.
  Enter the follow details;
  Connection Name:
  Type: Active Directory
  Auto discover domain controller or specify a domain controller
  Authentication Provider Type: Windows Authentication
  Account Name / Password:
  Port: 389
DSC00013.png
  Click on Populate Containers
DSC00014.png
  Click OK.
  Your connection should now be listed as follows upon successful creation.
DSC00015.png
  We can now easily setup connection filters against our Active Directory User Profile connection by clicking on the connection that was just created and selecting “Edit Connection Filters”.
  Specify and Add any User or Group exclusions and then click OK.
DSC00016.png
  Next we will Configure a Synchronization Timer Job via Central Administration / Application Management / Manage Service Applications / User Profiles.
DSC00017.png
  Click Enable
  We will finish off by initiating a full synchronization via Central Administration / Application Management / Manage Service Applications / User Profiles / Start Profile Synchronization.
DSC00018.png
  In order to confirm that the import was a success, the Number of User Profiles should now be set to the number of users in your organization, in my case I have 269 dummy users in my Active Directory domain.  Word of note; this will take some time and is considerably slower than an Active Directory User Profile import in SharePoint 2007.
DSC00019.png
  You can also venture into Manage User Profiles and search for users (please take note that SharePoint 2010 does not display any users by default and that you will have to search for them).
DSC00020.png
  Edit a User Profile to ensure that all the necessary Active Directory attributes were successfully imported.
DSC00021.png
  We have now successfully completed a User Profile Synchronization which will form as a basis for User’s My Sites in my next article.  Until then, happy SharePointing!!

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-120257-1-1.html 上篇帖子: 在SharePoint 2010页面中嵌入SWF文件 下篇帖子: SharePoint中的权限定义参照
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表