diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-11 11:00:38 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-11 11:00:38 +0000 |
commit | 80667cb0dd1a2cdef17711c8580af9f524971cea (patch) | |
tree | bcc65a5948d65fde8cdeea07fb1a975afb3b66cf /source/auth/auth.c | |
parent | 1a60305f7a368bce16c9d6d989942670186dec72 (diff) | |
download | samba-80667cb0dd1a2cdef17711c8580af9f524971cea.tar.gz samba-80667cb0dd1a2cdef17711c8580af9f524971cea.tar.xz samba-80667cb0dd1a2cdef17711c8580af9f524971cea.zip |
Minor updates. A small dose of const.
Diffstat (limited to 'source/auth/auth.c')
-rw-r--r-- | source/auth/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c index 67f80afdda8..95c97182b85 100644 --- a/source/auth/auth.c +++ b/source/auth/auth.c @@ -36,7 +36,7 @@ static BOOL check_domain_match(char *user, char *domain) */ if (!lp_allow_trusted_domains() && - !strequal(lp_workgroup(), domain) ) { + (!strequal(lp_workgroup(), domain) || strequal("", domain))) { DEBUG(1, ("check_domain_match: Attempt to connect as user %s from domain %s denied.\n", user, domain)); return False; } else { |