-
Notifications
You must be signed in to change notification settings - Fork 65
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
I had set username password of smb server machine but it keep asking username/password. #51
Comments
Hey Thushar, thanks for filling out the issue properly. :) The tricky thing with this library is that it can be very finicky depending on the device. CN you please try setting some breakpoints through the code and seeing what sort of error the server is returning? |
Ok, I will try to find out exact bug and will let you know. |
Cool! Thanks! In the meantime, I just tested the latest version incorporating libdsm 0.2.8 on my MacBook Pro running Sierra 102.12.6 and was able to authenticate successfully with my Mac's username and password. I'm hoping there might be some edge case in the authentication logic that you're hitting up against. If that's the case, we can probably fix it. If not, then it might be an issue in libdsm itself. |
Hi, Authentication works with local credentials. But not if I have to use domain credentials. |
Sorry for the delay! Ahhhhh okay. I think we had this problem with the domain needing to be explicitly set before. I was still working out in which way it should be exposed in the API. I'll try and fix it soon! |
is there any updates on this issue? |
@vipsss issue #49 will give u a workaround to solve this problem |
@beks6 thanks for your replay. but problem is what I follow instructions from issue 49. set domain name as host and ip address and still get authentication error |
I‘m not sure if I understand you correctly. Your approach should be hostName = domain |
@beks6 another question |
To me it seems like you are missing user credentials. |
I had set username password of smb server machine but it keep asking username/password.
Hardware / Software
Which version of the library were you using?
Which version of iOS are you running? iOS 10.3.3
What model of iOS device were you testing on? iPhone 7 Plus
If using CocoaPods, which version of CocoaPods are you on? No cocoapod. I just run given TOSMBClientExample only.
Goals
What is the outcome result you want to achieve with this library? - I was trying to connect such SMB sever which have username/password to access but it keep asking username password after entering credentials.
Expected Results
What did you expect to happen? - I should accept credentials.
Actual Results
What happened instead? (Please attach a screenshot/screen recording if possible) - It fired an error of authentication failed.
Steps to Reproduce
What are the steps needed to reproduce this issue?
If this bug was caused by a specific image, please post it here.
Try to connect such smb server which have username/password to access, I have linux machine, windows machine and mac machine in network, but if that machine can be accessible without password then app connects well, but if I set username/password to access then not working.
The text was updated successfully, but these errors were encountered: