mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:net: remove unused net_context->opt_kerberos
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
2de585a978
commit
9620d2ecc1
@ -1377,8 +1377,6 @@ static struct functable net_func[] = {
|
||||
CRED_UNINITIALISED;
|
||||
enum smb_encryption_setting encrypt_state =
|
||||
cli_credentials_get_smb_encryption(c->creds);
|
||||
enum credentials_use_kerberos krb5_state =
|
||||
cli_credentials_get_kerberos_state(c->creds);
|
||||
uint32_t gensec_features;
|
||||
|
||||
if (principal_obtained == CRED_SPECIFIED) {
|
||||
@ -1397,8 +1395,6 @@ static struct functable net_func[] = {
|
||||
|
||||
c->smb_encrypt = (encrypt_state == SMB_ENCRYPTION_REQUIRED);
|
||||
|
||||
c->opt_kerberos = (krb5_state > CRED_USE_KERBEROS_DESIRED);
|
||||
|
||||
gensec_features = cli_credentials_get_gensec_features(c->creds);
|
||||
if (c->legacy_opt_ccache) {
|
||||
gensec_features |= GENSEC_FEATURE_NTLM_CCACHE;
|
||||
|
@ -72,7 +72,6 @@ struct net_context {
|
||||
const char *opt_exclude;
|
||||
const char *opt_destination;
|
||||
int opt_testmode;
|
||||
int opt_kerberos;
|
||||
int opt_force_full_repl;
|
||||
int legacy_opt_ccache;
|
||||
int opt_single_obj_repl;
|
||||
|
@ -130,7 +130,6 @@ static PyObject *py_net_join_member(py_net_Object *self, PyObject *args, PyObjec
|
||||
c->explicit_credentials = true;
|
||||
c->opt_user_name = cli_credentials_get_username(self->creds);
|
||||
c->opt_password = cli_credentials_get_password(self->creds);
|
||||
c->opt_kerberos = cli_credentials_get_kerberos_state(self->creds);
|
||||
|
||||
werr = libnet_Join(mem_ctx, r);
|
||||
if (W_ERROR_EQUAL(werr, WERR_NERR_DCNOTFOUND)) {
|
||||
|
Loading…
Reference in New Issue
Block a user