ApplicGate
(v12.0.9036.21357 started 2024-10-09 03:18:43 on VM2)

Web page to set the domain password of a user (see schema):

Keyword SETPWD:domaincontroller1:port[|domaincontroller2:port]
domaincontroller1 ...Name of first domain controller for LDAP connection
domaincontroller2 ...Name of second domain controller for LDAP connection (optional)
port ... TCP port, e.g. 636 for TLS connection

Examples:
SETPWD:dc.abc.com:636
SETPWD:dcprimary.abc.com:636|dcbackup.abc.com:636
If access to the first domain controller fails, the second domain controller will be contacted.

GatewayIP2 must be web, default.htm is the start page with form (method="post" action="/setpwd") with following input fields:
- username ... sAMAccountName, userPrincipalName or employeeID where password should be changed, domain is the domain of the domaincontroller
- oldpwd ... old password
- newpwd1 and newpwd2 ... new password: newpwd1 and newpwd2 must be the same

If the html files response-error.htm and/or response-success.htm exist they will be used for responses in case of error and success:
- The string %Result% will be replaced by the error or success message.
If such a file does not exist, default.htm will be used as follows:
- The string <!--%Result%--> will be replaced by the error or success message.
- In case of success all lines between the strings <!--FormS--> and <!--FormE--> will be removed.

For a quick activation of SETPWD proceed as follows:
- Install all necessary files.
- Configure a routing table entry with DIR:SetPwd (see example below)

Example for routing table entry:
SourceIP ;GatewayIP;GatewayPort;GatewayIP2;DestinationIP;DestinationPort;Expiration;Type                                           ;UID ;Comment;eMail
* ;* ;443 ;web ;* ;* ;* ;SSL:server.cer,DIR:SetPwd,SETPWD:dc.abc.com:636;* ;* ;contact@abc.com
Example for form in default.htm:
<form method="post" action="/setpwd">
Account, User name (user@domain) or employeeID:<br>
<input type="text" name="username" value="" size="40" required autocomplete="on">
<br><br>
Old password:<br>
<input type="password" name="oldpwd" value="" size="42" required>
<br><br>
New password:<br>
<input type="password" name="newpwd1" value="" size="42" required>
<br>
Confirm new password:<br>
<input type="password" name="newpwd2" value="" size="42" required>
<br><br>
<input type="submit" value="Submit">
</form>

ApplicGate Logo  reinhold.leitner@applicgate.com (C) September 2024
www.applicgate.com