Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still Unable to Login #17

Open
Hemedy opened this issue Jul 11, 2021 · 5 comments
Open

Still Unable to Login #17

Hemedy opened this issue Jul 11, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@Hemedy
Copy link

Hemedy commented Jul 11, 2021

I tried this =>
To log in, translate the host address to the host name by using the inverse() method

but also returns "Unable to perform name resolution for 192.168...."

@biezhihua please help,

@biezhihua
Copy link
Owner

Check that your target host has SMB service enabled.

Also, your target host, what is the host name?

@Hemedy

@Hemedy
Copy link
Author

Hemedy commented Jul 12, 2021

@biezhihua yes SMB enabled , I tried with an app from playstore. My Hostname is "kali"

@Hemedy
Copy link
Author

Hemedy commented Jul 19, 2021

Hi @biezhihua , any luck?

@Hemedy
Copy link
Author

Hemedy commented Jul 27, 2021

Hi @biezhihua , just checking on you, If you might help soon I will appreciate.

@biezhihua biezhihua added the bug Something isn't working label Aug 10, 2021
@shingohu
Copy link

flutter login the 'host' maybe 'hostName'?
Future<int> login(String host, String loginName, String password) async { if (_dsmId == null) { return 0; } int result = await _methodChannel.invokeMethod('DSM_login', <String, dynamic>{ 'id': _dsmId, 'hostName': host, 'login_name': loginName, 'password': password, }); return result; }

`
if (call.arguments == null ||
call.argument(ID).isNullOrEmpty() ||
call.argument(HOST_NAME).isNullOrEmpty() ||
call.argument(LOGIN_NAME).isNullOrEmpty() ||
call.argument(PASSWORD).isNullOrEmpty()
) {
result.error("PARAM_ERROR", "Illegal parameter", null)
}

`
the native code HOST_NAME is 'hostName'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants