Restrict access to ou by the selector in SharePoint Windows Authentication Mode

Source: Internet
Author: User
Tags ldap

Http: // 207.46.16.252/ZH-CN/library/gg602066.aspx # section5

1 Effect: only a specific ou can be queried, in addition, domain users not in this ou will be denied access (Other ou domain users who have accessed the ou before setting ou can still access the portal and can be queried by the selector)

View Current status: No settings found

Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME

Settings:

Stsadm-O setsiteuseraccountdirectorypath-path "ou = Sales, Dc = contosocorp, Dc = Local"-URL http: // SERVERNAME

View the settings:

Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME

Unset

Stsadm-O setsiteuseraccountdirectorypath-path ""-URL http: // SERVERNAME

View after cancellation

Stsadm-O getsiteuseraccountdirectorypath-URL http: // SERVERNAME

//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //

//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// //

2. effect: multiple specified ou can be queried.

Filters should be available. I have never tried

Use LDAP to query and filter Active Directory accounts

Stsadm-O setproperty-PN extends icker-searchadcustomfilter-PV <LDAP query filter> -URL <Web ApplicationProgramURL>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.