Site navigation



User Management Resource Administrator: User Account Management for Windows 2003/XP/2000/NT

Previous Topic

Next Topic

Book Contents

Book Index

Project: PhoneBook_ADsync_Init

The project PhoneBook_ADsync_Init initializes a number of variables. The values of the variables correspond with the network environment and contain the names of domains, OU's, database files and so on. All other projects of the UMRA application use variables names only. The initialization project is the only project you need to change to make the example scenario work in another environment.

pb-adsync-init-script-small

Figure 2: Script of project PhoneBook_ADsync_Init

The main application project executes the initialization project to initialize all of the variables.

The following table lists the variables initialized by the project:

Variable Example Description

%Domain%

tools4ever.local2

The DNS domain name of the domain that maintains all the user accounts.

%OU%

CompanyUsers

The name of the organizational unit that contains all the user accounts. In case of child organizational unit, use the following syntax: ParentOU/ChildOU etc.

%MiddleName%

 

The variable holds an empty string. This value is used in the name generation algorithm. Most default name generation algorithms that come with UMRA use the middle name to calculate the different names for the user account. In this example, the middle name is not used, but a default name generation algorithm is used. Therefore, the variable is set to an empty text value.

%ExportFileName%

F:\UMRA\...\

PhoneBookAdSyncLog.txt

The name of the text file that contains a summary of the results for each synchronization cycle. For each action, update – create- delete, a single line is added to this file.

%DatabaseFileName%

F:\UMRA\... \PhoneBook.mdb

The name of the (Jet) database file that holds the phonebook data.

%LdapBindingString%

LDAP://ou=CompanyUsers,

dc=tools4ever, dc=local2

The full LDAP name of used to search Active Directory. The name both contains the domain name (dc=tools4ever,dc=local2) and the organizational unit (ou=CompanyUsers). The LDAP binding string is used to query Active Directory.

Table 5: Variables initialized by initialization project PhoneBook_ADsync_Init

When the project is executed, the variables are initialized. Since the complete set of variables is passed to child projects, only the main project executes the initialization project.

See Also

UMRA implementation

Project: PhoneBook_ADsync_Main

Project: PhoneBook_ADsync_Evaluate

Project: PhoneBook_ADsync_UpdateUser

Project: PhoneBook_ADsync_CreateUser

Project: PhoneBook_ADsync_DeleteUser


Home | Products | Support | Pricing | Download | Press | About Us | Contact | Sitemap
QUICK LINKS: Mass / Bulk Import Software | Network Monitoring Software | Disk Quota Management
QUICK LINKS: User and Active Directory Management | Active Directory Migration | SSRPM Documentation