Playing with AD Domains (not the Windows Way) - SambaXP 2017 - - PowerPoint PPT Presentation

playing with ad domains not the windows way
SMART_READER_LITE
LIVE PREVIEW

Playing with AD Domains (not the Windows Way) - SambaXP 2017 - - PowerPoint PPT Presentation

Tranquil IT Systems Playing with AD Domains (not the Windows Way) - SambaXP 2017 Denis Cardon, Vincent Cardon Tranquil IT Systems Tranquil IT Systems IT support company since 2002, in Nantes, FRANCE 15 employees both small (outsourcing)


slide-1
SLIDE 1

Tranquil IT Systems

Playing with AD Domains (not the Windows Way)

  • SambaXP 2017

Denis Cardon, Vincent Cardon

slide-2
SLIDE 2

Tranquil IT Systems

Tranquil IT Systems

IT support company since 2002, in Nantes, FRANCE 15 employees both small (outsourcing) and large (contracting) clients

slide-3
SLIDE 3

Tranquil IT Systems

TIS and SaMBa

a long love story

2004 first client on SaMBa3 PDC NT4 2011 first client on SaMBa-AD leading SaMBa-AD integrator in France (it's google.fr that says it :-)

SaMBa very popular in France

free as in beer syndrom ? free as in speech syndrom ? Général de Gaulle syndrom ?

slide-4
SLIDE 4

Tranquil IT Systems

some feedback

slide-5
SLIDE 5

Tranquil IT Systems

Our experience 1/4

Installation and configuration is now soooo easy (IMHO :-) You are doing too much of a good job The main issues for simple deployments

basic networking skills fire the sysadmin → basic AD skills fire the sysadmin → basic linux skills make samba AD run on → windows ? fire the sysadmin →

slide-6
SLIDE 6

Tranquil IT Systems

Our experience 2/4 Bridging Windows and Linux...

SaMBa is not only a bridge

AD integration for BOTH Windows and Linux SMB protocol from Linux TO Linux

no more

Nightmare File System basic ldap bind auth NIS…

Better identity management

slide-7
SLIDE 7

Tranquil IT Systems

Our experience 3/4 SaMBa-AD and security

Cisco Anyconnect 802.1x OK LAPS : OK Rights delegation : OK Software Restriction Policies (SRP/AppLocker) : OK RODC almost there, 4.7 ? KRB5 encryption type restriction: DCE-RPC port restriction:

slide-8
SLIDE 8

Tranquil IT Systems

Our experience 4/4 Samba and scalability

5000+ desktops 90 domain controlers Huge performance improvements in 4.6 Even more improvements coming in 4.7…

  • ex. : French Ministry of Culture : almost

finished from 170 large and small domains to consolidated 13 domains. 170 sites

slide-9
SLIDE 9

Tranquil IT Systems

Samba is ready for most domain We need to migrate them

slide-10
SLIDE 10

Tranquil IT Systems

SaMBa standard migration strategies 1/2

SaMBa classicupgrade great for NT4 to AD

Simple and effective scripts Easy to use

But

Sometime takes to many attributes (arrrgh! mungeddial) 1 shot migration only

slide-11
SLIDE 11

Tranquil IT Systems

MS AD to Samba AD through join

Easy to setup

But

Tricky for win2k / doesn't work for win2k12 Migrate all what you want,

AND all the junk accumulated...

Cannot rename domain

VIPs like rebranding

SaMBa standard migration strategies 2/2

slide-12
SLIDE 12

Tranquil IT Systems

need to go further

slide-13
SLIDE 13

Tranquil IT Systems

Server Side Migration «LDB style» 1/3

Domain rename Domain merge Win2k12 forest level migration

clone-dc-database re-inject users !

We cannot use most of Microsoft migration tools

slide-14
SLIDE 14

Tranquil IT Systems

Server Side Migration «LDB style» 2/3

Samdb and python-ldb are your friends

APIs are not hidden

Scriptable with python Migration with same SID

recreate domain with same SID re-create user inject SID set-nt-hash rejoin / move computers to the new domain

slide-15
SLIDE 15

Tranquil IT Systems

Server Side Migration «LDB style» 3/3

Merge domB in existing domA

recreate users set-ntlm-hash rejoin / move computers migrate user profiles (hardest part)

No need for ADMT or SID History

slide-16
SLIDE 16

Tranquil IT Systems

Client side User profile migration

In a fairy land, you'll just have to

change ACLs on user profile, ntuser.dat, userclass.dat repoint SID from profileList in HKLM

In the depressing reality, you have

locking problems

  • rganisational problems

timing problems Desktop availability is transient, and they have their own life and diversity.

slide-17
SLIDE 17

Tranquil IT Systems

We need a tool for migrating users profiles

slide-18
SLIDE 18

Tranquil IT Systems

GPO are nice, but not good for everything

People switching from NT4 to AD have big hopes about GPOs GPO concepts date back to the 90's Microsoft added SCCM : software deploiement / configuration management GPO still useful for security features (SRP, etc.) We need a tool to complement GPO...

slide-19
SLIDE 19

Tranquil IT Systems

WAPT

Distribute, update and remove software applications and configurations WAPT is a powerful ingredient to manipulating AD domains on client side Python scripting like on SaMBa AD

slide-20
SLIDE 20

Tranquil IT Systems

DEMO

slide-21
SLIDE 21

Tranquil IT Systems

At last there is competition !

not so much evolution in AD since 2000 Times change, AD creativity booming

ADinternals -> MSAD has NTLM hash injection too (albeit not officially) Mimikatz : lsass.exe inception, pass the hash/over pass the hash attack, golden ticket People using samba4 for security auditing

Microsoft does great software.

Sometimes some competition helps :-)

slide-22
SLIDE 22

Tranquil IT Systems

Whishlist 1/2

DNS consistancy checker. AD DNS registering still has some black magic GPO manipulation (import/export) sysvolsync part of the project (people mess up when reading the wiki) smbd downgrade to ntlm auth if krb5 auth fails

slide-23
SLIDE 23

Tranquil IT Systems

whishlist 2/2

Make /etc/krb5.conf site aware (easily) Commercial SaMBa/CUPS driver support from copier vendors Improve bind-DLZ integration (or internal DNS :-) human friendly « samba-tool ntacl get » Smaller smbd footprint on DCs SaMBa DC process state checker

slide-24
SLIDE 24

Tranquil IT Systems

And tomorrow?

larger domains, tdb 64bits inter domain trust kerberos everywhere why keep kerberos on the LAN? make SaMBa be the innovator

slide-25
SLIDE 25

Tranquil IT Systems

Questions ?