From 66c7005e7d7d23145090853ad5cb427e2e1a7c9a Mon Sep 17 00:00:00 2001 From: Ludwig Lehnert Date: Wed, 18 Feb 2026 19:29:16 +0100 Subject: [PATCH] attempted fix on group shares not appearing (GID not found) (2) --- app/reconcile_shares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reconcile_shares.py b/app/reconcile_shares.py index a6d40d4..043ed72 100755 --- a/app/reconcile_shares.py +++ b/app/reconcile_shares.py @@ -29,7 +29,7 @@ GROUP_PREFIXES = ("FileShare_", "FS_") USER_STATUS_FILTER = "(&(objectClass=user)(!(objectClass=computer))(sAMAccountName=*))" REQUIRED_ENV = ["REALM", "WORKGROUP", "DOMAIN"] -ATTR_RE = re.compile(r"^([^:]+)(::?):\s*(.*)$") +ATTR_RE = re.compile(r"^([^:]+)(::?)\s*(.*)$") SHARE_NAME_INVALID_RE = re.compile(r"[\\/:*?\"<>|;\[\],+=]") PRIVATE_SKIP_EXACT = { "krbtgt",