|Set-up for Samba server|
Register to Samba server|
Change the network configuration
Connect under Samba
Work with Samba
Print with Samba
The Unix server oak.cs.ait.ac.th has been set-up to run a Samba server.
Samba allows to serve Microsoft Network from a Unix machine, so users under Windows can access files on the Unix machine the same way they would do on a Windows NT server. In the same way, it allows to share printers through Microsoft Network.
Advantages for CSIM are:
In the past, we have been working with two distinct environments, one for Unix and one forWindows (based on a Netware server). Each user had two accounts, two passwords, two disk spaces.
By setting-up Samba server, only one account is left for each user, avoiding constant swapping between one environment and the other.
Registering to Samba server is done through the Account Management web page. You have to change password. This password will then be automatically used for Unix account as well as for Samba server.
Note: this is the same password used for dial-up connection for faculty, when using CSIM modems.
After rebooting, a login window appears that offers to connect under Samba. Enter your Unix name (be carefull about upper and lower case) as well as your password (same as Unix). The domain should be "Samba".
Then a window give the following warning:
Your local profile was created when the home directory was disconnected. Do you want the local profile to overwrite your home directory profile?
This message appears the first time you connect to Samba, or the first time you use your Samba account on a new PC. It may also appears after the PC was halted without doing a proper shutdown.
You can answer "Yes".
With Samba, each user has a user profile that is saved on the Samba server. This profile keeps local information like the colour of the desktop background and other environment settings. It will be loaded from the Samba server at each connection and backed-up at each deconnection.
When you answer "yes" a window informs you it is creating the user profile.
Once you are loged in, Windows is connected to two new networks drives that are H: and J:. Note that the corresponding machine is called Oak.
H: represent your home directory, it is corresponds to your home directory under Unix.
J: is the copy of the former \\Csimnw1\apps directory under Netware. It contains a directory J:\Course that holds the teaching material that were formelly in \\Csimnw1\sys\public\wp and \\Csimnw1\sys\public\clntserv.
At login time you can execute automatically an MS-DOS batch file. This file must be called login.bat and containt MS-DOS commands.
Note: this file must be in MS-DOS format, each line ending by <CR><LF> if you create the file under Unix, it will not be working properly.
The SAMBA server handles all the printers that are publically available. It also enforce the printing policy of CSIM.
If you have a printer connected to your PC , it is possible to use it from Unix. You should contact with Olivier to set-up that facility.
Brief instruction for Windows 2000:
|Contact us: Olivier Nicole||Last update: Sep 2004|