diff options
author | Jeremy Allison <jra@samba.org> | 2011-10-19 14:25:45 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-10-20 00:58:29 +0200 |
commit | f64f91f96f71271186b3e171d24f0d0137620cba (patch) | |
tree | aa0b8fdb29115ba88b4cbd7a567043c1dd7fd3fc /source3 | |
parent | 7b4edc11e3c0eb9b9a8717e28b70cb00e95cf7ec (diff) | |
download | samba-f64f91f96f71271186b3e171d24f0d0137620cba.tar.gz samba-f64f91f96f71271186b3e171d24f0d0137620cba.tar.bz2 samba-f64f91f96f71271186b3e171d24f0d0137620cba.zip |
Fix error return to be NT_STATUS_NOT_A_DIRECTORY.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 7d7e9d44c4..a56dd6bfa1 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2479,9 +2479,9 @@ static NTSTATUS mkdir_internal(connection_struct *conn, } if (!S_ISDIR(smb_dname->st.st_ex_mode)) { - DEBUG(0, ("Directory just '%s' created is not a directory\n", + DEBUG(0, ("Directory '%s' just created is not a directory !\n", smb_fname_str_dbg(smb_dname))); - return NT_STATUS_ACCESS_DENIED; + return NT_STATUS_NOT_A_DIRECTORY; } if (lp_store_dos_attributes(SNUM(conn))) { |