Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

feat(deps): update github.com/jfjallid/go-smb ( v0.6.7 ➔ v0.7.0 )#59

Merged
bjw-s merged 1 commit into
mainfrom
renovate/github.com-jfjallid-go-smb-0.x
Feb 28, 2026
Merged

feat(deps): update github.com/jfjallid/go-smb ( v0.6.7 ➔ v0.7.0 )#59
bjw-s merged 1 commit into
mainfrom
renovate/github.com-jfjallid-go-smb-0.x

Conversation

@lab-assistant

@lab-assistant lab-assistant Bot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/jfjallid/go-smb v0.6.7v0.7.0 age confidence

Release Notes

jfjallid/go-smb (github.com/jfjallid/go-smb)

v0.7.0: go-smb 0.7.0

Compare Source

Summary

  • DCERPC decoupled from SMB via a new transport interface.
  • New TCP transport added with full authentication support and encryption
  • Implemented the Endpoint Mapper (dcerpc/epm) with support to lookup dynamic TCP port for a given service UUID over TCP port 135

Breaking changes

1. Package paths moved — all DCERPC packages relocated

All DCERPC packages have moved from smb/dcerpc/... to dcerpc/...:

Old import path New import path
github.com/jfjallid/go-smb/smb/dcerpc github.com/jfjallid/go-smb/dcerpc
github.com/jfjallid/go-smb/smb/dcerpc/mssrvs github.com/jfjallid/go-smb/dcerpc/mssrvs
github.com/jfjallid/go-smb/smb/dcerpc/msrrp github.com/jfjallid/go-smb/dcerpc/msrrp
github.com/jfjallid/go-smb/smb/dcerpc/mssamr github.com/jfjallid/go-smb/dcerpc/mssamr
github.com/jfjallid/go-smb/smb/dcerpc/msscmr github.com/jfjallid/go-smb/dcerpc/msscmr
github.com/jfjallid/go-smb/smb/dcerpc/mslsad github.com/jfjallid/go-smb/dcerpc/mslsad
github.com/jfjallid/go-smb/smb/dcerpc/mswkst github.com/jfjallid/go-smb/dcerpc/mswkst

The old smb/dcerpc package no longer exists.

2. dcerpc.Bind() signature changed

Before:

dcerpc.Bind(f *smb.File, interface_uuid string, ...) (*ServiceBind, error)

After:

dcerpc.Bind(transport DCERPCTransport, interfaceUUID string, ...) (*ServiceBind, error)

The function now accepts a DCERPCTransport interface rather than a raw *smb.File. Callers must wrap their file/connection in a transport first:

  • SMB named pipes: smbtransport.NewSMBTransport(file) — import github.com/jfjallid/go-smb/dcerpc/smbtransport
  • Raw TCP: dcerpc.NewTCPTransport(conn)
3. ServiceBind.MakeIoCtlRequest() renamed to MakeRequest()

Before: sb.MakeIoCtlRequest(opcode, buf)
After: sb.MakeRequest(opcode, buf)

This affects any code calling RPC methods directly through ServiceBind.

4. krb5ssp.Client.GetAPReq() signature changed

Before: GetAPReq(spn string) ([]byte, error)
After: GetAPReq(spn string, dceStyle bool) ([]byte, error)

A new dceStyle bool parameter was added to support DCE-style 3-leg Kerberos authentication. Pass false to preserve previous behaviour.


New Features

  • DCERPCTransport interface — DCERPC is now transport-agnostic; supports both SMB named pipes and raw TCP connections
  • BindAuth() — new function for authenticated DCERPC binding with NTLM or Kerberos, supporting RpcAuthnLevelConnect, RpcAuthnLevelPktIntegrity, and RpcAuthnLevelPktPrivacy (per-PDU signing/sealing)
  • dcerpc/smbtransport — new bridge package wrapping smb.File as a DCERPCTransport
  • dcerpc/tcptransport — new TCPTransport for DCERPC over raw TCP (no SMB)
  • dcerpc/epm — new Endpoint Mapper (EPM) package for resolving TCP port/address for a given RPC service UUID
  • Kerberos DCERPC authentication — full Kerberos support over both SMB and TCP transports including PktPrivacy (encryption)
  • NTLM DCERPC encryption over TCP — PktPrivacy support for NTLM over raw TCP

Full Changelog: jfjallid/go-smb@v0.6.7...v0.7.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

| datasource | package                    | from   | to     |
| ---------- | -------------------------- | ------ | ------ |
| go         | github.com/jfjallid/go-smb | v0.6.7 | v0.7.0 |
@lab-assistant

lab-assistant Bot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/jfjallid/ndr v0.0.1 -> v0.0.2

@bjw-s bjw-s merged commit 5cb62e3 into main Feb 28, 2026
1 check passed
@bjw-s bjw-s deleted the renovate/github.com-jfjallid-go-smb-0.x branch February 28, 2026 15:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant