Difference between revisions of "Domain Server"

From wiki.IPBRICK.COM
Jump to: navigation, search
Line 1: Line 1:
 
== F.A.Q. ==
 
== F.A.Q. ==
  
== Is it possible to run a script at the moment that a user logs in? ==
+
== Is it possible to run a script when the user logs in the domain, at a windows workstation? ==
  
 +
Yes. it is possible to run a script when the user logs in the domain at a windows workstation. These scripts are called netlogon scripts, and are to be published at the domain controller shared folder called '''netlogon'''.
  
Yes, when a user logs in the domain IPBrick will search for a batch file to run.
+
In an IPBRICK setup all users are, by default, setup to look for netlogon script called '''[user's login].bat''' (ex.: for a user with the login ''johndoe'' the file should be named ''johndoe.bat'').
  
This file should be placed in the shared folder '''//[server's name]/netlogon/''' (ex.: //ipbrick/netlogon). If in that folder exists a file named '''[user's login].bat''' (ex.: for a user with the login jdoe the file should be named jdoe.bat) IPBrick will run it at the moment the user logs in.
+
The netlogon shared folder is located at '''//[server's name]/netlogon/''' (ex.: //ipbrick/netlogon). On the server's file system you may find this folder located at '''/home1/_netlogon'''.
  
On the server's file system you may find this folder located at '''/home1/netlogon'''.
+
NOTE:
 
+
* share/file permissions: users members of "Domain Admins" group have read-write permissions, all other users have read-only permissions in the netlogon shared folder. So, only "Domain Admins" user's are authorized to create/edit/delete netlogon files (scripts).
Note that the users which are members of the "Domain Admins" group have read and write permission on this folder, while the other users have only permission to read it's contents.
+
* file/script creation: by default the logon script files do not exist, they are not created automatically. Domain users are automatically (by default) defined to look for '''[user's login].bat''', meanwhile this file is not automatically instantiated, so when you access for the first time to netlogon share you will find it empty.

Revision as of 09:50, 24 September 2014

F.A.Q.

Is it possible to run a script when the user logs in the domain, at a windows workstation?

Yes. it is possible to run a script when the user logs in the domain at a windows workstation. These scripts are called netlogon scripts, and are to be published at the domain controller shared folder called netlogon.

In an IPBRICK setup all users are, by default, setup to look for netlogon script called [user's login].bat (ex.: for a user with the login johndoe the file should be named johndoe.bat).

The netlogon shared folder is located at //[server's name]/netlogon/ (ex.: //ipbrick/netlogon). On the server's file system you may find this folder located at /home1/_netlogon.

NOTE:

  • share/file permissions: users members of "Domain Admins" group have read-write permissions, all other users have read-only permissions in the netlogon shared folder. So, only "Domain Admins" user's are authorized to create/edit/delete netlogon files (scripts).
  • file/script creation: by default the logon script files do not exist, they are not created automatically. Domain users are automatically (by default) defined to look for [user's login].bat, meanwhile this file is not automatically instantiated, so when you access for the first time to netlogon share you will find it empty.