Parameters in the Profile of the Security enhanced SAP Application Server: login/ext_security ("broken" boolean, default = not in profile) defined with any value: Make extra field visilbe in the user administration not at all in profile: Hide extra field in the user administration The authenticated name, prefixed by a symbolic representation of the nametype has to be filled into an extra field of the user profile, so that external authentication via gssapi can be used to log into an R/3 application server. The prefix for the name consists of a letter and a colon and specifies the syntactic encoding of the name. An authenticated name will have a fixed (canonical) format. At this point, it is a "canonical" Kerberos principal name (emitted by gss_display_name()), and the prefix has to be "p:", i.e. "p:tytso@ATHENA.MIT.EDU" snc/enable (Boolean, default = 0) 0: conventional operation 1: try to load the shared gssapi-library that is specified via snc/gssapi_lib and enable external security. If loading of the gssapi library fails, the work process will be terminated. Check the tracefile "dev_w0" if the shared library can be loaded correctly and is recognized. snc/gssapi_lib (String) This string should name the full path and filename of the shared library that exports the gssapi calls. If the shared library depends on other shared libraries, then it will be necessary on some platforms to set the environment variable for the dynamic loader correctly before starting the application server. (this is LD_LIBRARY_PATH for Solaris 2.x and OSF/1, SHLIB_PATH for HP-UX and LIBPATH for AIX) snc/identity/as (String) This is the (Kerberos principal) name, for/of the R/3 Application Server when external security is enabled. Each Work-Process will try to acquire Accepting Credentials when starting up. Additionally, the Spool Workprocess that handles Printing will try to acquire Initiating Credentials when starting up. This means for Kerberos, there should be a suitable v5srvtab available containing the key for this principal, and for printing to work, there should a cron-job acquire fresh tickets on a regular basis. This name needs to be prefixed with two characters to specify the nametype of the syntactic encoding. The second character is always a colon (:). Prefix "s:" for the Host-based service name form, ie: s:sap00@sapling Prefix "u:" for the Username, ie: u:sap00/sapling.mit.edu Prefix "p:" for the "Private" nametype of the security product, which is the Kerberos principal name form. snc/permit_insecure_gui (Boolean, default= 0) 1: permit conventional (insecure) SAPguis to still connect and use the old login dialog screen when security has been enabled on a server by setting snc/enable=1 0: Reject all attempts to do conventional logins to an R/3 Application Server, when it is is running with external security enabled (snc/enable=1). snc/data_protection/min (Integer, valid = 1,2,3, default = 3) Minimum data protection level for secure connections, when external security is enabled. This will be enforced by the R/3 application Server. 1: Authentication only 2: Integrity protection of the data/communication 3: Privacy protection of the data/communication snc/data_protection/max (Integer, valid = 1,2,3, default = 3) Maximum data protection level for secure connections, when external security is enabled. This will also be "enforced" by the R/3 application Server. This parameter is primarily only to reduce the possible security available for/from this server (maybe to avoid the small performance hit of encryption). snc/data_protection/use (Integer, valid = 1,2,3, must be >= snc/data_protection/min and <= snc/data_protection/max, defaults to snc/data_protection/max) This would be for outgoing connections -- except printing, which sets it's own levels configured via printer administration (transaction SPAD). It will not affect GUI connections, as the server adapts to the protection level used by the gui (or rejects the connection if that protection level is not permitted by snc/data_protection/min). Parameters for the secure SAPgui: Two Environment variables, one is required, the other is optional: optional: SNC_QOP (Integer, values = 1,2,3, default = 3) Select the level of data protection that is to be used for the communication with the R/3 Application Server. The Application server will adapt its responses to this data protection level (or reject the connection, if this level is less than that servers setting of snc/data_protection/min). required: SNC_LIB (String) gives the full pathname and filename of the shared library that exports the gssapi calls. There is a compiled-in default value that is different for different platforms -- it mainly conforms to the naming conventions of shared libraries for the platform: default values (when SNC_LIB is not set -- NOT RECOMMENDED): Solaris 2.x, OSF/1: sncgss.so HP-UX: sncgss.sl AIX: sncgss.o Microsoft Windows 16-bit: sncgss.dll Microsoft Windows '95/NT: sncgss32.dll It is possible on Microsoft Windows to copy the DLL containing the gssapi to the name sncgss.dll (or sncgss32.dll on 32-bit) and drop it somewhere in one of the directories of the regular load path given by PATH e.g. export SNC_LIB=/usr/local/lib/libgssapi_krb5.so (Unix: sh, ksh, bash) setenv SNC_LIB /usr/local/lib/libgssapi_krb5.so (Unix: csh, tcsh) set SNC_LIB=GSSAPI.DLL (Microsoft Windows) Command line parameters for the SAPgui: new paramter to specify the identity of the target for secure authentication: /snc= the prefix denotes the nametype for the syntactic encoding of the name, possible values are: prefix = "s:" name = host-based service name, e.g.: s:sap00@sapling (prefix = "u:" name = Username e.g.: u:sap00/sapling.mit.edu) prefix = "p:" name = Kerberos principal name e.g.: p:sap00/sapling.mit.edu (((prefix = "c:" name = Kerberos principal name))) NOTE: o Do not use the "c:" prefix in your profiles, it does use special encoding of certain characters -- you should use "p:" instead. o "p:" -format should be used in Access Control Lists and the user profile, giving the full Kerberos name with all characters using the correct case. o "s:" -format is preferred for specifying the identity of a process (an application server or a saplpd) and for specifying the identity of the target. Unix sapgui example command line to access SAP system 00 on sapling: export SNC_LIB=/usr/local/bin/libgssapi_krb5.so export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib sapgui sapling nr=00 /snc=s:sap00@sapling Windows sapgui example command line for the same: set SNC_LIB=gssapi.dll sapgui sapling 00 /snc=s:sap00@sapling Parameters for SAPLPD reside in WIN.INI in the Windows directory (which is usually C:\WINDOWS). We recommended that you use "SYSEDIT" to add the configuration parameters for SAPlpd to WIN.INI: create a new section with the name [snc] and add the following three parameters: enable=1 (Boolean) This parameter enables the external security and tell SAPlpd to look for and load the DLL that exports the GSS-API calls. gssapi_lib= (String) This parameter specifies the DLL that exports the GSS-API calls and should be dynamically loaded when external security is activated by "enable=1" identity/lpd= This parameter gives the identity of the SAPlpd printer Daemon. SAPlpd will try to acquire ACCEPTING credentials for to perform Kerberos authentication and to protect its communiation. This will require an entry in the Kerberos principal database and the installation of a keytab (v5srvtab) containing this key on the PC where SAPlpd runs/resides. (see discussion of the syntax for on the target specification of the SAPgui) Sample addition to WIN.INI: [snc] enable=1 gssapi_lib=C:\WINDOWS\GSSAPI.DLL identity/lpd=s:host@finance-2.mit.edu NOTE: the current version of SAPlpd does not recognize the environment variable "SNC_LIB" as a replacement for the parameter "gssapi_lib" in WIN.INI.