LDAP: Information Model Part 2 CNS 4650 Fall 2004 Rev. 2.

Slides:



Advertisements
Similar presentations
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
Advertisements

The Web Warrior Guide to Web Design Technologies
Lecture 2 Introduction to C Programming
Introduction to C Programming
 2000 Prentice Hall, Inc. All rights reserved. Chapter 2 - Introduction to C Programming Outline 2.1Introduction 2.2A Simple C Program: Printing a Line.
Introduction to C Programming
Directory & Naming Services CS-328 Dick Steflik. A Directory.
 2007 Pearson Education, Inc. All rights reserved Introduction to C Programming.
EEC-681/781 Distributed Computing Systems Lecture 9 Wenbing Zhao Cleveland State University.
1 Data types, operations, and expressions Overview l Format of a Java Application l Primitive Data Types l Variable Declaration l Arithmetic Operations.
30-Jun-15 SQL A Brief Introduction. SQL SQL is Structured Query Language Some people pronounce SQL as “sequel” Other people insist that only “ess-cue-ell”
Introduction to C Programming
LDAP LIGHT WEIGHT DIRECTORY ACCESS PROTOCOL PRESENTATION BY ALAKESH APURVA DHAN AND ASH.
Configuration Management Supplement 67 Robert Horn, Agfa Healthcare.
03/07/08 © 2008 DSR and LDAP Authentication Avocent Technical Support.
INFORMATION FOR NETWORK OPERATION. CONTENT Directory service Standard X.500 LDAP.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
ASN.1 CNS 4650 Fall 2004 Rev. 2.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
23/4/2001LDAP Overview - HEPix - LAL 2001 LDAP Overview HEPix – LAL Apr Michel Jouvin
LDAP Search Criteria Fall 2004 Rev. 2. LDAP Searches Can be performed on Single directory entry Contents of a single container Entire subtree Required.
Introduce LDAP 张海鹏 SOA Mult - Little system User Manager System (share between other systems) How to store user Information How to access.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 4: Active Directory Architecture.
Tutorial 2 Variables and Objects. Working with Variables and Objects Variables (or identifiers) –Values stored in computer memory locations –Value can.
Extending OpenLDAP Luke Howard PADL Software Pty Ltd Copyright © 2003 PADL Software Pty Ltd. All rights reserved. PADL is a registered trademark of PADL.
Abstract Syntax Notation ASN.1 Week-5 Ref: “SNMP…” by Stallings (Appendix B)
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
LDAP: LDIF & DSML Fall 2004 Rev. 2. LDIF Light-weight Data Interchange Format RFC 2849 Common format to exchange data entry schema.
LDAP Items
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
New Perspectives on XML, 2nd Edition
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 2 Chapter 2 - Introduction to C Programming.
Introduction to C Programming Angela Chih-Wei Tang ( 唐 之 瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan 2010 Fall.
Module 1.2 Verilog Simulator.  A Verilog program for a particular application consists of two blocks : ◦ Design Block (Module) ◦ Testing Block (Stimulus.
1 COP 4343 Unix System Administration Unit 13: LDAP.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
LDAP: Accessing Operational Information CNS 4650 Fall 2004 Rev. 2.
VARIABLES, CONSTANTS, OPERATORS ANS EXPRESSION
The character data type char. Character type char is used to represent alpha-numerical information (characters) inside the computer uses 2 bytes of memory.
LDAP- Protocol and Applications. Role of LDAP Allow clients to access a directory service Directories hold hierarchical structured information Clients.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 2 - Introduction to C Programming Outline.
Review on Active Directory. Aim Enable users to find network resources easily Central and easy administration of users and resources in a domain Improve.
LDAP Namespace CNS 4650 Fall 2004 Rev. 2. What is a namespace? Different from XML, C++, Java, etc. Names permitted and used in a directory Can include.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
Finding Information in an LDAP Directory Info. Tech. Svcs. University of Hawaii Russell Tokuyama 05/02/01 University of Hawaii © 2001.
1 Lecture 2 - Introduction to C Programming Outline 2.1Introduction 2.2A Simple C Program: Printing a Line of Text 2.3Another Simple C Program: Adding.
LDAP: Creating Object Classes and Attributes CNS 4650 Fall 2004 Rev. 2.
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
The ITU-T X.500 series and X.509 in a changing world
Presented By: Prof. D.W.Chadwick Other Author: D.Mundy
Introduction to LDAP Frank A. Kuse.
Chapter 2 - Introduction to C Programming
Dept. of Computer Science and Engineering
ICM, University of Warsaw
Chapter 2 - Introduction to C Programming
Object Oriented Analysis and Design
Chapter 2 - Introduction to C Programming
Chapter 2 - Introduction to C Programming
Variables ICS2O.
News from the wonderful world of directories
Chapter 2 - Introduction to C Programming
CEG 2400 Fall 2012 Directory Services - LDAP
LDAP – Light Weight Directory Access Protocol
ISC321 Database Systems I Chapter 10: Object and Object-Relational Databases: Concepts, Models, Languages, and Standards Spring 2015 Dr. Abdullah Almutairi.
PHP.
Chapter 2 - Introduction to C Programming
Chapter 2 - Introduction to C Programming
Presentation transcript:

LDAP: Information Model Part 2 CNS 4650 Fall 2004 Rev. 2

LDAP Informational Model LDAP represented by entries Entries belong to one or more object classes Object classes is defined by attributes Attributes consist of a type and one or more values Schema defines object classes and attributes

Attributes Types Building blocks of LDAP entries Attributes types are defined in schema Attributes Types are built with the following components: Name Object Indentifier (OID) Syntax Matching Rules Inheritence

Name Case in-sentitive Can contain only letters, numbers, dashes, and semi-colons Standard convention is single words are lower case, capitalize the first letter of multiple words (no spaces) LettersgivenName Numbersx509Certificate Dashtest-attribute Semicolonx509Certificate;binary

Object Indentifiers (OID) ASN.1 Number Allow the attribute type to be globally unique Allow for different attribute names Different languages

Syntax Definitions Tells the user or server how to handle the data LDAP defines a number of different syntaxes Example UID is defined as a string If an integer is placed in the UID value arithmetic operations cannot be preformed on that value The integer is treated as string not a number Similar to programming languages

Syntax Definitions Syntax have OIDs Defines the syntaxes across languages Reduces english dependences

Syntax Definitions Basic Directory String Printable unicode strings encoded in UTF-8 Binary Non-printable binary data Complex Certificate Complex, binary-encoded certificate Telephone Number String, non-numeric content is not searched

Syntax OIDs (RFC 2252) Attribute Type Description Y Audio N Binary N Bit String Y Boolean Y Certificate N Certificate List N Certificate Pair N Country String Y DN Y Data Quality Syntax Y Delivery Method Y Directory String Y IA5 String Y INTEGER Y JPEG N

Syntax Examples

Matching Rules Defines how the attribute should be searched Number of possible assertions are handled LDAP clients do not specify which rule they wish to use, the server decides based on matching rules defined for the attribute

Kinds of Matching Rules Equality Equality between attribute value and assertion value Greater than/Less than Ordering rules Substring If value is contained inside another value Subschema Value contained inside the schema

Matching Rules (RFC 2252) NAME 'distinguishedNameMatch' SYNTAX ) ( NAME 'caseIgnoreMatch' SYNTAX ) ( NAME 'numericStringMatch' SYNTAX ) ( NAME 'caseIgnoreListMatch' SYNTAX ) ( NAME 'integerMatch' SYNTAX )

Matching Rules ( NAME 'bitStringMatch' SYNTAX ) ( NAME 'telephoneNumberMatch' SYNTAX ) ( NAME 'presentationAddressMatch' SYNTAX ) ( NAME 'uniqueMemberMatch' SYNTAX ) ( NAME 'protocolInformationMatch' SYNTAX ) ( NAME 'generalizedTimeMatch' SYNTAX ) ( NAME 'caseExactIA5Match' SYNTAX ) ( NAME 'caseIgnoreIA5Match' SYNTAX )

Multiple Values Attributes can be defined to allow multiple values Values are NOT returned in any specific order

Inheritance Allows creation of abstract type and reduces redefinition of common types Example name attribute type Case insensitive string Case insensitive match commonName, givenName, surName These attributes have same features as name No need to redefine syntax and matching rules sup: name

Object Classes Object classes define the attributes of a particular entry Object class gives you information on the type of entry This allows the user to know the attribute the entry contains Every entry has at least one objectClass attribute

Object Class Example This entry belongs to three object classes A user can figure out what attributes are available for this entry dn: uid=dansinema,cn=users,dc=apple,dc=edu objectClass: organizationalPerson objectClass: person objectClass: top cn: Dan Sinema

Object Class Defined Name Object Identifier (OID) Inheritence Class Type Required Attribute Types Allowed Attribute Types

Object Class Name Case-insensitive Contains letter, numbers, dashes, semicolon Convention is only letters and numbers All lower case Multiple words first letter capitalized

Object Class OIDs Uniquely identify object class globally No real meaning other than to provide uniqueness

Object Class Inheritance Very similar to inheritance for attributes types ( NAME 'cartoon-character' SUP top STRUCTURAL DESC 'Cartoon character and all his/her attributes' MUST ( cn $ cartoon-catchPhrase $ cartoon-homeNetwork ) MAY ( cartoon-biography $ cartoon-tvShow $ cartoon-showTime $ cartoon-showDay $cartoon-tvSeasons ) )

Abstract Object Classes Never primary object class for any entry Used as a superclass One defined in LDAP “top” Every LDAP object class ultimately extends “top”

Structural Object Classes Every entry belongs to at least one structural object class Structural classes are the building blocks of LDAP ( NAME 'cartoon-character' SUP top STRUCTURAL DESC 'Cartoon character and all his/her attributes' MUST ( cn $ cartoon-catchPhrase $ cartoon-homeNetwork ) MAY ( cartoon-biography $ cartoon-tvShow $ cartoon-showTime $ cartoon-showDay $cartoon-tvSeasons ) )

Auxiliary Object Class Add secondary attributes to entries Must be added to entries which belong to at least one structural class Often used by organizations to customize objects for their environment