Displaying 20 results from an estimated 32 matches for "rename_intern".
Did you mean:
  rename_internal
  
2004 Mar 24
0
short preserve case
...[2004/03/24 15:51:52, 3] smbd/reply.c:reply_mv(3723)
  reply_mv : \New Folder -> \CACA
[2004/03/24 15:51:52, 3] lib/util.c:unix_clean_name(580)
  unix_clean_name [/New Folder]
[2004/03/24 15:51:52, 3] lib/util.c:unix_clean_name(580)
  unix_clean_name [/CACA]
[2004/03/24 15:51:52, 3] smbd/reply.c:rename_internals(3515)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case
preserve = 0, directory = ./New Folder, newname = ./caca,
newname_last_component = caca, is_8_3 = 0
[2004/03/24 15:51:52, 3] smbd/reply.c:rename_internals(3609)
  rename_internals: succeeded doing rename on ./New Folder...
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...sharing(conn,fname,True)) {
+		DEBUG(4, ("can_rename: sharing violation\n"));
 		return NT_STATUS_SHARING_VIOLATION;
+        }
 
+	DEBUG(4, ("can_rename: returning OK\n"));
 	return NT_STATUS_OK;
 }
 
@@ -3651,9 +3658,16 @@
 
 	*directory = *mask = 0;
 
+        DEBUG(3, ("rename_internals: entering\n"
+                  "  name == %s\n"
+                  "  newname == %s\n",
+                  name, newname));
+
 	rc = unix_convert(name,conn,0,&bad_path1,&sbuf1);
 	unix_convert(newname,conn,newname_last_component,&bad_path2,&sbuf2);
 
+...
2011 Jan 20
1
Cannot rename directory - Samba acting two different ways on identical systems
...n anyone help me begin troubleshooting this? 
I'd really like for smb to be completely reliable...
Here is copy of the log.smbd @ log level 3 - I have excerpted the section regarding renaming the directory:
------
WHEN RENAME FAILS (Mac 2):
------
[2011/01/19 19:56:32,  3] smbd/reply.c:5949(rename_internals)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory = data/FOLDERR, newname = data/FOLDER, last_component_dest = FOLDER
[2011/01/19 19:56:32,  3] smbd/vfs.c:865(check_reduced_name)
  reduce_name [data/FOLDERR] [/mnt/store]
[2011/01/19 19:56:32,  3] smbd...
2004 Jun 17
0
Possible bug with "short preserve case = no"
...nix_convert called on file "ABCDEF.TXT"
[2004/06/17 11:37:40, 5] smbd/filename.c:unix_convert(177)
  unix_convert begin: name = abcdef.txt, dirpath = , start = abcdef.txt
[2004/06/17 11:37:40, 5] smbd/filename.c:unix_convert(312)
  New file abcdef.txt
[2004/06/17 11:37:40, 3] smbd/reply.c:rename_internals(3693)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case 
preserve =
 0, directory = ./Neu Textdatei.txt, newname = ./abcdef.txt, 
last_component_dest
 = abcdef.txt, is_8_3 = 0
[2004/06/17 11:37:40, 3] smbd/process.c:switch_message(685)
  switch message SMBmv (pid 732)
