Windows Server has further developed the Active Directory (Active Directory) on the basis of Windows NT Server 4.0. The Active Directory is started from a data store. It uses a data store similar to the Exchange server, known as:
magazine about the development of the Active Directory authentication service.
The. NET 2.0 membership member management system provides an ad provider: activedirectorymembershipprovider
It is very simple to use activedirectorymembershipprovider:
Web. config settings:
Adamconnectionstring"Connectionstring =" LDAP: // SERVERNAME: 389/ou =
Ssusers
When getting a large number of objects from Active Directory, you should pay special attention to this. When you are not careful, it will fall into the performance bottleneck and even cause memory leakage. This article provides an optimization example for. Net Access to Active Dire
administrators to perform some general administrative tasks, such as adding new users, managing printers, security settings, and controlling NT domains.
Because ADSI uses COM interfaces, any programming language that supports COM, such as Delphi, BCB, VB, VC, can invoke ADSI.
If you call ADSI in Delphi, you need to introduce the Active Directory type library.
Th
adsync to register Domino users when or after creating Active Directory users, and vice versa. At least, you can create Active Directory users in Lotus Notes, but this capability is not disclosed to developers through any available APIs (written in C, Java, or Lotus script. You may think that you can achieve
For a demo of the Active Directory of server 2012, I will do it in three experiments, three scenes, three scenes are very common, beginners can take a closer look.So start our experiment one, the first thing to do is to prepare the virtual machine, this does not have to say, VMware Virtual machine believe that everyone is very familiar with the experiment we need three virtual machines, respectively, SERVER
system. Reflection
With new system. Io. fileinfo ([Assembly]. getexecutingassembly. Location)
S =. fullname. substring (0,. fullname. Length-. Name. Length-1)
End
Note: This will return the path with no trailing backslash even if the application is in the root directory. the VB 6.0 app. path Method return encoded Ded the trailing backslash when the executable was in a root
the front of all other applications running on the computer. in most cases this is closer to the desired result than in the VB6 behavior.
The dir command is another example. in VB6, using the Dir command to list the files in a directory always listed ". "and ".. "First in the returned file list, the Dir command wowould always list them first. in VB. net ,".
"directory service recovery mode" again to start Windows2000 and log on as an administrator.(3) "start"-> "run", enter "ntdsutil", and start the command line tool.(4) to restore the entire active directory database, run the following command:
Authoritative restoreRestore databaseTo restore some active
adspath of the super-level administrator account in the user container is LDAP: // Cn = administrator, Cn = users, Dc = mydomain, Dc = local, and its dn is (note that no more
LDAP :// This prefix): Cn = administrator, Cn = users, Dc = mydomain, Dc = Local, whose rdn is (that is, the name in the users container): Cn = administrator. CN is the abbreviation of common name.
3. Install the Active Directory
Run
[Note: The original alicloud post must point out the source of the original article link]
Keywords: Visual Basic 6/Visual Basic. NET mobile programming, smartphone PDA Pocket PC, Palm OS, Sybian series60 Mobile Application Development
Previously, we only knew that we could use VB to develop PPC platform applications in mobile application development. When I was looking for s60 development materials, I found
ASP. NET 2.0 allows you to validate users via Active Directory, database, or even a custom algorithm.
ASP. NET 2.0 supports a provider-based model for a number of application services including membership. the membership provider is therefore a component that defines the contract between ASP.
the Active Directory database file in the default locationUse the command or copy and paste the replacement file, the following is the use of the command650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/E1/wKioL1baxljhEibFAACAgBWh1HI331.jpg "title=" 3.jpg " alt= "Wkiol1baxljheibfaacagbwh1hi331.jpg"/>Delete log files under the default Active
slightly different from earlier versions, you can add it through the role of server management to complete the initialization preparation (Figure 3), open the Server Management tool, expand the Roles node, and click Add Role in the right window.
Figure 3
Open the Add Role Wizard (Figure 4), where the system's three-point hints are available, most importantly 2nd. For the first to 3rd, you can configure without prompting, and do not affect the installation, click "Next".
Figure 4
In the
strongly recommended to back up the system before the Experiment (abbreviated)
2, view the Active Directory database related information (pictured below)
3. Stop the Active Directory service (you can services.msc at the Service Management console or run
quickly restore an AD object that is accidentally deleted, you certainly do not want to enter a long string of PowerShell commands. Using ldp.exe GUI is not much convenient. Because, using this method to restore an object requires seven steps and a large amount of information. If you want to restore multiple objects, this method is too troublesome.
Fortunately, there are methods that are easier to use than the two methods to restore AD objects in the recycle bin. We can use free tools to Restor
DC, you can set the Preferred DNS server option to its own IP address.
Figure 1
Note: If you have a dedicated DNS server in your enterprise, you need to point to these servers, not to the first DC.
Also, you need to change the public network in the Network and Sharing Center window to private network. This ensures that additional domain controls are able to communicate with other servers and customers normally in the configuration and operation.
second, prepare to install AD Service
WIN0
In the previous section we installed the Active Directory through Method 1, and this section focuses on checking and scheduling after installation, and this section is connected to the previous section.
The experimental environment in this section:
1, domain controller DC1, which is the domain controller we installed in the previous section.
2, client Client1, a client with an XP system installed and a S
Http://www.pc123.org/html/net/asp_net/200806/16_3101.html
First, let's take a look at what is active directory. I don't need to describe it. I can refer to the following URL or search for the Active Directory keyword in the. NET
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.