/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | ksmb.c | 64 char *newpw; local 103 newpw = strdup(buf); 104 if (newpw == NULL) { 109 newpw = getpassphrase(gettext("Enter new password: ")); 110 if (newpw == NULL) { 116 newpw = strdup(newpw); 117 if (newpw == NULL) { 126 ret = smb_setdomainprops(fqdn, server, newpw); 128 free(newpw); [all...] |
H A D | ksetpw.c | 59 char c, *vprincstr, *ktname, *token, *lasts, *newpw; local 199 newpw = strdup(buf); 200 if (newpw == NULL) { 206 newpw = getpassphrase(gettext("Enter new password: ")); 207 if (newpw == NULL) { 213 newpw = strdup(newpw); 214 if (newpw == NULL) { 222 code = krb5_set_password_using_ccache(ctx, cc, newpw, victim, 248 kt_add_entry(ctx, kt, victim, salt, enctypes[i], kvno, newpw); [all...] |
H A D | kclient.sh | 1113 printf "%s" "$newpw" | $KSMB -d $domain -s $server 1404 newpw=$p 1405 if [[ ${#newpw} -ne MAX_PASS ]]; then 1411 printf "%s" "$newpw" | $KSETPW ${netbios_nodename}@${realm} > /dev/null 2>&1 1543 printf "%s" "$newpw" | $KSETPW $ks_args $skey > /dev/null 2>&1
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | yppasswd.h | 47 struct passwd newpw; /* new pw structure */ member in struct:yppasswd
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 94 struct passwd newpw, opwd; local 148 (!validstr(yppwd.newpw.pw_passwd, cryptpwsize)) || 149 (!validstr(yppwd.newpw.pw_name, UTUSERLEN)) || 150 (!validstr(yppwd.newpw.pw_gecos, fingersize)) || 151 (!validstr(yppwd.newpw.pw_shell, shellsize))) { 170 newpw = yppwd.newpw; 171 strcpy(name, newpw.pw_name); 409 newpw.pw_name); 415 newpw [all...] |
H A D | yppasswdxdr.c | 68 if (!xdr_passwd(xdrs, &yppw->newpw)) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | changepw.c | 49 char *newpw; member in struct:sendto_callback_context 167 ctx->newpw, 173 ctx->newpw, 193 krb5_change_set_password(krb5_context context, krb5_creds *creds, char *newpw, argument 213 callback_ctx.newpw = newpw; 338 krb5_change_password(krb5_context context, krb5_creds *creds, char *newpw, int *result_code, krb5_data *result_code_string, krb5_data *result_string) argument 341 context, creds, newpw, NULL, result_code, result_code_string, result_string ); 353 char *newpw, 359 context, creds, newpw, change_password_fo 350 krb5_set_password( krb5_context context, krb5_creds *creds, char *newpw, krb5_principal change_password_for, int *result_code, krb5_data *result_code_string, krb5_data *result_string ) argument 363 krb5_set_password_using_ccache( krb5_context context, krb5_ccache ccache, char *newpw, krb5_principal change_password_for, int *result_code, krb5_data *result_code_string, krb5_data *result_string ) argument [all...] |
/illumos-gate/usr/src/lib/pam_modules/smb/ |
H A D | smb_passwd.c | 84 char *newpw; local 119 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&newpw); 120 if (newpw == NULL) { 150 res = smb_pwd_setpasswd(user, newpw);
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yppasswd_xdr.c | 57 return (xdr_passwd(xdrsp, &pp->newpw));
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 185 if ((!validstr(yppwd.newpw.pw_passwd, CRYPTPWSIZE)) || 186 (!validstr(yppwd.newpw.pw_name, UTUSERLEN)) || 187 (!validstr(yppwd.newpw.pw_gecos, FINGERSIZE)) || 188 (!validstr(yppwd.newpw.pw_shell, SHELLSIZE))) { 269 for (p = yppwd->newpw.pw_name; (*p != '\0'); p++) 272 for (p = yppwd->newpw.pw_passwd; (*p != '\0'); p++) 277 old_pwd = get_old_info(yppwd->newpw.pw_name, domain); 281 "domain %s", yppwd->newpw.pw_name, domain); 315 yppwd->newpw.pw_name); 657 "No change for %s", yppwd->newpw [all...] |
/illumos-gate/usr/src/lib/pam_modules/authtok_store/ |
H A D | authtok_store.c | 100 char *newpw; local 159 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&newpw); 160 if (res != PAM_SUCCESS || newpw == NULL) { 167 l.data.val_s = newpw;
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | changepw.c | 85 krb5_change_password_local(context, params, creds, newpw, srvr_rsp_code, 90 char *newpw; 271 &ap_req, newpw, &chpw_req)) 373 char *newpw, 430 &ncreds, newpw, 371 kadm5_chpass_principal_v2(void *server_handle, krb5_principal princ, char *newpw, kadm5_ret_t *srvr_rsp_code, krb5_data *srvr_msg) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samlib.h | 132 struct samr_encr_passwd *newpw,
|
H A D | samr_clnt.c | 970 struct samr_encr_passwd *newpw, 1011 arg.nt_newpw = newpw; 966 samr_change_password( mlsvc_handle_t *handle, char *server, char *account, struct samr_encr_passwd *newpw, struct samr_encr_hash *oldpw) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | preauth.c | 381 krb5_data newpw; local 382 newpw.data = 0; newpw.length = 0; 385 (krb5_const_pointer)&newpw, new_enc_key); 386 krb5_xfree(newpw.data);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.c | 712 static char newpw[1024]; local 856 unsigned int i = sizeof (newpw) - 1; 865 newpw, &i); 880 newpw); 884 retval = kadm5_chpass_principal(handle, princ, newpw); 887 memset(newpw, 0, sizeof (newpw)); 1210 static char newpw[1024], dummybuf[256]; local 1283 unsigned int sz = sizeof (newpw) - 1; 1291 newpw, [all...] |
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | nis_attr.c | 471 yppasswd.newpw = *nisbuf->pwd;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | krb5.h | 2082 (krb5_context context, krb5_creds *creds, char *newpw, 2087 (krb5_context context, krb5_creds *creds, char *newpw, krb5_principal change_password_for, 2091 (krb5_context context, krb5_ccache ccache, char *newpw, krb5_principal change_password_for,
|