330 likes | 866 Views
LDAP. The Online Directory. LDAP. What is it What do we use it for How is it loaded How to use it Current challenges Futures. What is LDAP?. Our web-based directory of students, faculty, and staff. What is LDAP?. L ightweight D irectory A ccess P rotocol. What is LDAP?.
E N D
LDAP The Online Directory 1
LDAP • What is it • What do we use it for • How is it loaded • How to use it • Current challenges • Futures 2
What is LDAP? Our web-based directory ofstudents, faculty, and staff 3
What is LDAP? Lightweight Directory Access Protocol 4
What is LDAP? • An object database • An access protocol • Based on X.500/DAP • Optimized for searching • High availability 5
LDAP Usage at U of C • Campus E-mail directory • Authentication & authorization> Web> Calendar> News 6
Example Uses Directory search • www.ucalgary.ca/directory • Netscape Address Book Restricting web content • https://www.ucalgary.ca/it/SMG/minutes 7
LDAP Structure directory.ucalgary.ca o=ucalgary.ca cn=Administrators ou=People uid=twhite 8
LDAP Objects Objectclass: uofcpersondn: uid=twhite,ou=People,o=ucalgary.ca sn: White givennames: Terrance mail: twhite@ucalgary.ca mail: theprez@ucalgary.ca department: President’s Office 9
LDAP Objects Objectclass: groupofuniquenamesdn: cn=Administrators,o=ucalgary.ca owner: uid=kozlowsk,ou=... uniquemember: uid=kozlowsk,ou=… uniquemember: uid=rogjohns,ou=… uniquemember: uid=admin,ou=... 10
LDAP Objects • Distinguished namee.g. uid=twhite,ou=people,o=ucalgary.ca • Attributescan be inherited • Valuescan occur multiple times 11
Available Attributes uid IT username sn Surname from UCID system officialname Given name from UCID system givenname Preferred given name cn Common name (givenname + sn) 12
Available Attributes faculty (for students) departmentnumber (e.g. U4705) department Department Name telephonenumber facsimiletelephonenumber roomnumber mail E-mail address labeleduri Web home page 13
Available Attributes userclass UCID category type(s) course Current courses (not published) employeenumber UofC ID Number (restricted) publish Public display flag locked Active indicator Other stuff could be added! 14
Potential Attributes • User Comments • Alternate departments • Departmental phone number • Digital certificates • Calendar preferences 15
Sources of Data SIS HR UCID AIX Accounts Personal Updates AuthentUCID LDAPusername 16
Why am I not listed? • Must have a UCID • Must have an IT Username • Username must be connected to UCID • Username must be primary • Publish flag must be set • Wait for update to happen 17
Update Schedule • Web update - every hour • UCID updates - every hour • AIX updates - daily • HR/SIS data changes - weekly 18
Historical Artifacts • LDAP keyed by username; authent keyed by UCID • Loaded all UCIDS w/data on Aug 1, 98 • Fake usernames if one didn’t exist • Username required after that date • Students not published after Aug 1,99 19
.ucaccess A facility for restricting access to web pages by any combination of LDAP data (e.g., IT meeting minutes) 20
.ucaccess Place rules in content directory: [ldap] uid:mortis uid:rogjohns uid:kozlowsk 21
.ucaccess [ldap] course:*MATH211* course:*MATH213* Course data format: W2000MATH211L01B03T01 22
.ucaccess Attributes are ‘or’ed together: [ldap] department:UCS* uid:fritsp course:W2000* 23
API’s • AIX command line ldapsearch -b o=ucalgary.ca cn=*morven* • Web access ldap://directory.ucalgary.ca /o=ucalgary.ca??sub?cn=*morven* • C, Perl, Java, etc. 24
Binding • Another name for ‘logging on’ • Interface to AIX cluster password • Required for:* view access to UCID and courses* updating LDAP directly* viewing ‘locked’ entries 25
Mainframe Calls • DASAUTHSAIX password authentication • DASMAILAE-mail address lookup 26
Current Problems • No Yellow Pages • Stale phone numbers • Single faculty & department • No checking of e-mail addresses • No departmental administration • Update time lag 27
Ideas for the Future • End users update LDAP directly • Interface with TeleWeb system • Separate staff list • Digital Certificates • Calendar integration • Hot failover 28
Support • Admin Help Desk • Leigh Schroth (account problems) • Roger Johnson (data loads) • Don Kozlowski (LDAP itself) 29
Coordination Committee • Bob Revak (chair) • Roger Johnson • Don Kozlowski • Jeremy Mortis • Paul Starling 30
More Information LDAP in general http://developer.netscape.com/docs/ .ucaccess http://www.ucalgary.ca /it/itf/general/web/web-02.html 31