Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smb authentication updates #1150

Merged
merged 8 commits into from
Dec 5, 2023
Merged

Smb authentication updates #1150

merged 8 commits into from
Dec 5, 2023

Conversation

Spurs20
Copy link
Contributor

@Spurs20 Spurs20 commented Dec 1, 2023

Separating out domain as a new field in SMB authentication

@Spurs20 Spurs20 requested a review from Mletter1 December 1, 2023 17:22
@@ -90,6 +90,7 @@ def abspath(path):
dispatcher.connect("get-configuration-parsers", "/configuration/parsers", slycat.web.server.handlers.get_configuration_parsers, conditions={"method" : ["GET"]})
dispatcher.connect("get-configuration-remote-hosts", "/configuration/remote-hosts", slycat.web.server.handlers.get_configuration_remote_hosts, conditions={"method" : ["GET"]})
dispatcher.connect("get-configuration-smb-remote-hosts", "/configuration/smb-remote-hosts", slycat.web.server.handlers.get_configuration_smb_remote_hosts, conditions={"method" : ["GET"]})
dispatcher.connect("get-configuration-smb-domains", "/configuration/smb-domains", slycat.web.server.handlers.get_configuration_smb_domains, conditions={"method" : ["GET"]})
Copy link
Collaborator

Choose a reason for hiding this comment

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

add a doc page for the new endpoint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See d528cda

@@ -3156,6 +3156,14 @@ def get_configuration_smb_remote_hosts():
return json_hostnames
return {"hostnames":[]}

@cherrypy.tools.json_out(on=True)
def get_configuration_smb_domains():
Copy link
Collaborator

@Mletter1 Mletter1 Dec 1, 2023

Choose a reason for hiding this comment

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

Add a doc string for this function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See 02a7b9f

@Mletter1 Mletter1 merged commit 821e651 into master Dec 5, 2023
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.

None yet

2 participants