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

Implement domain login #106

Open
narendra-ct opened this issue Mar 17, 2017 · 4 comments
Open

Implement domain login #106

narendra-ct opened this issue Mar 17, 2017 · 4 comments

Comments

@narendra-ct
Copy link

narendra-ct commented Mar 17, 2017

Hi,
I'm trying to access the share with domain based users/system (not an WORKSTATION group), here i can able to see the list of systesms and when i try to login, it throws LOGIN AUTHENTICATION FAILED.
thanks for the help.

MORE INFO ::
Here able to Connect with
smb_session_connect(session, hostName, addr.s_addr, SMB_TRANSPORT_TCP) is success and setting credentials as
smb_session_set_creds(session, smb_session_server_name(session), userName, password);
, but after this when i try to login smb_session_login(session); results as -1.

~Narendra.

@elthariel
Copy link
Contributor

Can you send network traces Of both a login when it works with samba or the windows client
and when it's not working with libsmb ?

We don't have access to a windows domain :)

Thanks in advance

@narendra-ct
Copy link
Author

Hi,
Please find the attached files (success & failure).
Note: I used wireshark to get network trace and files also in wireshark format.

could you please give a clue what will be the format to log into domain user Ex: DOMAIN\User

Thanks,
Narendra.

Archive.zip

@elthariel
Copy link
Contributor

I haven't been working on this for quite a while but iirc, adding domain support makes things quite more complicated, so it's not supported at all, it's not just a bug.

I'll have a look at the traces to see how it can be done, but I'm afraid the whole domain setup will be a PITA to test

@elthariel elthariel changed the title Trying to access network share in domain Implement domain login Apr 26, 2017
@beks6
Copy link

beks6 commented May 8, 2017

Hello guys, I'm using TOSMBClient for my SMB Share. Take a look to this issue, I am able to connect to a domain based system and upload files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants