mirror of
https://github.com/altlinux/admc.git
synced 2025-03-22 14:50:36 +03:00
Remove deprecated smbc_init() from smb context initialization
Empty authentication data f-n SMBC_get_auth_data() is set to context in smbc_new_context(). Then this context is set, so there is no need in smbc_init() anymore.
This commit is contained in:
parent
6926a5297a
commit
256be83f2b
@ -1620,7 +1620,6 @@ bool AdInterface::init_smb_context() {
|
||||
const QString connect_error_context = tr("Failed to connect.");
|
||||
|
||||
if (AdInterfacePrivate::smbc == NULL) {
|
||||
smbc_init(get_auth_data_fn, 0);
|
||||
AdInterfacePrivate::smbc = smbc_new_context();
|
||||
smbc_setOptionUseKerberos(AdInterfacePrivate::smbc, true);
|
||||
smbc_setOptionFallbackAfterKerberos(AdInterfacePrivate::smbc, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user