By default, Single Sign-on for SAP performs automatic authentication using the credentials of the currently logged-in Windows user. In some situations, you might want users to provide an Active Directory user name and password when logging in to SAP. You can configure Single Sign-on for SAP to display a login prompt whenever a new authentication request is generated.
When you enable authentication prompting, users see an authentication dialog where they must enter an Active Directory user name and password in order to gain access to SAP. The user name can be in any one of these formats:
- SAM account name (if the computer is joined to the user's domain)
- <DOMAIN>\<SAM account name>
- <SAM account name>@<DOMAIN>
To enable Active Directory authentication prompting from the Single Sign-on for SAP module
- Change the following registry value from 0 to 1.
On 32-bit machines:
HKEY_LOCAL_MACHINE\Software\Quest Software\SSO for SAP\Always Prompt
On 64-bit machines:
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Quest Software\SSO for SAP\Always Prompt
To use SAPlpd with SNC, you must provide the SAPlpd system on the front-end desktop with the local library path and identity information.
To configure SAPlpd on the front-end system
- In the Windows directory, create a SAPLPD.INI file, if one does not already exist.
- Add the following section to the SAPLPD.INI file:
[snc]
enable=1
identity/lpd=<SNC-Name_of_saplpd>
gssapi_lib=<drive>:\path\to\your\snclib.dll
Note: You can omit the gssapi_lib= entry when you have the environment variable, SNC_LIB, configured to be a system environment variable.
The identity/lpd variable, <SNC-Name_of_saplpd>, is in the SNC form of the user logged in and running SAPlpd. You must use this format: u:samaccountname@realm where sAMAccountName is the SAM-Account-Name of the currently logged in user and example.com is the Active Directory domain name.
Note: You can also add these settings to the WIN.INI file if you do not want to create the SAPLPD.INI file.
- Run SAPlpd.
A window appears listing the output from the SAPlpd startup:
![](/ja-jp/technical-documents/image/036afa2d-c947-43c7-8412-eca8f2775611)
- From the SAPLOPD.LOG – SAPLPD window, select the Options | Secured Connections menu item.
-
On the Secured connection dialog, select the Use if possible and Privacy protection of data options and click the Add new connection button to go to the Access Control List maintenance for SAPlpd.
- On the Authorized connections dialog, in the Last authenticated connection initiator field, enter the SNC-name of the application servers that will be transferring print jobs to this SAPlpd using SNC.
This is the value of the snc/identity/as key from the instance profile on the Safeguard Authentication Services-enabled SAP Server. See Enabling SNC on the SAP server.
![](/ja-jp/technical-documents/image/50999cf2-f35a-4eb1-809b-ae9d30413e43)
- Click Authorize to add this name to the list of authorized connection initiators.
- Close all open SAPlpd dialogs by clicking their OK buttons.
Your front-end desktop is now configured to securely connect.
To configure SAPlpd on the SAP server
- Create a new output device (Printer) by navigating to Configuration | Output devices from the Spool Administration screen.
You can apply these same settings to an existing device.
- Click the Device Attributes tab.
![](/ja-jp/technical-documents/image/8f0a32e5-5a89-4fa7-b7d0-e9100c4db8a0)
- Enter the appropriate information:
- Output Device
- Short name
- Device Type
- Spool Server
To populate the Spool Server field, click F4 or
, the folder icon next to the Spool Server field, to list all the application servers with a color-coded background. The application servers running a spool process are highlighted in green.
- Click the Access Method tab.
![](/ja-jp/technical-documents/image/77b70d11-31b7-4ab4-9863-2d54cb279d11)
- Set the Host Spool Access Method to S: Print Using SAP Protocol.
- Enter the host name of the printer.
- Enter the host name of the front-end system as the Destination host.
- Select the Do Not Query Host Spooler for Output Status option.
- Select the Security tab and select a level of security: Only Authentication, Integrity Protection, or Privacy Protection.
![](/ja-jp/technical-documents/image/8af2b584-87a9-4096-8afa-010416d70d04)
- Change the Security Mode to Only Use Secure Transfer to specify that you want SNC to be required.
- In the Identity of the Remote SAPlpd for the Security System field, enter the SNC name in the format.
u:samaccountname@realm
This is the Active Directory user who will be logged in when using this instance of SAPlpd.
- Save the changes and exit the Spool Administration screens.