summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-24 03:00:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-24 03:00:14 +0000
commitabb45ccfa02e4bedccaf10b8ae9e8d264163b026 (patch)
treeb20ea10e368e095e15720c4be01d947ec034d3b1 /source3/smbd/service.c
parentfef9d6187ece53ae12670cc56b360e913e08f3bb (diff)
downloadsamba-abb45ccfa02e4bedccaf10b8ae9e8d264163b026.tar.gz
samba-abb45ccfa02e4bedccaf10b8ae9e8d264163b026.tar.bz2
samba-abb45ccfa02e4bedccaf10b8ae9e8d264163b026.zip
Give an idea what service didn't have the directory.
(This used to be commit 0229f610a8cf9e82618cc6850a431ac89ffc7630)
Diffstat (limited to 'source3/smbd/service.c')
-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 e048201c4b..4e6530674b 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -645,7 +645,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
#else
/* the alternative is just to check the directory exists */
if (stat(conn->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {
- DEBUG(0,("%s is not a directory\n", conn->connectpath));
+ DEBUG(0,("'%s' is not a directory, when connecting to [%s]\n", conn->connectpath, lp_servicename(SNUM(conn))));
change_to_root_user();
yield_connection(conn, lp_servicename(SNUM(conn)));
conn_free(conn);