-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1150 from sandialabs/smb-authentication-updates
Smb authentication updates
- Loading branch information
Showing
8 changed files
with
151 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
GET SMB Domain Names | ||
======================== | ||
|
||
.. http:get:: /configuration/smb-domains | ||
Retrieves a list of SMB domain names, which get returned as JSON | ||
|
||
:responseheader Content-Type: application/json | ||
|
||
**Sample Request** | ||
|
||
.. sourcecode:: http | ||
|
||
GET /api/configuration/smb-domains HTTP/1.1 | ||
Host: localhost:9000 | ||
Connection: keep-alive | ||
Accept: application/json, text/javascript, */*; q=0.01 | ||
DNT: 1 | ||
X-Requested-With: XMLHttpRequest | ||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36 | ||
Referer: https://localhost:9000/models/b26d9a5d7b2f44729bffccad51fdfcf9?bid=405d84f7553f53736beabdf874d55356 | ||
Accept-Encoding: gzip, deflate, br | ||
Accept-Language: en-US,en;q=0.9 | ||
Cookie: slycatauth=e9528234ede94e159fc21ef2f744323f; slycattimeout=timeout | ||
|
||
**Sample Response** | ||
|
||
.. sourcecode:: http | ||
|
||
HTTP/1.1 200 OK | ||
X-Powered-By: Express | ||
content-length: 43 | ||
expires: 0 | ||
server: CherryPy/14.0.0 | ||
pragma: no-cache | ||
cache-control: no-cache, no-store, must-revalidate | ||
date: Fri, 14 Jun 2019 19:41:58 GMT | ||
content-type: application/json | ||
connection: close | ||
|
||
{"domains":['domain_1', 'domain_2', 'domain_3']} | ||
|
||
See Also | ||
-------- | ||
|
||
- :http:post:`/api/configuration/smb-domains` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters