1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r20589: Re-add lost bad_path handling, sorry.

This commit is contained in:
Volker Lendecke 2007-01-06 18:59:02 +00:00 committed by Gerald (Jerry) Carter
parent 5373897ef5
commit 244f96388c

View File

@ -3790,6 +3790,10 @@ int reply_mkdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size,
RESOLVE_DFSPATH(directory, conn, inbuf, outbuf);
unix_convert(directory,conn,0,&bad_path,&sbuf);
if (bad_path) {
END_PROFILE(SMBmkdir);
return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
}
status = create_directory(conn, directory);