Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauth_des.c71 char *ad_servername; /* server's full name */ member
149 ad->ad_fullname = ad->ad_servername = NULL; /* Sanity reasons */ in authdes_pk_seccreate()
162 ad->ad_servername = malloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate()
164 if (ad->ad_fullname == NULL || ad->ad_servername == NULL) { in authdes_pk_seccreate()
183 (void) memcpy(ad->ad_servername, servername, ad->ad_servernamelen + 1); in authdes_pk_seccreate()
214 if (ad->ad_servername) in authdes_pk_seccreate()
215 free(ad->ad_servername); in authdes_pk_seccreate()
424 if (key_encryptsession_pk(ad->ad_servername, &pkey, &ad->ad_xkey) < 0) { in authdes_refresh()
446 free(ad->ad_servername); in authdes_destroy()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauth_des.c86 char *ad_servername; /* server's full name */ member
139 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create()
142 ad->ad_servername == NULL) { in authdes_create()
152 bcopy(servername, ad->ad_servername, ad->ad_servernamelen + 1); in authdes_create()
197 if (ad != NULL && ad->ad_servername != NULL) in authdes_create()
198 FREE(ad->ad_servername, ad->ad_servernamelen + 1); in authdes_create()
392 "authdes_refresh: unable to synchronize with server %s", ad->ad_servername); in authdes_refresh()
395 if ((stat = key_encryptsession(ad->ad_servername, &ad->ad_xkey, cr)) != in authdes_refresh()
419 FREE(ad->ad_servername, ad->ad_servernamelen + 1); in authdes_destroy()