Differences between revisions 12 and 15 (spanning 3 versions)
Revision 12 as of 2009-01-10 21:18:29
Size: 2223
Editor: 122
Comment: comment6 http://iyran33.yourfreehosting.net/bolton-evening-news-job-section.ht
Revision 15 as of 2009-01-10 23:04:30
Size: 1949
Comment: acl
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl Known:read,write,delete,revert All:read
Line 2: Line 3:
---- /!\ '''Edit conflict - other version:''' ----
comment6
http://iyran33.yourfreehosting.net/bolton-evening-news-job-section.html evening jobs in new york city
http://frentes28.myd.net/american-mutual-holding-company.html american national anthem buckingham
http://iyran33.yourfreehosting.net/alquiler-coches-aeropuerto-sevilla.html alquiler habitacion castellon
http://iyran33.yourfreehosting.net/vacations-cancun-resort-las-vegas.html las vegas vacation club
http://frentes28.myd.net/animals-before-we-were-so-rudely-interrupted.html animals by camille saint saens
http://iyran33.yourfreehosting.net/acadiana-high-school-lafayette-louisiana.html acadiana mall in lafayette louisiana
http://frentes28.myd.net/glastonbury-music-festival-tickets.html music half price tickets
http://frentes28.myd.net/arts-jobs-australia.html forklift jobs australia
http://frentes28.myd.net/about-automated-teller-machine.html about being honest with yourself lyrics
http://iyran33.yourfreehosting.net/ideas-for-leaving-gifts.html best valentine gift ideas
----
CategoryTemplate
The snack machine has a Strong Link SL500L MIFARE smartcard reader attached.
Line 17: Line 5:
---- /!\ '''Edit conflict - your version:''' ----
comment6
http://iyran33.yourfreehosting.net/bolton-evening-news-job-section.html evening jobs in new york city
http://frentes28.myd.net/american-mutual-holding-company.html american national anthem buckingham
http://iyran33.yourfreehosting.net/alquiler-coches-aeropuerto-sevilla.html alquiler habitacion castellon
http://iyran33.yourfreehosting.net/vacations-cancun-resort-las-vegas.html las vegas vacation club
http://frentes28.myd.net/animals-before-we-were-so-rudely-interrupted.html animals by camille saint saens
http://iyran33.yourfreehosting.net/acadiana-high-school-lafayette-louisiana.html acadiana mall in lafayette louisiana
http://frentes28.myd.net/glastonbury-music-festival-tickets.html music half price tickets
http://frentes28.myd.net/arts-jobs-australia.html forklift jobs australia
http://frentes28.myd.net/about-automated-teller-machine.html about being honest with yourself lyrics
http://iyran33.yourfreehosting.net/ideas-for-leaving-gifts.html best valentine gift ideas
----
CategoryTemplate
= Usage =
Line 32: Line 7:
---- /!\ '''End of edit conflict''' ---- Log in to the snack machine using your user ID and PIN and swipe your card on the blinking LED just inside the glass, and your card will be enrolled.

Next time you want to use the machine, just swipe your card and you'll be
logged straight in.

= Technical Details =

It talks 19200 8N1 serial to a driver library written by [DAA] and was integrated into the snack machine server code by [DAG].

LDAP has been expanded to support the storage of MIFARE card serial numbers (objectClass uccDispenseAccount and attribute uccDispenseMIFARE). LDAP schema are in /services/ldap and are editable by wheel members, who can type 'make' to push the schema out to the servers.

Due to bugs in OpenLDAP, ACLs and indexes must be manually maintained in /etc/ldap/slapd.conf on LDAP servers, but failing to keep schema in sync is a good way to corrupt the LDAP database, as I found out last year.

The server code polls the MIFARE reader, looking for card serial numbers. If a card is detected, it looks the serial number up in LDAP, and attempts to log the user in. Card IDs cannot be assigned to more than one person.

If a card is swiped while a user is logged in, and that card ID is not already enrolled in LDAP, the user's LDAP object has an uccDispenseMIFARE attribute added (and the objectClass if required).

Users can edit their own MIFARE card IDs with 'ldapvi -D \(uid=$USER\) uid=$USER'.

 * Generic documentation:
[http://www.nxp.com/products/identification/readers/contactless/]
 * StrongLink product page:
[http://www.stronglink.cn/English/sl500.htm]
 * Driver distribution:
[http://viewmtn.angrygoats.net/branch/changes/au.asn.ucc.mifare]
 * VendServer files:
[http://cvs.ucc.asn.au/cgi-bin/viewvc.cgi/anoncvs/projects/dispense2/sql-edition/servers/]

The snack machine has a Strong Link SL500L MIFARE smartcard reader attached.

Usage

Log in to the snack machine using your user ID and PIN and swipe your card on the blinking LED just inside the glass, and your card will be enrolled.

Next time you want to use the machine, just swipe your card and you'll be logged straight in.

Technical Details

It talks 19200 8N1 serial to a driver library written by [DAA] and was integrated into the snack machine server code by [DAG].

LDAP has been expanded to support the storage of MIFARE card serial numbers (objectClass uccDispenseAccount and attribute uccDispenseMIFARE). LDAP schema are in /services/ldap and are editable by wheel members, who can type 'make' to push the schema out to the servers.

Due to bugs in OpenLDAP, ACLs and indexes must be manually maintained in /etc/ldap/slapd.conf on LDAP servers, but failing to keep schema in sync is a good way to corrupt the LDAP database, as I found out last year.

The server code polls the MIFARE reader, looking for card serial numbers. If a card is detected, it looks the serial number up in LDAP, and attempts to log the user in. Card IDs cannot be assigned to more than one person.

If a card is swiped while a user is logged in, and that card ID is not already enrolled in LDAP, the user's LDAP object has an uccDispenseMIFARE attribute added (and the objectClass if required).

Users can edit their own MIFARE card IDs with 'ldapvi -D \(uid=$USER\) uid=$USER'.

  • Generic documentation:

[http://www.nxp.com/products/identification/readers/contactless/]

[http://www.stronglink.cn/English/sl500.htm]

  • Driver distribution:

[http://viewmtn.angrygoats.net/branch/changes/au.asn.ucc.mifare]

[http://cvs.ucc.asn.au/cgi-bin/viewvc.cgi/anoncvs/projects/dispense2/sql-edition/servers/]