Vous êtes sur la page 1sur 4

Active Directory User Discovery

Start .

Active Directory User Discovery Agent


Reads the values of Last Run Time and Run
Count from the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\SMS\COMPONENTS\
SMS_AD_USER_DISCOVERY_AGENT.

No
Was the registry Active Directory Process stops.
read successfully? User Discovery
Agent
Generates the
Yes following status
message: 5300.

Active Directory User Discovery Agent


Stores the values of Last Run Time
and Run Count in memory.

No No
Is the Last Run Has the SMS Process stops.
Time key blank or administrator
is the Run Count clicked Run Now?
value equal to zero?

Yes Yes

Active Directory User Discovery Agent


Runs the Active Directory container discovery
process to determine whether the discovery
process can proceed.

No
Can the Active Process stops.
Directory discovery
process proceed?

Yes

No
Can the Active Active Directory Process stops.
Directory discovery User Discovery
process proceed? Agent
Generates the
following status
Yes message: 5301.

1
Active Directory User Discovery

Adsysgrp.dll
Validates the Active
Directory containers
that the SMS
administrator has
specified.

No
Is there a valid Process stops.
If an Active Active Directory
Directory contai- container?
ner is already
nested in any Yes
other container, it
is skipped. If
Recursive for an
Active Directory Active Directory User
container equals Discovery Agent
No, then it is Selects an Active Directory
marked as a valid container from the list of
container. Active Directory containers.

Active Directory
User Discovery
Agent
Connects to the
selected Active
Directory container.

No
Active Directory Was the connection
User Discovery successful?
Agent?
Generates the Yes
following status
message: 5301.

Active Directory
User Discovery
Agent
Queries Active
Directory for the If the container is
user objects under a group, then it can
the Active Directory contain users from
container. other domains.

Yes
Does Recursive Active Directory User
equal Yes? Discovery Agent
Queries Active
Directory for the user
No objects that are under
Active Directory
containers.

2
Active Directory User Discovery

User objects include the:


- Full user name
Adsource.dll Adsource.dll (mandatory).
Selects the Enumerates the - SAM account name
next user. user objects and (mandatory).
reads the required - Object GUID
properties. (mandatory).
- Active Directory path
(mandatory).
No - Organizational
Were the unit (optional).
mandatory - Container (optional).
properties found? - Member of property
(optional).
Yes

Adsource.dll
Uses the member of property
to get the list of groups to
which the user belongs.

Yes
Adsource.dll
Recursively checks each
group in the list to get the
nested groups.

Is this group nested?

No
The discovery
data file for user
discovery is
aduxxxxx.ddr,
where xxxxx is a
Adsource.dll random numeric
Generates a that ensures a
dynamic data unique file name.
record for the
user object in the
DDM.box folder.

Yes
Adsource.dll Are there any user
Selects the next objects remaining?
user object.

No

3 4
Active Directory User Discovery

3 4

Yes
Are there any Adsource.dll
users remaining? Selects the next user.

No

The report includes the:


- Number of
Adsource.dll containers scanned.
Generates the - Number of objects
following status found.
message: 5302. - Number of DDRs
generated.
- Number of errors.

Process complete.

Vous aimerez peut-être aussi