If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes...
authorJim McDonough <jmcd@samba.org>
Fri, 14 Dec 2001 21:37:56 +0000 (21:37 +0000)
committerJim McDonough <jmcd@samba.org>
Fri, 14 Dec 2001 21:37:56 +0000 (21:37 +0000)
source/auth/auth_domain.c

index 6b048e5021cd5b8a8a92d66f0cadaf57b4ad1202..a5e90aff39a0e8260cb7952d6920fe2ea9b76144 100644 (file)
@@ -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;
                }