Skip to content

Conversation

@phlogistonjohn
Copy link
Collaborator

Fixes: #156

After looking at the code and the implemenation in samba I decided it was easiest and best to mimic the structure seen in the JSON, adding a new SessionCrypto message type and using that for the encryption and signing fields of the smbstatus.

@phlogistonjohn phlogistonjohn marked this pull request as ready for review May 30, 2025 17:31
Copy link
Collaborator

@anoopcs9 anoopcs9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the typo in the commit subject, grpc: add support for session crypto inforamation could mention "backend" as it basically modifies the grpc backend.

These junk values were placeholders I was using for some very early
on debugging and somehow stopped noticing them. Remove them.

Signed-off-by: John Mulligan <[email protected]>
Add session crypto message to the protobuf/grpc definition.
Regenerate generated files.

Signed-off-by: John Mulligan <[email protected]>
Copy link
Collaborator

@anoopcs9 anoopcs9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks.

Copy link
Collaborator

@Shwetha-Acharya Shwetha-Acharya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phlogistonjohn phlogistonjohn merged commit b6e1182 into samba-in-kubernetes:master Jun 4, 2025
8 checks passed
@phlogistonjohn phlogistonjohn deleted the jjm-grpc-crypto branch June 9, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gRPC protobuf doesn't contain Encryption field in SessionInfo

3 participants