Documente Academic
Documente Profesional
Documente Cultură
E-Business Security
WORKSHOP
Sept. 30 Oct. 2, 02 Bremen, Germany
LDAP Directory Synchronization with Central User Administration Boris Kberle, SAP AG
PRINT ON DEMAND
sponsored by
1 1
Learning Objectives
T T T T T T T T T
Understand how user management works in R/3 systems Understand how directories work and represent user data Understand how the directory interface of your R/3 works Understand how the directory synchronization works Configure your directory server for synchronization Configure the LDAP Connection in your R/3 system Configure the LDAP Mappings in your R/3 system Configure the synchronization flags in your R/3 system Run the synchronization between directory and R/3
PRINT ON DEMAND
sponsored by
2 2
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
3 3
Maintained Data:
T SAP Username T Logon Data T Adress Data T Access Control Data T Personalization Data
PRINT ON DEMAND
sponsored by
4 4
PRINT ON DEMAND
sponsored by
5 5
in central system
S Automatic distribution to
client systems
ALE ALE
PRINT ON DEMAND
sponsored by
6 6
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
7 7
Directory
LDAP
ALE ALE
Access/ Synchronization
MS Exchange
Lotus Notes
PRINT ON DEMAND
sponsored by
8 8
Directory
LDAP
ALE ALE
Access/ Synchronization
MS Exchange
Lotus Notes
PRINT ON DEMAND
sponsored by
9 9
Directory
ALE
ALE
LDAP
Synchronization
SAP 6.10
SAP 6.10
PRINT ON DEMAND
sponsored by
10 10
SAP or non-SAP
HR system
E-mail
Roles creation
Operating system
other applications
PRINT ON DEMAND
sponsored by
11 11
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
12 12
Directory Benefits
PRINT ON DEMAND
sponsored by
13 13
Directory Schema
person
cn givenName sn telephone mail top
objectclass hierarchy
orgPerson
cn givenName sn telephone mail employeeID title department function inetOrgPerson orgPerson
person
organization
residPerson
PRINT ON DEMAND
sponsored by
14 14
Directory Entries
uid
objectclass
TechEd2002 inetOrgPerson sapAddOnUM John Doe +49-6227 7-47474 john.doe@sap.com DOEJOHN ABC:sapDeveloper XYZ:sapAdministrator 20020730175352Z
modifyTimestamp
operational attribute
PRINT ON DEMAND
sponsored by
15 15
country c=de
organization o=sap
organization o=bmw
organizationalUnit ou=TechEd2002
inetOrgPerson uid=TechEd2002
uid=TechEd2002, o=sap, c=de (DN)
PRINT ON DEMAND
sponsored by
16 16
Directory Specifics
Distinguished Names (DN) are not persistent, because an entry can be renamed or moved within the DIT.
PRINT ON DEMAND
sponsored by
17 17
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
18 18
Architecture
Synchronization Delta Management LDAP Interface with Mapping Mapping LDAP API LDAP Connector Directory
= shipped = shipped
PRINT ON DEMAND
sponsored by
19 19
LDAP Connector
Application Server
Work Process
Call Function LDAP_XXX
Directory
LDAP Connector
LDAP
Function LDAP_XXX
RFC
' Executable LDAP_RFC shipped since Release 4.6A ' Loads LDAP Library of operating system at runtime
SAP AG 2002, TechED_02 Bremen, Slot #, Boris Kberle / 20
PRINT ON DEMAND
sponsored by
20 20
LDAP API
S S S S
Direct access to directories within ABAP applications via LDAP protocol. Provides functionality for connecting and searching, reading and editing of directory entries. Connects to a directory server via LDAP Connector. Provides functions for testing the configured directory connections.
PRINT ON DEMAND
sponsored by
21 21
Transaction LDAP
Allows setup of LDAP Connectors for directory access. Allows deposition of connection and authentication data for different directory servers. Provides simple access to basic LDAP functionality for testing purposes.
PRINT ON DEMAND
sponsored by
22 22
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
23 23
dn
objectclass givenName sn telephoneNumber uid mail sapUserName sapRoles
uid=TechEd2002,o=sap,c=de inetOrgPerson sapAddOnUM John Doe +49-6227 7-47474 TechEd2002 john.doe@sap.com DOEJOHN ABC:sapDeveloper XYZ:sapAdministrator
Username
Firstname Surname Telephon Nr. Telephon Ext. Mail Roles
DOEJOHN John Doe 6227 7 47474 john.doe@sap.com sapDeveloper (ABC) sapAdministrator (XYZ)
Mapping
PRINT ON DEMAND
sponsored by
24 24
Directory
LDAP
Synchronization
Mapping
' Mapping of data to designated directory attributes ' Assignment of entries to designated object classes ' Assignment of RDN and DN (Key) ' Handling of complex structures
SAP AG 2002, TechED_02 Bremen, Slot #, Boris Kberle / 25
PRINT ON DEMAND
sponsored by
25 25
Determines how corresponding entries for SAP Objects can be found in the directory. Marks the Mapping which is used to form the RDN of new directory entries. Determines which attributes are essential for new directory entries. Determines which mappings are used to read directory entries Determines which mappings are used to write directory entries
PRINT ON DEMAND
sponsored by
26 26
Mapping Procedure
Directory
LDAP
Synchronization
Mapping
SAP Fields
Function Module
Directory Attributes
Parameters
PRINT ON DEMAND
sponsored by
27 27
Mapping Procedure
Directory
LDAP
Synchronization
Mapping
TEL1_NUMBR TEL1_EXT
Function Module
telephone
PRINT ON DEMAND
sponsored by
28 28
Mapping Procedure
Directory
LDAP
Synchronization
Mapping
06227 7 47474
Function Module
06227 7-47474
PRINT ON DEMAND
sponsored by
29 29
Transaction LDAPMAP
PRINT ON DEMAND
sponsored by
30 30
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
31 31
Administration in Directory
Admin Corporate Directory e.g. HR 1 1 1 Entry (incl. SAP Username) is created or modified in directory either manually or automatically by another application, e.g. HR. During next run of synchronization the user entry in the synchronizing SAP System will be created or updated against directory data. Additionally manual administration of user data in the SAP Central or Client Systems is possible. In a central system of a CUA landscape the data is distributed to client systems via ALE.
2 2
Admin
SAP System 3
Central System
SAP System
Client System
SAP AG 2002, TechED_02 Bremen, Slot #, Boris Kberle / 32
PRINT ON DEMAND
sponsored by
32 32
2 3 3 1
Admin
SAP System
Central System
SAP System
Tochtersystem Client System
SAP AG 2002, TechED_02 Bremen, Slot #, Boris Kberle / 33
PRINT ON DEMAND
sponsored by
33 33
Sequence of Synchronization
Corporate Directory
1 3
Differences between Corporate Directory and SAP System are determined. Three collections of user entries arise. Two collections of user entries which exist only in one repository must be dispersed first. This happens according to the settings in the customizing and in the selection screen of the synchronization tool. During this process objects are either created, deleted or simply ignored. Finally the collection of entries which already exist in both repositories is dispersed. This is done by bidirectionally synchronization of the corresponding entries according to the settings in the customizing.
2
Users Users
Users
Users
3
= exist in both repositories
SAP System
Zentralsystem
PRINT ON DEMAND
sponsored by
34 34
Report RSLDAPSYNC_USER
PRINT ON DEMAND
sponsored by
35 35
Agenda
Homogeneous Landscapes Heterogeneous Landscapes Directory Basics Directory Interface Directory Mapping Directory Synchronization Summary
PRINT ON DEMAND
sponsored by
36 36
Summary
S S S S S S
Available since 6.10 Indirect support of releases <6.10 Synchronization (not migration) Product independent (LDAP) Schema independent (mapping) Integrated with CUA
PRINT ON DEMAND
sponsored by
37 37
Demo / Exercises
Demo
PRINT ON DEMAND
sponsored by
38 38
Q&A
PRINT ON DEMAND
sponsored by
39 39
Further Information
Public Web:
www.sap.com Solutions Technology security@sap.com
SAPNet:
Use ALIAS: systemmanagement Directory Access Services
PRINT ON DEMAND
sponsored by
40 40
Feedback
http://www.sap.com/teched/bremen/
Conference Activities
PRINT ON DEMAND
sponsored by
41 41
PRINT ON DEMAND
sponsored by
42 42