No description
Find a file
Shane Crowley 5d252f9f04
docs: update starter pack to v1.3 (#1346)
Updates documentation starter pack from 1.0.1 to 1.3.

Most of the changes introduced are not user-facing and relate the
internals of the documentation system.
For example, Canonical extensions used with Sphinx have been split up
into packages and the extension for rendering terminal output has been
modified, a breaking change which required some modifications in the
syntax that we used. The sitemaps generated for SEO have been updated to
include a last modified date. There has also been some additional
simplification of the files and the docs tests that can be run with
`make <test>`.

Changes from 1.0 to 1.3 can be found in the starter pack releases page:
https://github.com/canonical/sphinx-docs-starter-pack/releases

UDENG-8558
2025-12-08 12:51:10 +00:00
.github deps(ci): bump jidicula/clang-format-action from 4.15.0 to 4.16.0 (#1324) 2025-11-13 11:05:34 -04:00
cmd Remove deprecated key from dconf definitions 2025-10-28 08:18:13 -04:00
conf.example [Changed] Adsys configuration example gpo list timeout to 10 seconds 2024-09-13 10:22:08 -03:00
debian Release adsys 0.16.4 2025-11-24 06:43:06 -04:00
docs update docs starter pack to v1.3 2025-12-08 12:40:04 +00:00
e2e Update Jammy/Noble patches for the e2e tests 2025-10-28 09:03:54 -04:00
installer Address review comments 2022-06-27 15:33:49 +03:00
internal Fix issues pointed by linter 2025-11-24 06:33:24 -04:00
pam Fix issues pointed by linter 2025-11-13 08:55:06 -04:00
po Auto update po files 2023-08-02 11:31:20 +00:00
policies Refresh policy definition files 2025-10-28 14:24:53 +00:00
systemd Fix [Install] target of adsys-user-mounts.service 2023-05-31 10:35:18 -04:00
tools deps(go-tools): bump github.com/golangci/golangci-lint/v2 in /tools 2025-11-17 12:08:29 +00:00
.clang-format Adding .clang-format file to adsys root 2023-05-25 12:09:03 -04:00
.gitignore Collect e2e test logs on failure 2024-03-08 17:05:19 +02:00
.golangci.yaml Update golangci-lint to v2 and migrate its config 2025-09-04 22:49:10 +02:00
adsys.pb.go Regenerate proto files 2025-09-04 23:54:05 +02:00
adsys.proto Updates for new document format 2023-10-26 11:17:03 +02:00
adsys_grpc.pb.go Regenerate proto files 2025-09-04 23:54:05 +02:00
CONTRIBUTING.md Update contribution guidelines for reference docs 2024-08-19 10:58:49 +01:00
generate.go Add missing package comments 2022-09-14 11:16:03 +02:00
go.mod Fix issues pointed by linter 2025-11-24 06:33:24 -04:00
go.sum deps(go): bump golang.org/x/net from 0.46.0 to 0.47.0 2025-11-19 10:17:13 +00:00
LICENSE Initial commit 2020-10-02 12:33:22 +02:00
NOTICE Add NOTICE for project copyright 2021-02-24 11:31:15 +01:00
package-build-tool.go Add package build tool to pin our update-mo command line 2023-07-26 17:34:09 +02:00
README.md fix quality badge 2025-12-05 14:00:47 +00:00
SECURITY.md change to adsysctl for version check 2024-12-09 14:38:47 +00:00

adsys

Active Directory GPO support.

Code quality Code coverage Go Reference Go Report Card License

Documentation and Usage

The documentation and the command line reference is available on Read The Docs as well as the documentation for the current development release.

Installing development versions

For every commit on the main branch of the adsys repository, the GitHub Actions CI builds a development version of the adwatchd project. This is NOT a stable version of the application and should not be used for production purposes. However, it may prove useful to preview features or bugfixes not yet available as part of a stable release.

To get access to the build artifact you need to be logged in on GitHub. Then, click on any passing run of the QA workflow that has the Windows tests for adwatchd job, and look for the adwatchd_setup file.

Troubleshooting

If AD authentication works but adsys fails to fetch GPOs (e.g. you see can't get policies errors on login), please perform the following steps:

  1. Add the following to /etc/samba/smb.conf:
log level = 10
  1. Run sudo login {user}@{domain} in a terminal, replacing with your AD credentials

  2. Paste the output in the bug report

The adsysctl command can also be useful to fetch logs for the daemon and client:

# You can increase the amount of information that will be displayed by using a more verbose tag (-vv or -vvv).
# Note that this command will start a watcher that will print logs as they are generated, so you will need to perform
# actions (such as trying to login) while the command is running.
adsysctl service cat -v

Additionally, you can check the system journal to look at more logs about adsys: Remember that adsys runs with privileges, so you will need to run the following commands as root.

# You can use the -b flag to control how many boots the log will show (e.g. -b 0 will show the current boot only)
journalctl -b0 | grep adsys

# You can also get the logs of the individual units:
systemctl list-units | grep adsys # this will show all adsys related systemd units

# The -u flag will show the logs of the specified unit
journalctl -b0 -u adsysd.service # this command will only show the adsysd.service logs of the current boot