Manually set the authentication method
Windows authentication is automatically set during a server installation. Application authentication is standard for stand-alone installations. However, you can change the authentication method manually. This can be necessary, for example if you are working with a client/server installation (i.e. Windows authentication), but you want to make a computer in a central location available to several users who do not have to log on each time; in other words, you want to give these users access via application authentication.
You can set the authentication method in the Appsets.txt file on the server(s) in the AFAS Windows folder. When working with multiple domains, you also set these domains in the Dappsets.txt file on the server on which the AFAS Data folder resides.
- Users must no longer be logged on. This applies to all servers and workstations.
- If the change is not correctly implemented, you must restart the COM+ server.
- Any scripts and command lines must also meet the authentication criteria. If you manually change the authentication, you must also change the scripts. The same applies to Connector users.
- You can set the authentication per server, because you can set the 'Appsets' file for each server.
- When using Windows authentication, the Windows user name must be identical to the Profit user name. You can change Profit user names in Profit.
To manually set the authentication method:
- Go to the Profit Server.
- Open the following folder in Windows Explorer:
- Create a copy (backup) of the 'Appsets.txt' file.
- Open the 'Appsets.txt' file.
- Set the authentication method:
- Windows authentication: [Authentication Level] = 0
- Application authentication: [Authentication Level] = 1
The [Authentication Level] is always stated in line 8 of the file. You can only set the level to 0 or 1. You cannot move the line or add or delete lines.
- You can make the line numbers visible in Windows Notepad with 'View / Status Bar'.
- Save the file (overwrite the old file).
- If you receive a message that you do not have permission to open or overwrite the file, User Access Control may be blocking this. You must then open Notepad as Administrator (Run as Administrator). See the Windows Help for more information.
- Start Profit.
- Go to:
- Start Profit again to implement the changes.