From 251f92ddf6898c5d268b504883a3da0d49930c51 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 7 Nov 2014 17:56:09 +0000 Subject: kent_student_lookup First release --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..48a65ac --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +kent_student_lookup +=================== + +Using the ldap server provided by the University of Kent, this +software will dig and find the entry of a student associated to +the uid or last name given. + +* ldapsearch is needed for the software to run properly. It is +often provided in the package `openldap' + +usage: + + $ kent_student_lookup Gayot + + + +# extended LDIF +# +# LDAPv3 +# base with scope subtree +# filter: (|(sn=Gayot)(uid=Gayot)) +# requesting: ALL +# + +# ojgg2, students, kent.ac.uk, uni +dn: uid=ojgg2,ou=students,o=kent.ac.uk,o=uni +mail: ojgg2@kent.ac.uk +objectClass: top +objectClass: person +objectClass: organizationalPerson +objectClass: dspswuser +objectClass: unikentuser +objectClass: inetorgperson +objectClass: inetUser +objectClass: posixaccount +objectClass: eduPerson +objectClass: account +objectClass: mailRecipient +givenName: O.J.G. +sn: Gayot +uid: ojgg2 +cn: O.J.G.Gayot +displayName: O.J.G.Gayot +unikentaccountType: pgtstudent +unikentdepartment: comp + +# search result +search: 2 +result: 0 Success -- cgit v1.2.3