thumb_up
thumb_down
link
Copy link
Copied
insert_emoticon
lmatfy
Copied

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.

Note:

  • 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:

  1. Go to the Profit Server.
  2. Open the following folder in Windows Explorer:

    ..\Profit\AFAS Windows\Kernel\Config.

  3. Create a copy (backup) of the 'Appsets.txt' file.
  4. Open the 'Appsets.txt' file.

  5. Set the authentication method:
    • Windows authentication: [Authentication Level] = 0
    • Application authentication: [Authentication Level] = 1

    Note:

    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.

  6. You can make the line numbers visible in Windows Notepad with 'View / Status Bar'.

  7. Save the file (overwrite the old file).
  8. 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.
  9. Start Profit.
  10. Go to: Options / Retrieve cache again.

  11. Start Profit again to implement the changes.

See also

Directly to

  1. Authentication
  2. Manually set the authentication method
  3. Record Windows authentication for multiple domains

Process

Authentication

Work area

app