Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Unable to establish SMB2 connection using Filesys::SmbClient

by natxo (Scribe)
on May 18, 2017 at 20:51 UTC ( #1190563=note: print w/replies, xml ) Need Help??


in reply to Unable to establish SMB2 connection using Filesys::SmbClient

A bit late to this post, but for future reference maybe worth it as smb 1 after the wannacry drama will probably be less and less common out there :-)

I have just used Filesys::SmbClient with smb2 or 3. You just need to fill in the file ~/.smb/smb.conf that Filesys::Smbclient autocreates with something like this:

[global] client max protocol = SMB3
If the share only accepts smb2, it will downgrade to 2 or 2.1, otherwise it will use 3.

I verified this using wireshark traces.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1190563]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2017-08-19 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?