Home
last modified time | relevance | path

Searched refs:ad_servername (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_des.c69 char *ad_servername; /* server's full name */ member
147 ad->ad_fullname = ad->ad_servername = NULL; /* Sanity reasons */ in authdes_pk_seccreate()
160 ad->ad_servername = malloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate()
162 if (ad->ad_fullname == NULL || ad->ad_servername == NULL) { in authdes_pk_seccreate()
181 (void) memcpy(ad->ad_servername, servername, ad->ad_servernamelen + 1); in authdes_pk_seccreate()
212 if (ad->ad_servername) in authdes_pk_seccreate()
213 free(ad->ad_servername); in authdes_pk_seccreate()
422 if (key_encryptsession_pk(ad->ad_servername, &pkey, &ad->ad_xkey) < 0) { in authdes_refresh()
444 free(ad->ad_servername); in authdes_destroy()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_des.c84 char *ad_servername; /* server's full name */ member
137 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create()
140 ad->ad_servername == NULL) { in authdes_create()
150 bcopy(servername, ad->ad_servername, ad->ad_servernamelen + 1); in authdes_create()
195 if (ad != NULL && ad->ad_servername != NULL) in authdes_create()
196 FREE(ad->ad_servername, ad->ad_servernamelen + 1); in authdes_create()
390 "authdes_refresh: unable to synchronize with server %s", ad->ad_servername); in authdes_refresh()
393 if ((stat = key_encryptsession(ad->ad_servername, &ad->ad_xkey, cr)) != in authdes_refresh()
417 FREE(ad->ad_servername, ad->ad_servernamelen + 1); in authdes_destroy()