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 | e903a34b2ecf6bca515dbe57274f4186d7f3955e (patch) | |
tree | 1838d157f7b3a326d657302dede31d1d582e3723 /source3/auth/auth.c | |
parent | e1cd19516093882dde0eefeeb629c53d48e64822 (diff) | |
download | samba-e903a34b2ecf6bca515dbe57274f4186d7f3955e.tar.gz samba-e903a34b2ecf6bca515dbe57274f4186d7f3955e.tar.bz2 samba-e903a34b2ecf6bca515dbe57274f4186d7f3955e.zip |
Minor updates. A small dose of const.
(This used to be commit 80667cb0dd1a2cdef17711c8580af9f524971cea)
Diffstat (limited to 'source3/auth/auth.c')
-rw-r--r-- | source3/auth/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 67f80afdda..95c97182b8 100644 --- a/source3/auth/auth.c +++ b/source3/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 { |