mirror of
https://github.com/samba-team/samba.git
synced 2025-03-04 16:58:42 +03:00
Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary."
This reverts commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702. I was confused about the real meaning of find_domain_from_name_noinit() vs. find_domain_from_name(). We don't need the connection established here, just the domain struct which gets initialized by rescan_trusted_domains(). Sorry for the noise. Michael
This commit is contained in:
parent
69fff2d750
commit
ecc53d0312
@ -80,7 +80,7 @@ static bool winbindd_fill_pwent(TALLOC_CTX *ctx, char *dom_name, char *user_name
|
||||
if (!pw || !dom_name || !user_name)
|
||||
return False;
|
||||
|
||||
domain = find_domain_from_name(dom_name);
|
||||
domain = find_domain_from_name_noinit(dom_name);
|
||||
if (domain == NULL) {
|
||||
DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.\n",
|
||||
dom_name));
|
||||
|
Loading…
x
Reference in New Issue
Block a user