Author: vlendec Date: 2005-08-23 11:46:52 +0000 (Tue, 23 Aug 2005) New Revision: 9515
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9515 Log: This one is really ERRbaddirectory, so it can be done with the table. Volker Modified: trunk/source/smbd/open.c Changeset: Modified: trunk/source/smbd/open.c =================================================================== --- trunk/source/smbd/open.c 2005-08-23 11:40:26 UTC (rev 9514) +++ trunk/source/smbd/open.c 2005-08-23 11:46:52 UTC (rev 9515) @@ -1839,9 +1839,7 @@ if (dir_existed && !S_ISDIR(psbuf->st_mode)) { DEBUG(0,("open_directory: %s is not a directory !\n", fname )); - /* NB. Is the DOS error ERRbadpath or ERRbaddirectory ? */ - set_saved_error_triple(ERRDOS, ERRbadpath, - NT_STATUS_NOT_A_DIRECTORY); + set_saved_ntstatus(NT_STATUS_NOT_A_DIRECTORY); return NULL; }
