-
Couldn't load subscription status.
- Fork 164
Open
Description
Hey, I'm trying to troubleshoot my usage of libsmb2 by setting up a local connection between the smb-server-sync and smb2-share-info example programs. I cannot figure out from the documentation what samba URL I should use to read from the server.
For instance, first I start the server:
alexb@DESKTOP-J86FAS1:~/Code/libsmb2/examples$ ./smb2-server-sync 9001
Then trying to read:
alexb@DESKTOP-J86FAS1:~/Code/libsmb2/examples$ ./smb2-share-info smb://localhost:9001/
Failed to connect to IPC$. gss_acquire_cred (client): ( , An invalid name was supplied, , Included profile directory could not be read)
With dummy user and share:
alexb@DESKTOP-J86FAS1:~/Code/libsmb2/examples$ ./smb2-share-info smb://user@localhost:9001/share
Failed to connect to IPC$. gss_acquire_cred (client): ( , An invalid name was supplied, , Included profile directory could not be read)
And the error from the server:
New connection: 0x5601c24a32a0
0x5601c24a32a0:
0x5601c24a32a0: Read from socket failed, remote closed connection.
0x5601c24a32a0: smb2_service (in) failed with : Read from socket failed, remote closed connection.
It's not clear to me what the share name should be or if I have to provide a user.
Thank you
Metadata
Metadata
Assignees
Labels
No labels