Skip to content

Changes needed to Samba configuration to use with Server 2012 R2 #1

@samratashok

Description

@samratashok

Recently while trying enum4linux against a Server 2012 R2 target (with credentials, null sessions are long dead), I realized that Samba tools/utilities need to be forced to use SMB3. As per the release notes here: https://www.samba.org/samba/history/samba-4.1.0.html, following must be added to the [global] section of smb.conf (default is /etc/samba/smb.conf)

client max protocol = SMB3

After adding that, it again worked like a charm!

Maybe add a note/warning in the tool for adding the configuration? Individual utilities can be patched in the code as well (for example smbclient -m SMB3). That, of course, will be up to you.

Thanks for this awesome tool :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions