Wednesday, January 31, 2007

Attendance tool

Created a simple script in /usr/local/custom to log when students login. It simply connects to the academic database using the attendance user and logs their entry. Not much security on it, but it should not need much. The next step is to create a web page that shows student attendance on which days.

Sunday, January 21, 2007

New Students

Working on getting new students integrated into the ldap server.

First, figure out who has accounts and who doesn't

The plan is to use slapcat to dump the database
then merge_ldif.pl on the two files
move the old /var/lib/ldap directory to another place (this is rather yucky, but it helps create a backup in case something goes horribly wrong. Plus I don't have to worry about what is in it, I can just load in the new state.)
then slapcat to put the database back into place
edit the prototype directory to make it clean and ready
and then add_home_dir to finish the setup

TODO, integrate add_home_directory and fix_perms...

It seems ok now, we'll see what happens tomorrow.

Thursday, January 18, 2007

cslab-117 authentication problems

I installed ubuntu on the machine since it was out of commission due to hardware problems. And I'm having problems with getting pam to use the ldap....

I checked that the ldap itself is working with ldapsearch, but it just won't use it...
Doing a diff between it and another machine's /etc directory reveals no important differences...

Not too much useful in the log files...


I'm stumped for now