RE: [suse-linux-uk-schools] Primary School Server
The set-up that I have in mind sounds imilar to yours. I want to have two groups; one for staff and one for pupils. I think that for the KS1 classes I will probably just have a class user name and then from year 2 onwards introduce their own user id's.
This sounds sensible. I tried that for a while, and soon went to user names throughout. Reception can log on, but it does eat into the session a bit.
My intention is to set up a shared work space for resources to share with pupils, one for staff to keep planning and policies on, etc and for staff/classes/pupils to have their own work spaces.
Yeah and have an area that pupils can read, but only staff can write to. It's nice for teachers to setup templates that are read-only so children then save them to their MyDocuments or MyWork area.
All work by pupils and staff is currently saved onto floppy disk which means that there are hundreds lying around in classrooms and I don't like this!!
Nasty!
I would like to set up their profiles to include desktops, especially in KS1 to make it easier to access the software that we use.
Yes, if I remember correctly, I use a policy to define desktops (config.pol). This isn't at the school I work in now (which had already bought an RM server before I got there). Let me make very clear, that the two schools I've set linux/samba as the PDC run much quicker than the cluttered RM Connect 2.4 bloaty nonsense I have now.
With regards to my little trial run at home, I've set SUSE up on my laptop. I set samba up with a domain name "test" and added some user id's - I used webmin/swat to help me do this. My XP client won't join this domain, even after typing in the root password and I just can't see anyway to get it to do this.
Ah. Yes. XP you see. I found it an uphill struggle, but got there in the end I think.
I must admit Linux has confused me a little bit and I think I just need to start from scratch. If you could point me in the right direction, I would really appreciate it!
This seems to do all the things I did... http://www.rmschneider.com/writing/xp_and_samba.html A W98 machine doesn't have to bother with machine accounts. You *are* using encrypted passwords, right (in your smb.conf)? I guess it's default anyway. And your users must have (1) linux accounts (maybe by using YAST) and (2) accounts setup using smbpasswd (or something that does this for you - I know webmin can create these users for you, but it must be done). -- Matt ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Not a PHP list I know, but there seems to be a lot of talent out there! I'm creating a web based hardware database (Actually it's a bit more than that, but more later!), but I'm having a problem with multi select list boxes. I can fill single select and multi select boxes from the DB and with file names from a folder (for images), I can also show which items were previously selected . Updating/adding to the database is no problem either until I get to the multi select. They all return as empty. e.g. (note, the dN's are all single select or text, the dNAME are multiselect.) ALL multi selects in this example have at least one item selected. foreach($_POST as $name=>$value) { echo $name." - ".$value."<br /> "; } returns...
start print d1 - 6 d2 - 3 d3 - 2 d4 - AC:AC:AC:AC:AC:11 d5 - TEST d6 - 123 d7 - T1ESTT1EST d8 - 0000-00-01 d9 - 0000-00-01 d10 - 8 d11 - 100.10.10.10 d12 - 4 d13 - D17q d14 - 0.5M d15 - picture1.jpg d16 - 3 d17 - 2 d18 - 2 d19 - 1024MB d20 - 1 year dnic - dcdrom - dhdd - dperph - dsoft - d21 - Test Notes Submit - Edit end print<<<< dnic for example allows a number of NIC's to be applied to a machine, as do dcdrom, dperph (peripherals) and dsoft.
It does not matter if the items are pre selected or newly selected the result is the same. register_globals is OFF and I think that track_vars is ON as '--enable-track-vars' is shown in the phpMyAdmin "Configure Command" section. I've looked at masses of examples on the web and can't see what I'm doing wrong, I've been trying ... foreach($_POST['dnic'] as $value){ $tSQL= "INSERT INTO NIClink (stnID,nicID) VALUES ('" . $xID . "','" . $value . "')" ; mysql_query($tSQL); } but of course the array is empty, so my database is filled with 0's! :-( I create my multi-select lists in a table like this <tr > <td width="30%" nowrap class="TableLeft">CD-ROM / DVD</font></td> <td> </font> <select name="dcdrom" size="3" multiple id="dcdrom"> <?php db_createmultiselect("hedra","CDROM","Make, Model, Speed, Serial","cdromID","Make","cdLink","stnID","cdID","Model","Speed","Serial",$I Din) ?> </select><a href="addcdrom.php"><img src="images/hedra_tiny.jpg" alt="Add New" border="0"></a></td> </tr> and ... function db_createmultiselect($linkID,$table1,$sortby,$IDrow,$xmake,$table2,$sID,$lID ,$data1,$data2,$data3,$xIDin) //creates a multi select box //$linkID - database name //$table1 - main table to get data from //$sortby - fields to sort $table1 by //$IDrow - Name of $table1 ID column //$xmake - Name of the MAKE column //$table2 - name of link table //$sID - Column name of Station ID's //$lID - Column name of LINK ID's //$data1-$data3 Name of columns to place in list //$xIDin - Station ID //db_createmultiselect("hedra","NIC","Make, Model, Speed, Serial","NICID","Make","NIClink","stnID","nicID","Model","Speed","Serial",$I Din); { $sqlSQL="SELECT * FROM " . $table1 . " WHERE 1 ORDER BY " . $sortby ; //mysql_connect($DBhost,$uName) or die("Unable to connect to database" . mysql_error()); //@mysql_select_db($dbName) or die("Unable to select database ". $DBName ." " . mysql_error()); //$result = mysql_query($sqlSQL); //if (!$result) { // die('Could not query:' . mysql_error()); //} $result = mysql_db_query($linkID,$sqlSQL); while ($row = mysql_fetch_array($result)) { $ID=$row[$IDrow]; //get maker name $sqlSQL="SELECT * FROM Address WHERE adrID = ". $row[$xmake]; $newRow = mysql_query($sqlSQL); if (!$newRow) { die('Could not query:' . mysql_error()); } //get the data $x1=mysql_result($newRow,0,'Name'); if($data1) $x2=$row[$data1]; if($data2) $x3=$row[$data2]; if($data1){ if($row[$data3]){ $x4="(".$row[$data3].")"; }else{ $s4=""; } } //now find the selected items $sqlSQL="SELECT * FROM " . $table2 . " WHERE " . $sID . " = " . $xIDin . " AND " . $lID . " = " . $row[$IDrow]; $newRow = mysql_db_query($linkID,$sqlSQL); if(mysql_result($newRow,0,$sID)) { $sel="selected"; }else{ $sel=""; } //Okay ready to output! print("
participants (2)
-
adrian.wells
-
Matt Johnson