mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
Give an idea what service didn't have the directory.
(This used to be commit 0229f610a8cf9e82618cc6850a431ac89ffc7630)
This commit is contained in:
parent
fef9d6187e
commit
abb45ccfa0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user