[2004/0...
2000 Mar 22
0
Not being digested, now . . . the question!
...CAS EXCELDOC\GATEWAY\gtepub98.xlw
[2000/03/22 15:00:30, 3] lib/util.c:unix_clean_name(608)
  unix_clean_name [/MONICAS EXCELDOC/GATEWAY/EC357000]
[2000/03/22 15:00:30, 3] lib/util.c:unix_clean_name(608)
  unix_clean_name [/MONICAS EXCELDOC/GATEWAY/gtepub98.xlw]
[2000/03/22 15:00:30, 3] smbd/reply.c:rename_internals(3586)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory
 = monicas exceldoc/gateway/EC357000, newname = monicas exceldoc/gateway/gtepub98.xlw, newnam
e_last_component = gtepub98.xlw, is_8_3 = 1
[2000/03/22 15:00:30, 3] smbd/reply.c:rename_internals(364...
2004 Feb 25
0
Read-Only file attributes not being preserved.
...lyTest.txt, dirpath = clifford/profile/My
Documents/SMBTEST, start = ReadOnlyTest.txt
[2004/02/24 10:55:38, 5] smbd/filename.c:unix_convert(314)
  New file ReadOnlyTest.txt
[2004/02/24 10:55:38, 5] smbd/mangle_hash.c:is_8_3(368)
  Checking prf305.tmp for 8.3
[2004/02/24 10:55:38, 3] smbd/reply.c:rename_internals(3948)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case
preserve = 1, directory = clifford/profile/My
Documents/SMBTEST/prf305.tmp, newname = clifford/profile/My
Documents/SMBTEST/ReadOnlyTest.txt, newname_last_component =
ReadOnlyTest.txt, mangle_is_8_3 = 1
[2004/02/24 10:5...
2002 Feb 21
2
Printer installation with imprints package
Hi,
I have a samba 2.2.2 on HP-UX 11, serving a few printers. When I install
a new driver via win2000' printer properties dialogue it works fine.
When I try to do the same from unix with the imprints package, ist
screwed. The driver files get uploaded, but they don't register as an
installed driver, with rpcclient 'enumdrivers' I don't 'see' them.
When I set the
2004 Nov 07
0
3.0.8pre2 and convert_string
Hi,
anybody knows, what the last entry in this log mean?:
[2004/11/07 16:51:50, 3] smbd/reply.c:rename_internals(3777)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve =
 1, directory = ./Neu Textdatei.txt, newname = ./???.txt, last_component_dest =
???.txt, is_8_3 = 0
[2004/11/07 16:51:50, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(./Neu Textdatei.txt) returning 0777
[2004/...
2002 Sep 11
2
rename not working while all other things work?
Hi folks,
I've got a serious problem with samba since I upgrade an stone-age caldera-box with a 2.0.x-samba to redhat-7.2 with 2.2.1a-samba.
I can create, delete directories and files without any problems. But renaming them (i.e. by creating a new folder which has new folder as default) does not work.
I always get an error, that the file does not exist. I am trying from a win2k-professional
2009 Sep 10
1
samba w/o openvpn: OK - else strange issues
...1:50:32,  3] smbd/process.c:switch_message(1378)
 switch message SMBmv (pid 13672) conn 0x7f17e59acfa0
[2009/09/10 01:50:32,  3] smbd/reply.c:reply_mv(6104)
 reply_mv : piazza_doc/09-07-03.Business_Plan/Neuer Ordner ->
piazza_doc/09-07-03.Business_Plan/test
[2009/09/10 01:50:32,  3] smbd/reply.c:rename_internals(5832)
 rename_internals: case_sensitive = 0, case_preserve = 1, short case
preserve = 1, directory = piazza_doc/09-07-03.Business_Plan/Neuer
Ordner, newname = piazza_doc/09-07-03.Business_Plan/test,
last_component_dest = test, is_8_3 = 0
[2009/09/10 01:50:32,  3] smbd/reply.c:rename_internals_fs...
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...he function 'rename', (in the case when the destination file isn't opened), boiled down to calling the function 'MoveFileExW' with the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the volumes.
The current implementation of the function 'rename' (in 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This function is fast and atomic, so in a sense, it's an improvement over the previously used 'MoveFileExW'. However, 'SetFileInformationByHandle' doesn't work when the source and destination are located on the...
2003 Aug 08
1
Samba 3b3, cups117 and point-n-click blues. Looks like Samba bug? HELP! part 2
...error.  It
gives the errors AFTER it copies all the files to the
server...
Here's the log.spleen (my win2k is spleen):
 unix_clean_name [W32X86/PSCRIPT.NTF]
[2003/08/08 16:46:05, 3]
lib/util.c:unix_clean_name(580)
  unix_clean_name [W32X86/3/PSCRIPT.NTF]
[2003/08/08 16:46:05, 3]
smbd/reply.c:rename_internals(3196)
  rename_internals: case_sensitive = 0, case_preserve
= 1, short case preserve = 1, directory =
W32X86/PSCRIPT.NTF, newname = W32X86/3/PSCRIPT.NTF,
newname_last_component = PSCRIPT.NTF, is_8_3 = 0
[2003/08/08 16:46:05, 3]
lib/util.c:unix_clean_name(580)
  unix_clean_name [W32X86/PSCRIPT.NT...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...rename', (in the case when the destination
> file isn't opened), boiled down to calling the function 'MoveFileExW' with
> the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the
> volumes.
> The current implementation of the function ‘rename’ (in
> 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This
> function is fast and atomic, so in a sense, it's an improvement over the
> previously used 'MoveFileExW'. However, 'SetFileInformationByHandle'
> doesn't work when the source and destination are...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
..., the function 'rename', (in the case when the destination file isn't opened), boiled down to calling the function 'MoveFileExW' with the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the volumes.
> The current implementation of the function ‘rename’ (in 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This function is fast and atomic, so in a sense, it's an improvement over the previously used 'MoveFileExW'. However, 'SetFileInformationByHandle' doesn't work when the source and destination are located on the...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...e function 'rename', (in the case when the destination file isn't opened), boiled down to calling the function 'MoveFileExW' with the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the volumes.
>> The current implementation of the function ‘rename’ (in 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This function is fast and atomic, so in a sense, it's an improvement over the previously used 'MoveFileExW'. However, 'SetFileInformationByHandle' doesn't work when the source and destination are located on the...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...15079, the function 'rename', (in the case when the destination file isn't opened), boiled down to calling the function 'MoveFileExW' with the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the volumes.
The current implementation of the function ‘rename’ (in 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This function is fast and atomic, so in a sense, it's an improvement over the previously used 'MoveFileExW'. However, 'SetFileInformationByHandle' doesn't work when the source and destination are located on the...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...15079, the function 'rename', (in the case when the destination file isn't opened), boiled down to calling the function 'MoveFileExW' with the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the volumes.
The current implementation of the function ‘rename’ (in 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This function is fast and atomic, so in a sense, it's an improvement over the previously used 'MoveFileExW'. However, 'SetFileInformationByHandle' doesn't work when the source and destination are located on the...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...e', (in the case when the destination
> file isn't opened), boiled down to calling the function 'MoveFileExW' with
> the MOVEFILE_COPY_ALLOWED flag set, allowing renaming files across the
> volumes.
>
> The current implementation of the function ‘rename’ (in
> 'rename_internal'), essentially calls 'SetFileInformationByHandle'. This
> function is fast and atomic, so in a sense, it's an improvement over the
> previously used 'MoveFileExW'. However, 'SetFileInformationByHandle'
> doesn't work when the source and destination are...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...;
 		/* We're only going to fail here if it's access denied, as that's the
 		   only error we care about for "can we delete this ?" questions. */
 		if (!NT_STATUS_IS_OK(status) && (NT_STATUS_EQUAL(status,NT_STATUS_ACCESS_DENIED) ||
@@ -1888,8 +1888,14 @@
 
 	status = rename_internals(conn, fsp->fsp_name,
 				  new_name, 0, replace_if_exists, path_contains_wcard);
-	if (!NT_STATUS_IS_OK(status))
+
+	if (!NT_STATUS_IS_OK(status)) {
+		if (open_was_deferred(SVAL(inbuf,smb_mid))) {
+			/* We have re-scheduled this call. */
+			return -1;
+		}
 		return ERROR_NT(status);
+	}...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...;
 		/* We're only going to fail here if it's access denied, as that's the
 		   only error we care about for "can we delete this ?" questions. */
 		if (!NT_STATUS_IS_OK(status) && (NT_STATUS_EQUAL(status,NT_STATUS_ACCESS_DENIED) ||
@@ -1888,8 +1888,14 @@
 
 	status = rename_internals(conn, fsp->fsp_name,
 				  new_name, 0, replace_if_exists, path_contains_wcard);
-	if (!NT_STATUS_IS_OK(status))
+
+	if (!NT_STATUS_IS_OK(status)) {
+		if (open_was_deferred(SVAL(inbuf,smb_mid))) {
+			/* We have re-scheduled this call. */
+			return -1;
+		}
 		return ERROR_NT(status);
+	}...