home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 February / PCWorld_2003-02_cd.bin / Komunik / sambar / sambar53b3.exe / sysadmin / usermgmt / newuser.stm < prev    next >
Encoding:
Text File  |  2002-01-31  |  4.2 KB  |  130 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  4. <META HTTP-EQUIV="Expires" CONTENT="-1">
  5. </HEAD>
  6. <BODY bgcolor=#ffffff>
  7. <CENTER><FONT SIZE=6>Create a New User</FONT></CENTER>
  8. <BR>
  9. <SCRIPT language="JavaScript">
  10. <!--
  11.  
  12. var inValid = ":|/ ";
  13.  
  14. function Form_Validator(theForm)
  15. {
  16.     var alertstr = "Please correct the following\n";
  17.  
  18.     if (theForm.username.value == "")
  19.     {
  20.         alert(alertstr + "Enter a value for the \"Username\" field.");
  21.         theForm.username.focus();
  22.         return (false);
  23.     }
  24.  
  25.     for (j = 0; j < theForm.username.value.length; j++)
  26.     {
  27.         if (inValid.indexOf(theForm.username.value.charAt(j)) != -1)
  28.         {
  29.             alert(alertstr + "The \"Username\" contains invalid characters (:| )");
  30.             theForm.username.focus();
  31.             return (false);
  32.         }
  33.     }
  34. }
  35. //-->
  36. </SCRIPT>
  37. <BR>
  38. <FORM METHOD="POST" ACTION="/session/adduser" TARGET="_top" onsubmit="return Form_Validator(this)">
  39. <INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/usermgmt/users.htm">
  40.  
  41. <TABLE border=0 cellpadding=5 cellspacing=2 width=550>
  42. <TR valign=top>
  43. <TD align=right><B>Username</B></TD>
  44. <TD><INPUT TYPE="text" NAME="username" VALUE="" SIZE=40 MAXLENGTH=40>
  45. <BR>
  46. <I>The Account name can have any characters from the <B>Valid Characters</B> 
  47. list with the exception of spaces.  For machines hosting multiple domains, 
  48. the username can include the domain to allow for host-specific email 
  49. addresses.  For example, users <CODE>stacia@sambar.com</CODE> and 
  50. <CODE>stacia@sambar.org</CODE> are both hosted on the same machine 
  51. but are separate user and email accounts, whereas the user <CODE>tod</CODE> 
  52. results in mail to either domain being deposited in a single mailbox.
  53. <RCif RCEntauth = true>
  54. <BR>
  55. <B>NT Domain authentication is enabled.</B>  User accounts configured
  56. with this interface will only be used for configuring mailboxes;
  57. the password and group entries will be ignored by the system.
  58. <RCendif>
  59. </TD>
  60. </TR>
  61. <TR VALIGN=top>
  62. <TD align=right><B>Password</B></TD>
  63. <TD><INPUT TYPE="password" NAME="password" VALUE="" SIZE=40 MAXLENGTH=40></TD>
  64. </TR>
  65. <TR VALIGN=top>
  66. <TD align=right><B>Group</B></TD>
  67. <TD>
  68. <SELECT NAME="group">
  69. <RCXselectgroup>
  70. </SELECT>
  71. </TR>
  72. <TR VALIGN=top>
  73. <TD align=right><B>Account Name</B></TD>
  74. <TD><INPUT TYPE="text" NAME="name" VALUE="" SIZE=40 MAXLENGTH=40></TD>
  75. </TR>
  76. <TR VALIGN=top>
  77. <TD align=right><B>Root Directory</B></TD>
  78. <TD>
  79. <INPUT TYPE="text" NAME="dir" VALUE="<RCEdocsdir>" SIZE=40 MAXLENGTH=40><BR>
  80. <I>Relative to '<RCErootdir>' unless a drive is give (i.e. d:/wwwroot).
  81. To allow FTP access to <B>all</B> drives and directories on the machine,
  82. set the Root Directory to the single star (*) character.</I>
  83. <BR>
  84. Note: The <B>Document Manager</B> makes use of this directive to restrict
  85. user access.  If the path specified is outside the document directory, the
  86. Document Manager will disallow uploads by this user.
  87. In addition, if <B>User Directories</B> are enabled, this path can be 
  88. accessed via the URL: http://<RCEservername>/~<I>username</I>/
  89. (the <B>UserDir</B> facility must be disabled/enabled for user changes to
  90. take effect subsequent to startup.)
  91. <BR>
  92. <INPUT TYPE="radio" NAME="makedir" VALUE="true"> Create   
  93. <INPUT TYPE="radio" NAME="makedir" VALUE="false" CHECKED> Don't Create
  94. </TD>
  95. </TR>
  96. <TR VALIGN=top>
  97. <TD align=right><B>Access</B></TD>
  98. <TD>
  99. <INPUT TYPE="radio" NAME="ftpprivs" VALUE="0" CHECKED> None<BR>
  100. <INPUT TYPE="radio" NAME="ftpprivs" VALUE="1"> Read Only<BR>
  101. <INPUT TYPE="radio" NAME="ftpprivs" VALUE="2"> Read/Write<BR>
  102. </TD>
  103. </TR>
  104. <TR VALIGN=top>
  105. <TD align=right><B>FTP Maximum Upload</B></TD>
  106. <TD>
  107. <INPUT TYPE="text" NAME="ftpmax" VALUE="0"><BR>
  108. The maximum upload space (in mega-bytes) permitted for this user account.  
  109. A value of zero (0) indicates unlimited capacity (the minimum capacity is 5MB).
  110. All directories below the FTP Root Directory are included in the capacity
  111. calculation.
  112. </TD>
  113. </TR>
  114. <RCif RCEmailserver=true>
  115. <TR VALIGN=top>
  116. <TD align=right><B>Mailbox</B></TD>
  117. <TD>
  118. <INPUT TYPE="checkbox" NAME="mbox"> Create a local mailbox for this user.
  119. </TD>
  120. </TR>
  121. <RCendif>
  122. <TR>
  123. <TD></TD><TD><INPUT TYPE="submit" VALUE="Create New User"></TD>
  124. </TR>
  125. </TABLE>
  126. </FORM>
  127. </CENTER>
  128. </BODY>
  129. </HTML>
  130.