blob: c55fb764e58597ca7cc36a3e995665db14a7e512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
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 by the package _openldap_ or _ldap-utils_
* to run properly, you need to be able to access the host ldap.id
i.e. you have to be either connected to the campus network or connected behind
the VPN
Instructions to install and configure the VPN can be found here:
http://www.kent.ac.uk/itservices/home/
usage
-----
$ kent_student_lookup <uid>
or
$ kent_student_lookup <last_name>
examples
--------
$ kent_student_lookup Gayot
<stdout>
```
# extended LDIF
#
# LDAPv3
# base <ou=students,o=kent.ac.uk,o=uni> 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
```
|