190 likes | 573 Views
What is LDAP?. LDAP = Lightweight Directory Access Protocol Directory Structure LDAP://CN=user,OU=Staff,DC=sds,DC=local Stores information about object Usually Users and Groups Based on Schema Open standard Microsoft = Active Directory or ADAM Apple = Open Directory
E N D
What is LDAP? • LDAP = Lightweight Directory Access Protocol • Directory Structure • LDAP://CN=user,OU=Staff,DC=sds,DC=local • Stores information about object • Usually Users and Groups • Based on Schema • Open standard • Microsoft = Active Directory or ADAM • Apple = Open Directory • Open Source = OpenLDAP • Sun = Java System Directory Server
What is Active Directory? • LDAP + Kerberos • Domain Controller = LDAP/Kerberos Server • Domain = Collection of Domain Controllers • Multi-Master replication • Forest = Collection of Domains • Global Catalog • Computers join Domain
Common Projects • Administrative Functions • Identity Management • User Data Entry • Integrate Application with Enterprise
LDAP vs SQL • Enterprise Accounts • High Availability • Secure Passwords • Strong group membership • Better at being a directory
System.DirectoryServices • DirectoryEntry • Represents object • DirectorySearcher • Search directory • SearchResult • Result of DirectorySearcher • Read Only, Convert to DirectoryEntry for R/W
S.DS.AccountManagement • PrincipalContext • Define what we’re connecting to • UserPrincipal • Represents User object • GroupPrincipal • Represents Group object • Search • UserPrincipal.Methods() • GroupPrincipal.Methods() • PrincipalSearcher
Authenticating Users • System.DirectoryServices (DEMO) • S.DS.AccountManagement (DEMO) • Active Directory or ADAM Only • S.DS.Protocols • Best LDAP Performance • SSPI • Active Directory Only • Best Option
Steve Evans • Microsoft MVP, Directory Services • Blog – http://SerkTools.com • Twitter - @scevans • President of SerkTools (http://SerkTools.com) • Content Creation for Customers • Screencast, Whitepapers, Blogging, Events • Consulting • Microsoft IT Infrastructure (Active Directory, SQL, SharePoint, Exchange, Identity, etc) • Cloud Computing (especially AWS)