const char *account_name;
fstring acct_name;
- if (ads->auth.password == NULL || ads->auth.password[0] == '\0') {
+ if (ads->auth._password == NULL || ads->auth._password[0] == '\0') {
return KRB5_LIBOS_CANTREADPWD;
}
if (ads->auth.flags & ADS_AUTH_USER_CREDS) {
- account_name = ads->auth.user_name;
+ account_name = ads->auth._user_name;
goto got_accountname;
}
}
else
/* This looks like host/lp_netbios_name()@REA.LM */
- account_name = ads->auth.user_name;
+ account_name = ads->auth._user_name;
}
got_accountname:
- if (asprintf(&s, "%s@%s", account_name, ads->auth.realm) == -1) {
+ if (asprintf(&s, "%s@%s", account_name, ads->auth._realm) == -1) {
return KRB5_CC_NOMEM;
}
- ret = kerberos_kinit_password_ext(s, ads->auth.password,
+ ret = kerberos_kinit_password_ext(s, ads->auth._password,
ads->auth.time_offset,
&ads->auth.tgt_expire, NULL,
- ads->auth.ccache_name, false, false,
- ads->auth.renewable, NULL);
+ ads->auth._ccache_name, false, false,
+ ads->auth._renewable, NULL);
if (ret) {
DEBUG(0,("kerberos_kinit_password %s failed: %s\n",