Clarify a debug log a little. The path might not exist, so say so.
authorRichard Sharpe <sharpe@samba.org>
Mon, 21 Jul 2003 20:20:09 +0000 (20:20 +0000)
committerRichard Sharpe <sharpe@samba.org>
Mon, 21 Jul 2003 20:20:09 +0000 (20:20 +0000)
(This used to be commit 8409cf3e470df79f219f9a21c0cb780e9257186c)

source3/smbd/service.c

index 18e0887071fb4096d2f9c1134488fa33388fcb0a..c2855487a553a563965e60c4d3f899282537b713 100644 (file)
@@ -661,7 +661,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, when connecting to [%s]\n", conn->connectpath, lp_servicename(SNUM(conn))));
+               DEBUG(0,("'%s' does not exist or 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);