NSSSGetServiceInformation
Returns service information from the SecretStore for authenticated users of a Single Sign-on enabled application.
#include <nssscl.h> SS_EXTERN_LIBCALL(int) NSSSGetServiceInfomaion ( SSS_CONTEXT_T *callerContext, SS_OBJECT_DN_T *targetObjDN, unsigned long ssFlags, SSS_GSINFOEXT_T *gsInfo, //mandatory SS_EXT_T *ext);
NOTE:For binding to server over LDAP/SSL this parameter is mandatory and it should be in fully qualified LDAP form ("cn=user, ou=users, o=novell").
NSSS_ALL_STRINGS_UNICODE_F as defined by Section 5.4.4, Input Only Flags for All APIs. NSSS_SET_TREE_NAME_F as defined by Section 5.4.4, Input Only Flags for All APIs. NSSS_GET_CONTEXT_F as defined by Section 5.4.5, Input Only Flag for GetServiceInfo API.
NSSS_DESTROY_CONTEXT_F
(OUT)
NSSS_ENHANCED_PROTECT_INFO_F—Secret is marked for enhanced protection.
NSSS_EP_MASTER_PWORD_PRESENT_F—There is a master password on the SecretStore (Admin configurable option on the server).
NSSS_MP_NOT_ALLOWED_F— The use of master password has been disabled by the service.
These are common return values for this function; see Section 4.0, Return Values for more information.
This can authenticate and connect the SecretStore client to the target SecretStore server. The initialized context (NCP/LDAP) can be utilized across other calls to have an ongoing session with SecretStore. This allows considerable performance enhancement by reusing credentials across multiple calls and avoiding reinitialization per call. These new SecretStore calls can still perform per-call initialization and operations for connectors.
IMPORTANT:Because the (*) character is reserved, when using SecretStore, no names in secrets should contain (*).