Changes

Jump to navigation Jump to search
netlogon.bat
Line 79: Line 79:  
After configuring the TCP/IP parameters, you may need to reboot your desktop computer to implement the configuration changes. (For example, most Windows systems need to be rebooted after the TCP/IP configuration has been changed.) Once the settings take effect, your computer will be connected to the server and to the Internet.
 
After configuring the TCP/IP parameters, you may need to reboot your desktop computer to implement the configuration changes. (For example, most Windows systems need to be rebooted after the TCP/IP configuration has been changed.) Once the settings take effect, your computer will be connected to the server and to the Internet.
   −
=====7.2.3. MS Windows workgroup configuration=====
+
=====MS Windows workgroup configuration=====
If you are using a Microsoft operating system, you must ensure that your workgroup is the same as the workgroup name of your server. (In a subsequent chapter, we'll explain how this can be set using the web-based server manager.) Go to the Control Panel, select "System" --"Network"-- and "Computer Name" and click Change. In the field for "Workgroup", type your //workgroup//.
+
If you are using a Microsoft operating system, you must ensure that your workgroup is the same as the workgroup name of your server. (In a subsequent chapter, we'll explain how this can be set using the web-based server manager.) Go to the Control Panel, select "System" --"Network"-- and "Computer Name" and click Change. In the field for "Workgroup", type your "workgroup".
    
=====MS Windows Domain configuration=====
 
=====MS Windows Domain configuration=====
Line 86: Line 86:     
======Connecting to a Domain ======
 
======Connecting to a Domain ======
To connect a windows XP client to your domain, go to the "Control Panel", select "System", then "Computer Name", and click on change. Enter your servers //workgroup// value in the domain field and 'Connect'. Enter the username of admin with the servers admin password when asked, and you should get back the response 'Connected to //workgroup//'
+
To connect a windows XP client to your domain, go to the "Control Panel", select "System", then "Computer Name", and click on change. Enter your servers "workgroup" value in the domain field and 'Connect'. Enter the username of admin with the servers admin password when asked, and you should get back the response 'Connected to workgroup'
   −
======Setting admin rights======
+
=======Setting admin rights=======
 
If you are using SME Server as a domain controller and the workstations have joined the domain then the following is possible.  
 
If you are using SME Server as a domain controller and the workstations have joined the domain then the following is possible.  
 
The domain always has three groups created,  assigned as follows:  
 
The domain always has three groups created,  assigned as follows:  
Line 106: Line 106:     
However if you create a group and name it whatever you want but put one of the above for the description then the newly created group will replace the above mapping. So if you create a group called "admins" and give it a description of "Domain Admins" then anyone you assign to this group will be a domain admin and also a local admin on ANY box that has joined the domain.
 
However if you create a group and name it whatever you want but put one of the above for the description then the newly created group will replace the above mapping. So if you create a group called "admins" and give it a description of "Domain Admins" then anyone you assign to this group will be a domain admin and also a local admin on ANY box that has joined the domain.
 +
 +
=======Setting up network drives=======
 +
If you are using SME Server as a domain controller and the workstations have joined the domain
 +
you can automate drive mapping and syncronise the PC time with the netlogon.bat file
 +
 +
edit netlogon.bat
 +
pico -w /home/e-smith/files/samba/netlogon/netlogon.bat
 +
 +
REM To set the time when clients logon to the domain:
 +
net time \\kiwi /set /yes
 +
REM To map a home directory to drive h:
 +
net use h: /home /persistent:no
 +
net use j: \\servername\ibay2 /persistent:no
 +
net use p: \\servername\ibay2 /persistent:no
 +
if exist Z: net use Z: /del /yes
 +
 +
and reset file to dos format
 +
unix2dos /home/e-smith/files/samba/netlogon/netlogon.bat
    
{{DrawBoxNote|content=A word about domain names<br />
 
{{DrawBoxNote|content=A word about domain names<br />
 
Once you've set up your server, there's typically a delay of one or more days before your Domain Registrar publishes your domain address records (the domain name or names and the associated numerical IP address) so that the information is accessible to other computers on the Internet. Until it does, incoming mail won't be able to find you and computers elsewhere on the Internet won't be able to contact your server using your domain name (for example, www.yourdomain.xxx). However, on your local network you should be able to connect to your server using the short names of 'www' (for web access) and 'mail' (for e-mail clients).}}
 
Once you've set up your server, there's typically a delay of one or more days before your Domain Registrar publishes your domain address records (the domain name or names and the associated numerical IP address) so that the information is accessible to other computers on the Internet. Until it does, incoming mail won't be able to find you and computers elsewhere on the Internet won't be able to contact your server using your domain name (for example, www.yourdomain.xxx). However, on your local network you should be able to connect to your server using the short names of 'www' (for web access) and 'mail' (for e-mail clients).}}

Navigation menu