erp idm ad s- authority manager admin delegated … access control in ad using grouper rob carter,...

44
Delegated Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, Duke University MS-AD IDM Grouper ERP Java Admin Admin Web UI Authority Manager Admin

Upload: dothuan

Post on 29-May-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Delegated Access Control in AD using Grouper

Rob Carter, Duke UniversityShilen Patel, Duke University

MS-

AD

IDM

Grouper

ERP

Java

Admin Admin

Web UI

Authority Manager Admin

Page 2: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

History

Page 3: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

How did it ever come to this?

•Duke ca. Y2K

• Vastly distributed IT

• Novell, DUMC $$

• Unix-centric core, MIT Kerberos

• No IDM

• Active WHAT?WINDOWS NT4 DOMAINS

dept1

dept 2

dept 6

dept 5

dept 4

dept 3

Distributed Departments

Central IT

Solaris

AIX

MIT K5

CCSO

Netware/eDir

dept 7

Page 4: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

How did it ever come to this?

•Duke ca. Y2K+4

• Novell, DUMC $$, growing...

• *nix-centric core, MIT Kerberos, Novell IDM

• Mix of AD/NT4/*nix in departments

• Central AD, largely ignored...

AD Domains Linux environments

dept1

dept 2

dept 7

dept 5

dept 4

dept 3

Distributed Departments

Central IT

Linux

AIX

MIT K5

Novell

Solaris

NT4 Domains

Netware/eDir

dept 6

AD

Page 5: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

How did it ever come to this?

•Duke ca. Y2K+8

• Novell, DUMC $$, expanded, centralized...

• Windows/AD + *nix core, late Novell IDM

• Mix of AD/*nix in departments

• Limited AD buy-in

dept1

dept 2

dept 7

dept 5

dept 3

Distributed Departments

Central ITLinux

AIX

MIT K5

NovellSolaris

AD Domains

Netware/eDir

dept 6

ADWindows

Linux/Mac Environments

dept 4

Page 6: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

2009: The year everything changed

• DUMC $$ fleeing late 2010

• Novell IDM ==> Oracle IDM

• Exchange, ECAL

• Central AD detached but part of IDMS

• Our cheese is up moving around...

dept1

dept 2

dept 7

dept 5

dept 3

Distributed Departments

Central ITLinux

AIX

MIT K5

OIMSolaris

AD Domains

dept 6

ADWindows

Linux/Mac Environments

dept 4

Netware/eDir

Page 7: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Politics, Strategy, and Plans

Page 8: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

• Many (expensive) local AD domains

• Central AD = “privileged resource”

• Central IT: AD = Windows (or worse)

• Community interest piqued by ECAL, Exchange

Conditions (ca. 2009)

Page 9: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Politics (ca. 2009)

• Why hasn’t central AD caught on?

• High barriers to entry

• Very limited vestment

• Disconnection = no added value

• Lack of delivery has led to a trust gap...

Page 10: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Politics (cont’d)

• Solution: Outside-in approach

• Create steering/governance group

• Collect functional requirements

• “Sell” AD more like a service

• ...and then came the six-page manifesto...

Page 11: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Ethel the Frog looks at violence in the British Underworld

Page 12: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

The Plan(They offer to beat us up and let us pay for it)

• Link IDM with AD

• Synchronize K5 + AD passwords

• Load users into one big OU, let admins “sort it out”

• Make departments domain admins -- “trust us”

• Result: Failure to launch

Page 13: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

The Plan Fails

• Central IT unwilling to play cop

• Governance indecision - whom to trust?

• Exchange admins, others, want reliable OU map

• So we countered with...

Page 14: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

The Other Plan(Threaten not to beat them up if they don’t pay us)

• Link IDM and AD; sync passwords

• Mirror-image “Departmental” and “People” OUs

• Sync IDM users to People OUs w/ ERP data

• Grant IT staff in departments “Admin” roles, IT managers “Manager” roles

• Asymmetric privileges in “People” and “Depts” scoped to “own” department

• Result: CFIT...

Page 15: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

The Other Plan Fails

• Initial “trust” issues resolved, but...

• ERP-based department data unstable; lacks nuance

• All ITers don’t manage AD (OIT = 200 IT staff)

• Inter-departmental IT support agreements

• Security & Audit & Sr. Mgt, oh my!

• chain of authority; policy; indemnification

• So we tried...

Page 16: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

The Other Other Plan(Threaten to beat them up if they don’t pay us)

• Link IDM with AD; sync K5 passwords; split AD into People and Departmental OUs

• Modify ERP OUs with governed “roll up table”

• Add an “Authority” role and policy sign-off

• No automatic privileging - Authorities to elect ad hoc delegation or delegation to dynamic groups

• This was a turning point...

Page 17: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Technology

Page 18: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Convergence ‘09-’10

• Russ Allberry’s pwsync plugin

• Functional IDM (Oracle)

• SAP-WS orgunit access

• Grouper v1.5+ (with permissions)

• Already 250,000+ groups -- what’s a few thousand more?

Page 19: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

First Steps

• pwsync plugin (06/09)

AD

MIT K5

pwsync

chpw

Page 20: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

First Steps

• pwsync plugin (06/09)

• OIM integration (10/09)

AD

MIT K5

pwsync

chpw

OIM

Page 21: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

First Steps

• pwsync plugin (06/09)

• OIM integration (10/09)

• ERP integration (01/10)

AD

MIT K5

pwsync

chpw

OIM SAP/PS

Page 22: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

First Steps

• pwsync plugin (06/09)

• OIM integration (10/09)

• ERP integration (01/10)

• Depts vs. People (01/10)

AD

MIT K5

pwsync

chpw

OIM SAP/PS

depts people

Page 23: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

First Steps

• pwsync plugin (06/09)

• OIM integration (10/09)

• ERP integration (01/10)

• Depts vs. People (01/10)

• Grouper (v1.5) groups in AD (07/2010)

depts people

AD

MIT K5

pwsync

chpw

OIM SAP/PS

depts people

Grouper

groups

permissions

v1.5

Page 24: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Modeling

Page 25: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Departmental OUs::Resources

• Map Departmental OUs in AD onto Grouper Resources in One Hieararchy

OU=DukeDepts

FinancialServices

ChancellorHealthAffairs

TrinityCollege

Chem

DFAS A&S

techsvcs Art

duke:resourcesduke:resources:dept_treeduke:resources:dept_tree:TrinityCollegeduke:resources:dept_tree:TrinityCollege:DFASduke:resources:dept_tree:TrinityCollege:DFAS:techsvcsduke:resources:dept_tree:TrinityCollege:A&Sduke:resources:dept_tree:TrinityCollege:A&S:Chemduke:resources:dept_tree:TrinityCollege:A&S:Artduke:resources:dept_tree:FinancialServicesduke:resources:dept_tree:ChancellorHealthAffairs

Page 26: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

People OUs :: Resources

• Map (User OUs x Attributes) onto Grouper Resources in Separate Hierarchy

OU=DukePeople

FinancialServices

TrinityCollege

Chem

DFAS A&S

techsvcs Art

Users

Users

Users UsersUsers

Users

duke:resources:people_tree

duke:resources:people_tree:TrinityCollegeduke:resources:people_tree:TrinityCollege:objectClassduke:resources:people_tree:TrinityCollege:unixLoginShellduke:resources:people_tree:TrinityCollege:unixHomeDirectory

duke:resources:people_tree:TrinityCollege:Usersduke:resources:people_tree:TrinityCollege:Users:objectClassduke:resources:people_tree:TrinityCollege:Users:unixLoginShellduke:resources:people_tree:TrinityCollege:Users:unixHomeDirectory

duke:resources:people_tree:TrinityCollege:A&Setc...

{{

Page 27: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Roles::Groups

• Global default cases => dynamic groups

• managers (employees with management responsibility)

• it_staff (employees with IT job family)

• it_nonmanagers (IT-Staff & !managers)

• it_managers (IT-staff & managers)

Page 28: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Roles::Groups (cont’d)

• Departmental default cases => dynamic groups

• OU:members (employees in OU)

• OU:it_staff (OU:members & IT-Staff)

• OU:it_managers (OU:members & IT-Managers)

• OU:it_nonmanagers (OU:members & IT-NonManagers)

Page 29: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Roles::Groups (cont’d)

• Explicit groups for the three AD delegate roles

• OU:ad_authorities (Authority role)

• OU:ad_managers (Manager role)

• OU:ad_admins (Admin role)

Page 30: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Roles::Groups (cont’d)

• Include/Exclude groups for delegated roles

• OU:ad_managers_includes

• OU:ad_managers_excludes

• OU:ad_admins_includes

• OU:ad_admins_excludes

Page 31: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Roles::Groups (cont’d)

• Composing groups for the three AD delegate roles

• OU:AD Authorities (Authority role)

• Explicitly delegated by OIT

• OU:AD Managers (Manager role)

• OU:ad_managers_systemofrecord + OU:ad_managers_includes - OU:ad_managers_excludes

• OU:AD Admins (Admin role)

• OU:ad_admins_systemofrecord + OU:ad_admins_includes - OU:ad_admins_excludes

Page 32: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Grouper Permissions::AD

• Map AD Privileges to Grouper Actions

• ACTION_FULL (full domain admin rights)

• ACTION_READ (read-only access)

• ACTION_READWRITE (read/write access)

Page 33: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Grouper Permissions::AD

• Express AD Access Rights as Grouper Perms

• (subject,action,resource)

• (duke:orgs:OIT:SSI:ad_admins,ACTION_FULL, duke:resources:ad:dept_tree:OIT:SSI)

• (OIT:SSI AD Admins have full rights in DukeDepts\OIT\SSI [recursively])

• (duke:orgs:OIT:SSI:ad_admins,ACTION_READWRITE, duke:resources:ad:people_tree:OIT:SSI:unixHomeDirectory)

• (OIT:SSI:AD Admins have read-write access to the unixHomeDirectory attribute in DukePeople\OIT\SSI [recursively - ...:SSI:Users:... would be non-recursive])

Page 34: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

GLUE

Page 35: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Binding it all together

• Manual & Semi-manual Processes

• OU “short circuit” table managed manually

• Script converts table to Grouper resources & seed groups

• OIT assigns Authorities manually in Grouper

Page 36: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Binding it all together

• IDM-related components

• IDM reconcilers consume Grouper groups

• IDM-triggered provisioning routines manage groups in AD

• IDM provisioner maintains dynamic groups in Grouper

Page 37: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Binding it all together

• Java code consumes Grouper Permissions view every 60 seconds

• Converts Grouper Permissions to AD ACLs

• Maintains State; Computes Diffs

• Read/Modify/Write ntSecurityDescriptor attribute based on ACL changes

Page 38: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Self-Service

Page 39: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Web UIs• AUTHORITIES MUST:

• Accept Policy before doing anything

• Manage designations of ad_managers

• Accept responsibility for delegates

• AUTHORITIES MAY:

• Manage membership in ad_managers & ad_admins groups

• Assign privileges to ad_admin groups within their OUs

• View group memberships

Page 40: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Web UIs• MANAGERS MAY:

• Manage membership in ad_admins groups

• Assign privileges to ad_admin groups within their OUs

• View group memberships

• ADMINS MAY:

• View group memberships

Page 41: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

DEMO

MS-

AD

IDM

Grouper

ERP

Java

Admin Admin

Web UI

Authority Manager Admin

Page 42: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Lessons Learned

• Governance, Governance, Governance

• Technology is important; Politics is more important

• Functional requirements are sharp at both ends

• Governance, Governance, Governance

Page 43: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Next Steps

• Roll out access to more departments

• Domain migrations and transitive trusts

• Non-windows client support in AD

• Reconciliation of departmental AD groups to Grouper

• Reuse of delegation model (InCommon cert service delegation? Departmental registrars?)

Page 44: ERP IDM AD S- Authority Manager Admin Delegated … Access Control in AD using Grouper Rob Carter, Duke University Shilen Patel, ... • Functional IDM (Oracle) • SAP-WS orgunit

Delegated Access Control in AD using Grouper

Rob Carter, Duke UniversityShilen Patel, Duke University

MS-

AD

IDM

Grouper

ERP

Java

Admin Admin

Web UI

Authority Manager Admin