Friday, May 8, 2009

Login Scripts for do-studc and do-studc2 changed

I went ahead and changed some of the login scripts for both STUDENT and STUDENT2 domain. I am going in a direction that will allow us to control everything from the central database, without having to change configuration files all over the place. This a “baby steps” projects, as there are a lot of factors involved in this.

For today, I went ahead and switched the scripts to look at the ConnDB database to grab some information about the student. A query is being ran to the UserNameStore database to get the student information, and another query to the ConnDB database to get the school and server information.

What this does, is eliminate the need to add the “HomeDirServer” key in the mapconfig.ini. I have commented out all these fields in the mapconfig.ini on both STUDENT and STUDENT2 domains.

Enhancements:

  • I have enhanced the debug feature a bit more, so that it gives some more useful information about what is being pulled from the database. To turn on debug, open mapconfig.ini, and change the value for debug from 0 to 1. (I would recommend you make a copy to the “sandbox” folder, as you wouldn’t want to turn on debug for all the users while troubleshooting.
  • I changed the screen size of the DOS window that comes up to fit the text that is coming up -  unless debug is turned on - in which case, the screen will expand to full size. this is mostly an aesthetical change.
  • Added an option to check for sites that are consolidated for File Services. If the site is marked as consolidated, the Student domain controller will no longer be used to map the drives, but the main server in the site, which, in the database is of type “SiteDC”

these features are a work in progress for users on the CVUSD domain as well.

  • Changes made on 05/08/2009 throughout the day.

No comments:

Post a Comment

Please make your comment. (GMK)

Note: Only a member of this blog may post a comment.