diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-24 00:55:05 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-24 00:55:05 +0000 |
commit | 5447f1f4677bd4a3b9da43a835dd8c662ed86bfa (patch) | |
tree | 8e6abe10b0637299e1cbc5b41305292e60024a83 /source3/smbd/reply.c | |
parent | 69058407ef0079bf919c4ffb0b8464a986772536 (diff) | |
download | samba-5447f1f4677bd4a3b9da43a835dd8c662ed86bfa.tar.gz samba-5447f1f4677bd4a3b9da43a835dd8c662ed86bfa.tar.bz2 samba-5447f1f4677bd4a3b9da43a835dd8c662ed86bfa.zip |
More gentest error fixups.
Jeremy.
(This used to be commit 00f71fc8361919b87b62389ada8bd9a73f9f98b5)
Diffstat (limited to 'source3/smbd/reply.c')
-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 ee47485126..26c107e17a 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3005,6 +3005,10 @@ NTSTATUS mkdir_internal(connection_struct *conn, pstring directory) unix_convert(directory,conn,0,&bad_path,&sbuf); + if( strchr_m(directory, ':')) { + return NT_STATUS_NOT_A_DIRECTORY; + } + if (ms_has_wild(directory)) { return NT_STATUS_OBJECT_NAME_INVALID; } |