From 66071a69dc4f8dfd5ab4b7a91331687fecad5d9b Mon Sep 17 00:00:00 2001 From: James Robinson Date: Thu, 9 Jan 2025 18:58:23 +0000 Subject: [PATCH 1/4] :memo: Add note on LDAP filters. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7e7adcd..ab52528 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ $ docker run -it \ ghcr.io/alan-turing-institute/guacamole-user-sync:$(version you want to use) ``` +LDAP filter syntax is described here: https://ldap.com/ldap-filters/. +If you want a simple filter for testing, try `(objectClass=*)` which will match any LDAP object. + ## Environment variables - `DEBUG`: Enable debug output (default: 'False') From 69d479a7e6efa63d69b098044d104e60649ad906 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Thu, 9 Jan 2025 19:02:34 +0000 Subject: [PATCH 2/4] :memo: Add note on LDAP DNs. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ab52528..a11298e 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ $ docker run -it \ LDAP filter syntax is described here: https://ldap.com/ldap-filters/. If you want a simple filter for testing, try `(objectClass=*)` which will match any LDAP object. +Similarly, LDAP distinguished names (DNs) are described here: https://ldap.com/ldap-dns-and-rdns/. +The user or group base DN will typically be the organisational unit (OU) that all objects of that type belong to. +For example, a simple user base DN might look something like `OU=users,DC=example,DC=com`. + ## Environment variables - `DEBUG`: Enable debug output (default: 'False') From 26f41a9bf718b75cf9687f8bbaac7cf5c164722e Mon Sep 17 00:00:00 2001 From: James Robinson Date: Thu, 9 Jan 2025 18:56:41 +0000 Subject: [PATCH 3/4] :bookmark: Tag version 0.7.0 --- guacamole_user_sync/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole_user_sync/__about__.py b/guacamole_user_sync/__about__.py index 906d362..49e0fc1 100644 --- a/guacamole_user_sync/__about__.py +++ b/guacamole_user_sync/__about__.py @@ -1 +1 @@ -__version__ = "0.6.0" +__version__ = "0.7.0" From d118344dbf5a38492ccda4e7f62e996778b45970 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Fri, 10 Jan 2025 08:29:35 +0000 Subject: [PATCH 4/4] :white_check_mark: Fix version test --- tests/test_about.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_about.py b/tests/test_about.py index e87cf36..f03cfd3 100644 --- a/tests/test_about.py +++ b/tests/test_about.py @@ -5,4 +5,4 @@ class TestAbout: """Test about.py.""" def test_version(self) -> None: - assert version == "0.6.0" + assert version == "0.7.0"