go-adws

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT

README

go-adws

A Go implementation of the Active Directory Web Services (ADWS) protocol stack.

GitHub Release Go Version Code Size License Go Report Card GitHub Downloads Twitter Follow

    Client
      |
  +-----------+   package wscap          MS-ADCAP  (Custom Actions)
  | wscap     |   package wstransfer     MS-WSTIM  (WS-Transfer + IMDA extensions)
  | wstransfer|   package wsenum         MS-WSDS   (WS-Enumeration extensions)
  | wsenum    |
  +-----------+
      |  SOAP 1.2 XML (UTF-8) built by package soap
      |
  +-----------+   package transport/nmf  MC-NMF    (.NET Message Framing)
  |   NMF     |   SizedEnvelope records; binary dict encoding (MC-NBFSE)
  +-----------+
      |
  +-----------+   package transport/nns  MS-NNS    (.NET NegotiateStream)
  |   NNS     |   SPNEGO handshake; GSS_Wrap/Unwrap per message
  +-----------+
      |
  DomainController:9389

Contributing

Contributions are welcome by opening an issue or by submitting a pull request.

Acknowledgements

  • Big thanks to oiweiwei for go-msrpc, as his ssp package implemented the authentication flow with GSSAPI seamlessly.

References

  • MS-NNS - .NET NegotiateStream Protocol
  • MS-NMF - .NET Message Framing Protocol
  • MS-ADDM - Active Directory Web Services: Data Model and Common Elements
  • MS-WSDS - WS-Enumeration: Directory Services Protocol Extensions
  • MS-WSTIM - WS-Transfer: Identity Management Operations for Directory Access Extensions
  • MS-ADCAP - Active Directory Web Services Custom Action Protocol
  • MS-ADTS - Active Directory Technical Specification

License

The MIT License (MIT)

Copyright (c) 2023 Artur Henrique Marzano Gonzaga

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
Package transport is declared here for nmf.go; see nns.go for the package-level doc comment.
Package transport is declared here for nmf.go; see nns.go for the package-level doc comment.
Package wsmex implements a client for the ADWS WS-MetadataExchange (MEX) endpoint.
Package wsmex implements a client for the ADWS WS-MetadataExchange (MEX) endpoint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL