diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-24 00:54:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-24 00:54:43 +0000 |
commit | fb11e4a874593eb8426150322dfc0e7181e7b949 (patch) | |
tree | ce6ad28a260765fd227dfbe172bf864e052f7858 /source3/smbd/reply.c | |
parent | ad69d4db0a9852c97744602da924d3e1a4611601 (diff) | |
download | samba-fb11e4a874593eb8426150322dfc0e7181e7b949.tar.gz samba-fb11e4a874593eb8426150322dfc0e7181e7b949.tar.bz2 samba-fb11e4a874593eb8426150322dfc0e7181e7b949.zip |
More gentest error fixups.
Jeremy.
(This used to be commit f353cafa9d9e6142b4aec45cfbc567dc4ab20d7e)
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; } |