diff options
author | Andreas Schneider <asn@samba.org> | 2018-07-02 16:38:01 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-07-04 23:55:56 +0200 |
commit | 9f28d30633af721efec02d8816a9fa48f795a01c (patch) | |
tree | 0cb6e54118dfc39fa3333071bfc7361fec9a7969 /source3/winbindd | |
parent | 8e96e9ea46351de34ad5cac9a9a9ece4226b462c (diff) | |
download | samba-9f28d30633af721efec02d8816a9fa48f795a01c.tar.gz |
s3:winbind: Do not lookup local system accounts in AD
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13503
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul 4 23:55:56 CEST 2018 on sn-devel-144
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 71735edf9c7..f913d395575 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -1605,6 +1605,8 @@ bool parse_domain_user(const char *domuser, } else if (assume_domain(lp_workgroup())) { fstrcpy(domain, lp_workgroup()); fstrcpy(namespace, domain); + } else { + fstrcpy(namespace, lp_netbios_name()); } } |