#! /bin/sh

ldapsearch -x -h ldap.vtc.edu.hk -b "ou=ICT,ou=TY,ou=stu,o=vtc.edu.hk" \
'(|(acType=STF)(&(&(year=3)(course=41300))(classcode=W)))' cn -LLL |
grep '^cn:'  | sort

ldapsearch -x -h ldap.vtc.edu.hk -b "ou=ICT,ou=TY,o=vtc.edu.hk" \
'(|(acType=STF)(&(&(year=3)(course=41300))(classcode=W)))' cn -LLL | 
grep '^cn:'  | sort

