summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 49fbee2607..8218ca2dc5 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -352,7 +352,7 @@ connection_struct *make_connection(char *service, DATA_BLOB password,
DEBUG(0,("%s (%s) couldn't find service %s\n",
remote_machine, client_addr(), service));
- *status = NT_STATUS_BAD_NETWORK_PATH;
+ *status = NT_STATUS_BAD_NETWORK_NAME;
return NULL;
}