]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: winbindd_child->domain is a talloc grant parent if valid
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Feb 2025 15:16:25 +0000 (16:16 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 8 Feb 2025 15:26:38 +0000 (15:26 +0000)
This comment makes it easier to spot if we still have
'struct winbindd_domain' pointers in state structures,
which should be replaced by struct winbindd_domain_ref,
in order to handle stale domains after reloading trusts.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd.h

index 24139b46ce938715df235894423315fd5f644f37..dd1163663b07738c0d9d4a83a87e532068a0de3e 100644 (file)
@@ -105,7 +105,7 @@ struct winbindd_domain;
 
 struct winbindd_child {
        pid_t pid;
-       struct winbindd_domain *domain;
+       struct winbindd_domain *domain; /* if valid also talloc (grant) parent */
        char *logfilename;
 
        int sock;