diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-06 18:59:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:56 -0500 |
commit | bb357a1617761177475a422008a14a1ac0435eb1 (patch) | |
tree | e051bc9c7103da5dd99f67d54636cb745265320e | |
parent | f450a654714603c28625156c6939d7fad57d370d (diff) | |
download | samba-bb357a1617761177475a422008a14a1ac0435eb1.tar.gz samba-bb357a1617761177475a422008a14a1ac0435eb1.tar.bz2 samba-bb357a1617761177475a422008a14a1ac0435eb1.zip |
r20589: Re-add lost bad_path handling, sorry.
(This used to be commit 244f96388c843fd629478d0069f68550a2006d06)
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 793262f0af..d33940aa64 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -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); |