diff options
author | Jim McDonough <jmcd@samba.org> | 2001-12-14 21:37:56 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2001-12-14 21:37:56 +0000 |
commit | 07ea83e6f0f03ba4706c98abb58346a4f4ec983c (patch) | |
tree | 53c11c4379f3bd292d5c13bd9c9f89e7578f8700 /source/auth | |
parent | 096d06a961e3a3e6f6952754875b83558448f449 (diff) | |
download | samba-07ea83e6f0f03ba4706c98abb58346a4f4ec983c.tar.gz samba-07ea83e6f0f03ba4706c98abb58346a4f4ec983c.tar.xz samba-07ea83e6f0f03ba4706c98abb58346a4f4ec983c.zip |
If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes a confusing client error. Changed to NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c index 6b048e5021c..a5e90aff39a 100644 --- a/source/auth/auth_domain.c +++ b/source/auth/auth_domain.c @@ -382,7 +382,7 @@ static NTSTATUS domain_client_validate(const auth_usersupplied_info *user_info, if (!secrets_fetch_domain_sid(lp_workgroup(), &domain_sid)) { DEBUG(0, ("domain_client_validate: unable to fetch domain sid.\n")); - status = NT_STATUS_NO_MEMORY; + status = NT_STATUS_CANT_ACCESS_DOMAIN_INFO; free_server_info(server_info); goto done; } |