Presentation is loading. Please wait.

Presentation is loading. Please wait.

PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Implementation of a SQL Engine for LDAP Shiv Shankar Ramakrishnan, Ranjeet Sonone, Shyam.

Similar presentations


Presentation on theme: "PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Implementation of a SQL Engine for LDAP Shiv Shankar Ramakrishnan, Ranjeet Sonone, Shyam."— Presentation transcript:

1 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Implementation of a SQL Engine for LDAP Shiv Shankar Ramakrishnan, Ranjeet Sonone, Shyam Gopale LDAP-RDBMS integration product group, PSPL

2 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) An example of where LDAP fits

3 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Sample LDAP usage  White Pages  "I want to look up so-and-so and get their email address and phone number..."  Yellow Pages  "List me all the printers.."  Attribute Mapping  "Give me the company ID number of the person whose login ID is..."  "Give me the email routing address of this person...”  Directory-enabled networking  “Give me the traffic policy for this department …”  “Give me the preferences last used by this client …”

4 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) About LDAP ou = people, o = pspl.co.in cn = RanjeetS ou = engineering cn = ShyamG cn = ShivR cn = AdityaP ou = groups cn = Sat Lectures cn = Fri Lectures  DN, RDN, hierarchy  object class, attribute  base, one level, subtree operations  search, insert, update, delete, modrdn, moddn  multi-valued attributes

5 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Database/LDAP integration LDAP Application RDBMS Server LDAP Server RDBMS Application SQL to LDAP (PS EnList) Synchronization (PS EnSure) LDAP to SQL (?)

6 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Example of a table mapping ou = people, o = pspl.co.in cn = RanjeetS ou = engineering cn = ShyamG cn = ShivR cn = AdityaP ou = groups cn = Sat Lectures cn = Fri Lectures

7 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) PS EnList: relational view of LDAP data  The tree below an entry is viewed as a table, entries as records/tuples.  A table definition determines the entries returned and the attributes which are searched.  base DN,  object classes,  scope,  column-attribute mapping,  PK selection,  datatypes

8 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) PS EnList SQL engine requirements  Standards-based interfaces  Multi-valued attributes  Exploit the server functionality  Almost as fast as LDAP  Product extensibility  data source consolidation  PERL operator LDAP client LDAP Server Metadata SQL Engine ODBC Interface Data

9 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Consider a sample query  “Give unique, ordered telephone numbers for all groups with at least one ‘MTS’ from ‘Engineering’ as a member of the group.  Multivalued attributes, operators - filters, join, distinct ou = people, o = pspl.co.in cn = RanjeetS ou = engineering cn = ShyamG cn = ShivR cn = AdityaP ou = groups cn = Sat Lectures cn = Fri Lectures

10 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) SQL for the sample query  Select distinct Grp.Tel, Ppl.dn from Grp, G_members, Ppl where Ppl.title = ‘MTS’ and Ppl.dept = ‘engineering’ and G_member.dn = Grp.dn and G_member.member = Ppl.dn order by Ppl.dn

11 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Using the PERL operator for ‘parent of’  “Find telephone numbers of departments with ‘Joshi’ in them.”  Select Dept.Tel, Dept.Name from Dept, Ppl where Ppl.surname = ‘Joshi’ and Dept.dn = STRIPRDN(Ppl.dn)

12 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) LDAP related operators  LDAP scan  scan on the view table  Special LDAP related optimization  Filter and sort could be combined with ldap scan  ldap directory could be treated as index and could do index join

13 PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Future challenges  A structured approach to splitting the query  between the LDAP server and PS EnList  Caching of query results  Consolidation of schema across servers  High-value operators and SQL extensions  Recognizing LDAP usage and placing optimizations according to usage


Download ppt "PSPL Persistent Systems Private Limited (http://www.pspl.co.in) Implementation of a SQL Engine for LDAP Shiv Shankar Ramakrishnan, Ranjeet Sonone, Shyam."

Similar presentations


Ads by Google