Creates a connection to NSS as the specified user.
#include <zPublics.h> STATUS zNewConnection( Key_t rootkey, const unicode_t *fdn)
(IN) Specifies the authentication key that is obtained from zRootKey(). Once you complete with the key, release it by calling zClose. When the connection key is closed, the NSS resources and keys associated with that connection are released.
(IN) Points to the fully distinguished name of the user to which you want to establish the connection.
zOK |
The operation completed successfully. |
non-0 |
An error occurred (see Section 4.1, Return Values for a description). |
zNewConnection works only with zRootKey.