port latest changes from SAMBA_3_0 tree
[obnox/samba/samba-obnox.git] / 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);