[Samba] Copying paused under ctdb when the slave node is reboot
Hi, Experts I do the copying test with 2-nodes cluster under ctdb mode. A win2k3 client copies a big file to the share through the public ip of the master. During the copying, I reboot the slave node forcely. Then, the copying through the public ip of the master pause for about 10 sec. I wonder the ctdbd disturb the smbd. How the ctdbd communicate withe the smbd. Is the copying disturbed during the ctdbd recover? And how long is the smbd downtime? What is the factor of the downtime? e.g. node number, the stress on the master? -- Best Regards. Yu Liao -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Copying files between 2 samba serv with ACL in mind using winbind database - solution?
Hi The question how to copy files and preserve ACLs appears from time to time but I have not find the right (stable and working) solution so far on this list and on the other Internet sites. So after some thinking I have 'discovered' my own solution. But what is the situation. I have old samba 3.0.24 (debian) on old computer. Now there is new computer with new samba 3.5.6 (debian 6.x). Both are working as domain member servers (in the same domain). The problem is: copy files form old to new server keeping in mind that there are 100 users with their ACLs on the files. I'm using winbindd. There are of course different UID-SID mappings on those servers so the solutions are two (IMHO): 1. Somehow set the new server mappings on the copied files or 2. Transfer the mappings itself from old to new server Ad.1 It is possible using some windows station to copy all the files from one server to another. But it is a bit extra work and time consuming. Ad.2 Use whatever linux copy tools (tar etc) to copy files. Faster but here is the problem I have faced. First I have dumped winbindd_idmap.tdb mapping on oldserver: net idmap dump /var/lib/samba/winbindd_idmap.tdb > idmap_dump.txt copied this file to new server and restored it: net idmap restore /var/lib/samba/winbindd_idmap.tdb < idmap_dump.txt during this restore operation the following errors (warnings?) appeared: ignoring invalid line [] . ignoring invalid line [BB] . Why? What does it mean? Ignore or it is serious? Looking at the dumped file it seems to be ok. So I have tried other solution, just copied the database file winbindd_idmap.tdb from old to new server. After flushing the samba cache net cache flush and restarting winbind the ACLs appeared to be the same on both servers. So after untaring the files from old server it just started to work. But my question: is it safe to do it the way I did it? The fields in databases tends to change so I have no idea if winbindd_idmap.tdb on the samba 3.0 is the same as on the 3.5? Regards Piotr -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Copying of large file is failed
This could also point to a network problem. Check whether your NIC's flow control is set to Auto-negotiation. My experience that it's best to set this to 10/100/1000 half or full duplex depending on the capabilities of your switch. Cheers -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Copying of large file is failed
This could also point to a network problem. Check whether your NIC's flow control is set to Auto-negotiation. My experience that it's best to set this to 10/100/1000 half or full duplex depending on the capabilities of your switch. Cheers -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Copying of large file is failed
On Tue, May 05, 2009 at 08:06:56AM +0300, AnatolyK wrote: > I have a problem when copy large file (>= 1Gb) from Windows XP (SP3) > or Windows Vista Home Edition to FreeBSD 7.1 with samba3 installed: > copying of file is interrupted with error "Network name is no longer > available". All computers are members of one workgroup. I did try > several samba's settings thinking that problem relates to network > browsing but did not solve the problem. > Could you suggest me how to investigate or solve this? What's the hardware platform? Is it possible that the disks are really slow, something like a usb drive? Volker pgpsTeeSr5Ao0.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Copying of large file is failed
Hi All, I have a problem when copy large file (>= 1Gb) from Windows XP (SP3) or Windows Vista Home Edition to FreeBSD 7.1 with samba3 installed: copying of file is interrupted with error "Network name is no longer available". All computers are members of one workgroup. I did try several samba's settings thinking that problem relates to network browsing but did not solve the problem. Could you suggest me how to investigate or solve this? -- Thanks, Anatoly -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] copying machine trust account password from windows to samba
hi folks, I have a small problem with joining samba to an Active Directory domain & would really appreciate the help of some Samba Gurus. I have windows and linux both installed on my workstation. My windows installation is joined to an Active Directory domain and I would like my linux installation to join the same domain with the same identity using Samba. The problem is, I don't have access to domain administrator credentials and so would like to use the same machine trust account password as is used by the windows installation, in Samba too. So, I understand that I need to supply the correct "machine trust account" password to Samba, which I was able to obtain from windows by dumping the LSA secret named "$MACHINE.ACC". The problem is, this password is in a UCS-2 (little-endian) encoding and If I just copy and paste the same into the SECRETS/MACHINE_ACCOUNT/PASSWORD key (in the secrets.tdb file), it does not work (I get some sort of kerberos authentication failed error). I even tried to convert the password to UTF8 encoding and feed the resulting byte string to samba and that ran into some problems too. So my question is, how do I make Samba interpret the UCS-2 encoded machine trust account password correctly? If I can do this, I can make Samba join the domain too, just by having copied the identity and credentials from the windows installation. any helpful suggestions/ comments? thanks -dev -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying (Samba -> WinXP SP2) MATLAB generated .jpg files very slow.
On Tue, Mar 11, 2008 at 12:08:36PM -0400, Paul Griffith wrote: > > Greetings, > > This is a interesting problem. One of our researchers uses MATLAB to > generate jpg files as part of his vision research. When he copies these > files from the file server, it is very slow. I tried 3.0.28a and I see the > same problem as we have with 3.0.28. > > Here are some interesting stats. > > 1) MATLAB generated files: > command: robocopy Y:\23_1 C:\23_1 /e > dirs: 2 > files: 262 > bytes: 12.75MB > time: 3min 15 seconds > > > 2) Same files resaved with IfranView > command: robocopy Y:\23_1b C:\23_1b /e > dirs: 2 > files: 260 > bytes: 22.05MB > time: 19 seconds > > This is only a subset of the files that the user copies. The full directory > consists of 8939 files over 101 directories for a total of 402MB and this > takes 1 Hr,12 minutes and 5 seconds (Samba 3.0.28 -> WinXP SP2) verses 3 > minutes 30 seconds for a WinXP SP2 -> WinXP SP2 copy. > > When I write the files back to the same Samba server the results are about > the same for the MATLAB and IfranView jpg files. > > Any suggestions, since this only happens with MATLAB generated files? Does MATLAB add any stream metadata to the files ? robocopy may be doing something dumb with files with associated streams. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying (Samba -> WinXP SP2) MATLAB generated .jpg files very slow.
Greetings, This is a interesting problem. One of our researchers uses MATLAB to generate jpg files as part of his vision research. When he copies these files from the file server, it is very slow. I tried 3.0.28a and I see the same problem as we have with 3.0.28. Here are some interesting stats. 1) MATLAB generated files: command: robocopy Y:\23_1 C:\23_1 /e dirs: 2 files: 262 bytes: 12.75MB time: 3min 15 seconds 2) Same files resaved with IfranView command: robocopy Y:\23_1b C:\23_1b /e dirs: 2 files: 260 bytes: 22.05MB time: 19 seconds This is only a subset of the files that the user copies. The full directory consists of 8939 files over 101 directories for a total of 402MB and this takes 1 Hr,12 minutes and 5 seconds (Samba 3.0.28 -> WinXP SP2) verses 3 minutes 30 seconds for a WinXP SP2 -> WinXP SP2 copy. When I write the files back to the same Samba server the results are about the same for the MATLAB and IfranView jpg files. Any suggestions, since this only happens with MATLAB generated files? Thanks == /xsys/pkg/samba-3.0.28/sbin/smbd -b Build environment: Built by:[EMAIL PROTECTED] Built on:Tue Dec 11 09:46:16 EST 2007 Built using: gcc Build host: Linux navy 2.6.9-55.0.2.EL.CSE.smp #1 SMP Wed Jul 11 09:50:28 EDT 2007 i686 i686 i386 GNU/Linux SRCDIR: /tmp/xsys.8289.0/samba-3.0.28/source BUILDDIR:/tmp/xsys.8289.0/samba-3.0.28/source Paths: SBINDIR: /xsys/pkg/samba-3.0.28/sbin BINDIR: /xsys/pkg/samba-3.0.28/bin SWATDIR: /xsys/pkg/samba-3.0.28/swat CONFIGFILE: /xconf/samba/smb.conf LOGFILEBASE: /var/log LMHOSTSFILE: /xconf/samba/lmhosts LIBDIR: /xsys/pkg/samba-3.0.28/lib SHLIBEXT: so LOCKDIR: /var/samba/locks PIDDIR: /var/run SMB_PASSWD_FILE: /var/samba/private/smbpasswd PRIVATE_DIR: /var/samba/private [global] workgroup = CSYORKUCA netbios name = PCSERVER netbios aliases = SILVER server string = CS Samba %v Server interfaces = bind interfaces only = Yes passdb backend = pdb_udb username map = /xconf/samba/usermap client NTLMv2 auth = Yes client lanman auth = No client plaintext auth = No log level = 2 syslog = 0 max log size = 0 debug uid = Yes smb ports = 139 deadtime = 15 hostname lookups = Yes printcap name = /xconf/lprng/printcap logon script = default.bat logon path = logon home = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes invalid users = root inherit permissions = Yes hosts allow = print command = /xsys/bin/lpr -b -P%p %s ; rm -f %s lpq command = /xsys/bin/lpq -P%p lprm command = /xsys/bin/lprm -P%p %j use client driver = Yes oplocks = No level2 oplocks = No [netlogon] path = /xconf/samba/netlogon [homes] comment = Home Directories valid users = %S read only = No csc policy = disable [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] copying large number of files from XP to Samba fails
I have a new Sun Fire AMD64 server running Solaris 10 12/06 and Samba 3.0.21b. I have migrated a configuration file from an older RHEL machine running Samba 2.2.x. On this new machine, if one tries to copy a large number of files from a Windows XP client to the server, the copy starts and runs for a few minutes, but then stops. The error message on the XP machine is "Cannot copy [filename]: The specified network name is no longer available." On the Samba side, I ran in interactive mode with debug level 3 and got this at the end of the file: Transaction 196173 of length 228 switch message SMBtrans2 (pid 29278) conn 0x83754b0 call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 call_trans2qfilepathinfo kmw/_K/Kate/Travel/AZ trip1/Steph's pics/AZ 2006 w Steph & Cheryl 060.jpg (fnum = -1) level=1004 call=5 total_data=0 timeout_processing: End of file from client (client has disconnected). setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Closing connections push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 kmw closed file kmw/_K/Kate/Travel/AZ trip1/Steph's pics/AZ 2006 w Steph & Cheryl 061.jpg (numopen=1) error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 iastate (129.186.19.136) closed connection to service voytaslab Yielding connection to voytaslab setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Yielding connection to Server exit (normal exit) When this happens, it appears on the server side that the machine is backed up with disk writes. Can someone tell me how to solve this problem? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying local profiles to domain profiles...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/20/2007 08:29 PM, Eric Knudstrup wrote: > I just set up a Samba 3 PDC, and my users want to use their > local profiles. Unfortunately their XP systems won't allow > them to copy their existing profiles - that option grays out > for their local accounts. Is there another way to accomplish > this? Not quite sure if it is a samba problem. Samba has a tool called 'profiles' that might help you. About profiles, usually, the WinXP would upload the profile if it detect that the server supports it, unless some local policy says to keep the profiles local. Kind regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGAUKCCj65ZxU4gPQRAqwpAKDFxKz5nZVGeSoLC6e4sJlH5Nhj0wCgnY46 stY1qGyaz7NrAAC94w+MpBA= =15Kf -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying local profiles to domain profiles...
I just set up a Samba 3 PDC, and my users want to use their local profiles. Unfortunately their XP systems won't allow them to copy their existing profiles - that option grays out for their local accounts. Is there another way to accomplish this? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] copying a folder removes the 'hidden' attribute
> -Original Message- > From: Jeremy Allison > Sent: Thursday, February 01, 2007 4:29 PM > > On Thu, Feb 01, 2007 at 04:24:48PM -0600, James A. Dinkel wrote: > > I have extended attributes enable in the file system so the 'hidden' and > > other attributes should be saved as an extended attribute. > > > > When connecting to the share from a Windows computer, if I copy a FILE > > then the new file stays hidden, but if I copy a FOLDER then the new > > folder is NOT hidden. > > > > I tried this on a Windows file server and it does preserve the 'hidden' > > attribute, which is what I want. I know this isn't really critical, but > > it's annoying when copying a folder with hidden subfolders. All the > > hidden subfolders are now un-hidden and I have to go through and re-hide > > them. > > > > Is this a bug, or maybe there is something I can do about it? I'm using > > Samba 3.0.23d from the Debian Etch repository. > > Sounds like a bug. Can you log it at bugzilla, but I need the *exact* > steps to reproduce it (including client version etc. etc.). > > Jeremy. Ok, I finally got an account set up and filed the bug here: https://bugzilla.samba.org/show_bug.cgi?id=4385 I hope the bug report is satisfactory :) James -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] copying a folder removes the 'hidden' attribute
On Thu, Feb 01, 2007 at 04:24:48PM -0600, James A. Dinkel wrote: > I have extended attributes enable in the file system so the 'hidden' and > other attributes should be saved as an extended attribute. > > When connecting to the share from a Windows computer, if I copy a FILE > then the new file stays hidden, but if I copy a FOLDER then the new > folder is NOT hidden. > > I tried this on a Windows file server and it does preserve the 'hidden' > attribute, which is what I want. I know this isn't really critical, but > it's annoying when copying a folder with hidden subfolders. All the > hidden subfolders are now un-hidden and I have to go through and re-hide > them. > > Is this a bug, or maybe there is something I can do about it? I'm using > Samba 3.0.23d from the Debian Etch repository. Sounds like a bug. Can you log it at bugzilla, but I need the *exact* steps to reproduce it (including client version etc. etc.). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] copying a folder removes the 'hidden' attribute
I have extended attributes enable in the file system so the 'hidden' and other attributes should be saved as an extended attribute. When connecting to the share from a Windows computer, if I copy a FILE then the new file stays hidden, but if I copy a FOLDER then the new folder is NOT hidden. I tried this on a Windows file server and it does preserve the 'hidden' attribute, which is what I want. I know this isn't really critical, but it's annoying when copying a folder with hidden subfolders. All the hidden subfolders are now un-hidden and I have to go through and re-hide them. Is this a bug, or maybe there is something I can do about it? I'm using Samba 3.0.23d from the Debian Etch repository. James -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying Files from XP to Samba (help needed)
I am also having performance problems writing to a Samba share (see previous post about tcpdump) and I have seen a strange phenomenon: if I start tcpdump on the Samba machine, performance increases 20 times. It would be interesting to know if you also experience the same, just start tcpdump and redirect output to /dev/null while/before copying files. Regards, Daniel Lindgren 2006/10/9, Peter Daum <[EMAIL PROTECTED]>: I am still desperately trying to figure out why I get such a horrible performance trying to copy files from XP to Samba (below is my original post to illustrate the context. Meanwhile, I found a pretty remarkable pattern in the network traces. Generally, the packets send from the XP machine look like this: 01: WriteAndXRequest 60 kBytes (1392 bytes payload) 02: 1460 bytes ...(usual time delta between 2 packets < 0.0001 secs) 42: 1460 bytes < < < < delta: 0.05 - 0.3 secs > > > > 43: last 188 bytes .. WriteAndXResponse from Samba machine, da capo It seems like what is slowing the transfer down so dramatically, is the long gap before the last 188 bytes are sent. I can't see anything reasonable the XP machine could be waiting for - it already got the ack for the last preceding packet. To emphasize again, this is not a general networking problem between the 2 machines; it only (at leas AFAIK) occurs when copying large files from Windows XP to Samba shares (and at that occasion I could reproduce it with all the Samba servers and XP clients that I checked so far) Any help would be greatly appreciated. Regards, Peter Daum > I noted an extremely poor performance when copying big files from > a windows xp client to a samba share. The exact version of samba > does not seem to matter: I tried several different samba servers > with versions between 3.014 and 3.0.23b running on Linux 2.4.32 > and 2.6.17 (machines and network otherwise idle, clients connected > via fast ethernet, servers via Gbit; network performance in both > directions around 95 Mbit/s). I made several tests copying a 1GB > file with Windows 98 and Windows XP clients. Reading the file from > the server takes predictably around 105 seconds (~9.75 MB/s). > > Writing to the server takes only slightly longer on Win98 (130 > seconds, ~8 MB/s) while the same takes approximately 45 minutes > from a XP client (I don't know whether this matters, I noted that > on the XP write test, the directory listing on the server > immediately shows a file with the final size - obviously a sparse > file, repeatedly invoking du shows the gradually increasing actual > size). > > I wrote a little test program that just writes data to a file and > shows the throughput; the transfer rates I get that way are pretty > reasonable, so it is not a general problem but something that only > occurs on specific operations like copying. > > Tracing the network traffic also didn't tell me what the problem > might be: XP uses for copying as well as for other write > operations WriteAndXRequest, the only peculiarity I noticed is the > slightly exotic block size of 61440 bytes per request when copying > (which also doesn't seem to be the problem - Win98 uses the same > block size with WriteRaw) > > Has anybody else made similar experiences? (Since I could see this > issue with differently configured servers/clients, it should not > be just my personal problem. Of course in most settings where the > data usually goes mostly from the server to the client it is not > obvious) > > Any ideas what's going on and what to do about it? > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying Files from XP to Samba (help needed)
I am still desperately trying to figure out why I get such a horrible performance trying to copy files from XP to Samba (below is my original post to illustrate the context. Meanwhile, I found a pretty remarkable pattern in the network traces. Generally, the packets send from the XP machine look like this: 01: WriteAndXRequest 60 kBytes (1392 bytes payload) 02: 1460 bytes ...(usual time delta between 2 packets < 0.0001 secs) 42: 1460 bytes < < < < delta: 0.05 - 0.3 secs > > > > 43: last 188 bytes .. WriteAndXResponse from Samba machine, da capo It seems like what is slowing the transfer down so dramatically, is the long gap before the last 188 bytes are sent. I can't see anything reasonable the XP machine could be waiting for - it already got the ack for the last preceding packet. To emphasize again, this is not a general networking problem between the 2 machines; it only (at leas AFAIK) occurs when copying large files from Windows XP to Samba shares (and at that occasion I could reproduce it with all the Samba servers and XP clients that I checked so far) Any help would be greatly appreciated. Regards, Peter Daum > I noted an extremely poor performance when copying big files from > a windows xp client to a samba share. The exact version of samba > does not seem to matter: I tried several different samba servers > with versions between 3.014 and 3.0.23b running on Linux 2.4.32 > and 2.6.17 (machines and network otherwise idle, clients connected > via fast ethernet, servers via Gbit; network performance in both > directions around 95 Mbit/s). I made several tests copying a 1GB > file with Windows 98 and Windows XP clients. Reading the file from > the server takes predictably around 105 seconds (~9.75 MB/s). > > Writing to the server takes only slightly longer on Win98 (130 > seconds, ~8 MB/s) while the same takes approximately 45 minutes > from a XP client (I don't know whether this matters, I noted that > on the XP write test, the directory listing on the server > immediately shows a file with the final size - obviously a sparse > file, repeatedly invoking du shows the gradually increasing actual > size). > > I wrote a little test program that just writes data to a file and > shows the throughput; the transfer rates I get that way are pretty > reasonable, so it is not a general problem but something that only > occurs on specific operations like copying. > > Tracing the network traffic also didn't tell me what the problem > might be: XP uses for copying as well as for other write > operations WriteAndXRequest, the only peculiarity I noticed is the > slightly exotic block size of 61440 bytes per request when copying > (which also doesn't seem to be the problem - Win98 uses the same > block size with WriteRaw) > > Has anybody else made similar experiences? (Since I could see this > issue with differently configured servers/clients, it should not > be just my personal problem. Of course in most settings where the > data usually goes mostly from the server to the client it is not > obvious) > > Any ideas what's going on and what to do about it? > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying file failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/12/2006 10:08 AM, Benoit Delagarde escreveu: > Hello, > I have a Debian Stable (Sarge) with a samba to share file with windows > client. > > All is working fine but 2 files generates errors when i try to copy it. The > transfer begins, but stops in the middle of the file, and freeze. > > The error message is (French translation): Network name is no more available > > > I do not understand why I cannot copy those files from Samba. All other file > in this folder are downloadable, I can copy it using the Linux command cp, > ect... I also shared bigger file without problems. It is usually related to DNS problems or name resolution problems (WINS), it could also be a network problem, althought it is a little bit rare. > To obtain it I have upload it on an FTP (from the server) and > then download on my windows, and the file come without error. > > > > Does anybody help me? I can't found any valid raison for the problem. > I join the smb.conf. You could check with testparm your smb.conf, also send it attached in the next message, but probably we will need a log with increased loglevel/debuglevel. Kind regards, - -- Felipe Augusto van de Wiel <[EMAIL PROTECTED]> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFCsXvCj65ZxU4gPQRAqppAJkBjTEr8iXkI/dfv6griBxcVcQ/YgCeO0p5 dGPFhxVh0DXdjZwiHVKqoO8= =O+4J -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying file failed
Hello, I have a Debian Stable (Sarge) with a samba to share file with windows client. All is working fine but 2 files generates errors when i try to copy it. The transfer begins, but stops in the middle of the file, and freeze. The error message is (French translation): I do not understand why I cannot copy those files from Samba. All other file in this folder are downloadable, I can copy it using the Linux command cp, ect... I also shared bigger file without problems. To obtain it I have upload it on an FTP (from the server) and then download on my windows, and the file come without error. Does anybody help me? I can't found any valid raison for the problem. I join the smb.conf. Thank _ Important: This e-mail may contain confidential information. If you are not the intended recipient it may be unlawful for you to read, copy, distribute, disclose or otherwise use information contained in it. If this is the case, please contact us immediately by e-mail : Reply to sender. Errors and omissions may occur in the contents of this e-mail. The sender accepts no responsibility for any such errors or omissions, and you are advised to confirm the accuracy of its contents before relying on it for any purpose. To the extent that this e-mail is not an official communication of the Company, the sender is acting neither as an agent, representative nor in any other capacity for or on behalf of the Company. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying Windows 2K & XP Profiles to new Server
Hello, In my effort to make the switchover as smooth as possible, I am thinking that I could copy a user's roaming profile off their workstation to the profile share on the Samba 3.x server, set the permissions and then take the workstation off the old domain, put it on the new domain and then login with the user and just like that, be done with it. Is this going to be problematic or is there something I could be missing that will cause this to backfire on me? -- Regards, Robert Adkins IT Manager/Buyer Impel Industries, inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying user profiles via command line?
Hi, there's special utility, called "profiles" which comes with samba. it changes SIDs withing registry files. that doesn't work with my XP profiles, I still have some occurences left of the old SID. The man page for profiles says that it only works with NT profiles, maybe that's the problem. if You actually copy profiles with windowish tools, probably they also change SID within profiles. Or You mean that the same instance of profile is being used by many of users ? Exactly, *one* mandatory profile for *several* users. Florian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying user profiles via command line?
Hi Ilia, ntuser.dat contains certain SID, so I'm afraid "man"datory profiles won't work for a group of users. it works just fine if you set the same profile path for some/a group of users and copy the profile via the Windows internal tool. :-) there's special utility, called "profiles" which comes with samba. it changes SIDs withing registry files. if You actually copy profiles with windowish tools, probably they also change SID within profiles. Or You mean that the same instance of profile is being used by many of users ? Florian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying user profiles via command line?
Hi Ilia, ntuser.dat contains certain SID, so I'm afraid "man"datory profiles won't work for a group of users. it works just fine if you set the same profile path for some/a group of users and copy the profile via the Windows internal tool. :-) Florian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying user profiles via command line?
Hello, In order to maintain some sort of "group profile" (i.e. one mandatory profile shared between a group of users that have the same profile path), I would like to copy profiles between users. This works fine with ntuser.dat contains certain SID, so I'm afraid "man"datory profiles won't work for a group of users. System/Advanced/User Profiles/Copy To. However, I would like to automate this using a command line tool for Windows or Linux (I use the Samba3 server). Does anyone know what tool I could use? Thanks Florian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying user profiles via command line?
Hello, In order to maintain some sort of "group profile" (i.e. one mandatory profile shared between a group of users that have the same profile path), I would like to copy profiles between users. This works fine with System/Advanced/User Profiles/Copy To. However, I would like to automate this using a command line tool for Windows or Linux (I use the Samba3 server). Does anyone know what tool I could use? Thanks Florian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying printer drivers across many servers
I've been largely able to do this by copying everything in the /var/lib/samba directory, then removing all the tdb's in /var/lib/samba/printing. (/var/lib might be something else depending on your OS/config). You'd do this after installing the samba packages but before joining a domain and starting the service. You'll also need to copy all the printer drivers, which I put in /usr/share/samba/printers, but that would depend on your print$ definition. Doing it this way seems to work for about 95% of the printer drivers we use, YMMV. On Mar 7, 2005, at 5:06 AM, David Landgren wrote: List, I am deploying a number of Samba servers across a WAN. To date I have manually uploaded printer drivers from an XP client to the Samba server. But it's slow, and I systematically upload the same drivers over and over again. I'm not quite sure of the recipe, but I'm sure there must be a way of replicating all the drivers, from a central point, out to the remote servers. Copying the files is simple enough, but how do I make the various .tdb files contain the right records? Has anyone done something like this before? Thanks, David -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- David Schlenk Operating Systems Analyst Bethel University Saint Paul, Minnesota [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying printer drivers across many servers
List, I am deploying a number of Samba servers across a WAN. To date I have manually uploaded printer drivers from an XP client to the Samba server. But it's slow, and I systematically upload the same drivers over and over again. I'm not quite sure of the recipe, but I'm sure there must be a way of replicating all the drivers, from a central point, out to the remote servers. Copying the files is simple enough, but how do I make the various .tdb files contain the right records? Has anyone done something like this before? Thanks, David -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying/migrating profiles
On Saturday 19 February 2005 14:59, Colin E. McDonald wrote: > What is the best way to copy or get the original > user profile without having to manually copy all of the contents of the > original profile? Not sure of any automatic way of doing it, but you can use the windows "profile copier". Once the new "clean" profile has been made: Right click my computer > properties > advanced > user profiles > settings. Select the old account and click copy to.. choose the new user folder in documents and settings (this will warn that there is alreadyy a profile there and it will be cleared > just ok it. The last bit to do is change permission to use (or something very similar) change this to the new username (make sure you put it in the format DOMAIN\user) - this will copy the profile flawlessly to the new user. I think there may be quite a lot of people who would benefit from an automatic way of doing this - This question is asked at least once a month. Anyone have any suggestions on how to implement an automatic solution? Cheers, H pgp10zjbZkwVi.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying/migrating profiles
On Sat, 2005-02-19 at 09:59 -0500, Colin E. McDonald wrote: > Specs: > > RHEL 3 with samba-3.0.7-1.3E.1 > > Server is configured to be a PDC in domain > > > > > > We are in the process of joining standalone Windows 2K Pro and Windows > XP Pro machines to the domain. > > > > Once the computer is joined to the domain we have a new profile under > Documents and Settings. What is the best way to copy or get the original > user profile without having to manually copy all of the contents of the > original profile? Read the documentation in the samba HOWTO about profiles or various publications from Microsoft would be my recommendation as to the best way. Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying/migrating profiles
Specs: RHEL 3 with samba-3.0.7-1.3E.1 Server is configured to be a PDC in domain We are in the process of joining standalone Windows 2K Pro and Windows XP Pro machines to the domain. Once the computer is joined to the domain we have a new profile under Documents and Settings. What is the best way to copy or get the original user profile without having to manually copy all of the contents of the original profile? TIA -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Copying user profiles from standalone workstation to new domain profile
Hi all. I am changing from standalone workstations to domain accounts under a Samba PDC. What is the best practice or suggested method for copying the default standalone user profile to the new profile created after the machine joins the domain? Thanks in advance -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying between physical drives within samba mount - veryslow.
when I move files from /master/drive1 to /master/drive2 the copy process is very slow. why does samba send the whole file across the network and back? is there a way to avoid this? why not rsync from /master/drive1 to /master/drive2? -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- - Original Message - From: "Panos Koutsoyannis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 11, 2004 3:10 PM Subject: [Samba] Copying between physical drives within samba mount - veryslow. I have a situation with a linux box that has several drives mounted under /master say /master/drive1 and /master/drive2 ..etc. I mount /master on my windows machine or os x machine using samba. Here is my config red hat 9 samba 3.0.x system drive = / data drive 1= /master/drive1 data drive 2 = /master/drive2 mounted system on pc under /master so I see on my pc drive1 folder and drive2 folder. Dragging from drive1 to drive2 seems to pass the whole file across the network from drive1 to drive2. If I create folders ... say /master/folder1 and /master/folder2. these folders are not seperate drives. Then movign files between them is lightening fast as expected. Hope someone can help. panos -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Copying between physical drives within samba mount - veryslow.
> -Original Message- > From: panos [mailto:[EMAIL PROTECTED] > Sent: December 11, 2004 4:07 PM > To: 'Mitch (WebCob)'; [EMAIL PROTECTED] > Subject: RE: [Samba] Copying between physical drives within samba mount - > veryslow. > > Thanks for the response. Yeah I saw the same behavior with NFS. It > would be nice to have an rpc.move. > > However, if I use netatalk the does not copy across the wire. I have > not looked into the detail of the protocol. However, it has its own > limitations. > > > Do you know of any movement in this area? Logging in directly is not an > option for our clients. I have looked at netatalk, samba, nfs and > webdav stuff. > > Panos > [Mitch says:] That's an interesting note about netatalk... Apple was often advanced in their ideas and then crippled cause they wanted to own the ball, the field, make the rules, and hire the referee ;-) I am not aware of any movement - if there is a forum or study group for the protocol, someone here or maybe a reference in samba docs might guide you - Samba didn't invent the protocol, and as far as I know doesn't contribute to it - it "just" implements the "standard" (no slight against samba intended!) You could perhaps provide the function through a web interface or other if it's used that often? Or maybe just upgrade your server link to gigabit? m/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Copying between physical drives within samba mount - veryslow.
Thanks for the response. Yeah I saw the same behavior with NFS. It would be nice to have an rpc.move. However, if I use netatalk the does not copy across the wire. I have not looked into the detail of the protocol. However, it has its own limitations. Do you know of any movement in this area? Logging in directly is not an option for our clients. I have looked at netatalk, samba, nfs and webdav stuff. Panos -Original Message- From: Mitch (WebCob) [mailto:[EMAIL PROTECTED] Sent: Saturday, December 11, 2004 3:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Copying between physical drives within samba mount - veryslow. > -Original Message- > From: [EMAIL PROTECTED] [mailto:samba- > [EMAIL PROTECTED] On Behalf Of Panos Koutsoyannis > Sent: December 11, 2004 1:11 PM > To: [EMAIL PROTECTED] > Subject: [Samba] Copying between physical drives within samba mount - > veryslow. > > I have a situation with a linux box that has several drives mounted under > /master > say /master/drive1 and /master/drive2 ..etc. > I mount /master on my windows machine or os x machine using samba. > > when I move files from /master/drive1 to /master/drive2 the copy process > is very slow. > > it seems samba actually sends the file over he network from the linux > machine to the pc on which it is mounted and back to the linux machine. > > This only happens when there are different drives involved. however if i > move files within the same drive it is fast as expected. > [Mitch says:] This is similar to Linux itself - if you were moving within an NFS mount point, you would move... which I believe is commonly implemented as a hardlink to the second location OR a copy if on a different physical location, then an unlink from the old location... Windows / SMB has the same limitation in the protocol - There is no "rpc move" used (or even existing I think?) so it does what it has to do within the protocol - you will of course see much faster throughput by doing these major moves locally on the server box through a shell if that is an option for you. m/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Copying between physical drives within samba mount - veryslow.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:samba- > [EMAIL PROTECTED] On Behalf Of Panos Koutsoyannis > Sent: December 11, 2004 1:11 PM > To: [EMAIL PROTECTED] > Subject: [Samba] Copying between physical drives within samba mount - > veryslow. > > I have a situation with a linux box that has several drives mounted under > /master > say /master/drive1 and /master/drive2 ..etc. > I mount /master on my windows machine or os x machine using samba. > > when I move files from /master/drive1 to /master/drive2 the copy process > is very slow. > > it seems samba actually sends the file over he network from the linux > machine to the pc on which it is mounted and back to the linux machine. > > This only happens when there are different drives involved. however if i > move files within the same drive it is fast as expected. > [Mitch says:] This is similar to Linux itself - if you were moving within an NFS mount point, you would move... which I believe is commonly implemented as a hardlink to the second location OR a copy if on a different physical location, then an unlink from the old location... Windows / SMB has the same limitation in the protocol - There is no "rpc move" used (or even existing I think?) so it does what it has to do within the protocol - you will of course see much faster throughput by doing these major moves locally on the server box through a shell if that is an option for you. m/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying between physical drives within samba mount - very slow.
I have a situation with a linux box that has several drives mounted under /master say /master/drive1 and /master/drive2 ..etc. I mount /master on my windows machine or os x machine using samba. when I move files from /master/drive1 to /master/drive2 the copy process is very slow. it seems samba actually sends the file over he network from the linux machine to the pc on which it is mounted and back to the linux machine. This only happens when there are different drives involved. however if i move files within the same drive it is fast as expected. why does samba send the whole file across the network and back? is there a way to avoid this? Here is my config red hat 9 samba 3.0.x system drive = / data drive 1= /master/drive1 data drive 2 = /master/drive2 mounted system on pc under /master so I see on my pc drive1 folder and drive2 folder. Dragging from drive1 to drive2 seems to pass the whole file across the network from drive1 to drive2. If I create folders ... say /master/folder1 and /master/folder2. these folders are not seperate drives. Then movign files between them is lightening fast as expected. Hope someone can help. panos -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying
>This is probably a permissions issue, but I just can't see a way of >getting round this other than logging in as each user and copying the >home directoris that way. I believe rsync will do what you want. I use it for backing up files from one machine to another. Here's the command i usually use: rsync -avvR --delete --rsh="ssh -c arcfour" /source remote:/remotedir where "source" is the source directory on the machine being copied, "remote" is the remote server name, and "remotedir" is where you want the files to go on the remote server. The "-c arcfour" in the ssh command seems to speed the transfer. On Tuesday 21 September 2004 04:47 am, Karl Wheeler wrote: >Hi, > >First up samba is great, I've been running samba for over three years >now and I've never had any seriuous probs. But now I have come up >against a problem that I can't solve. > >I've recently created a backup server that I want to copy my samba >shares too on a daily basis. ( I already do a tape backup of the main >server every day with no probs, but hey I'm paranoid OK :) > >I have mounted the relevant partitions from the backup server and > tried to copy over the files. This works OK for the '/shared/' > driectories but it won't work with the /home directories. > > >I'm gratefull for any help or comments ( and flaming, probably ) > >Thanx -- Dan Ramaley Digital Media Library Specialist (515) 271-1934 Cowles Library 140, Drake University -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying
Hi, First up samba is great, I've been running samba for over three years now and I've never had any seriuous probs. But now I have come up against a problem that I can't solve. I've recently created a backup server that I want to copy my samba shares too on a daily basis. ( I already do a tape backup of the main server every day with no probs, but hey I'm paranoid OK :) I have mounted the relevant partitions from the backup server and tried to copy over the files. This works OK for the '/shared/' driectories but it won't work with the /home directories. This is probably a permissions issue, but I just can't see a way of getting round this other than logging in as each user and copying the home directoris that way. I'm gratefull for any help or comments ( and flaming, probably ) Thanx -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] copying over an existing file when not owner
SuSE 8.2/Samba 3.0.4-SerNet-SuSE One expects file's owner and date to be preserved when copying a file to an SMB share. But if a file with the same name is already there there are two different ways as to who will ultimately own the new file and what date will be stamped depending upon whether the file belongs to the copier or to someone else. If I try to copy a file to a samba share which already contains an earlier version of the same file, the file will still belong to me and the date will be the date of the source file. But if I copy a file over an existing homonymous file which belongs to someone else, then the file fill still belong to that other user but the date will be the date at the moment of copying. I've noticed that in both cases an overwritten file keeps the same i-Node number (xfs), which is a little unexpected. I'd expect the old file to be deleted and a new one created but perhaps accidentally it's always the same free i-Node which gets assigned to it. Is there a way to correct this behaviour? I mean, if a file with the same name gets overwritten by copying it should belong to the copier and carry its original modification date, not the update time. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying networked files in restartable mode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 YW Law wrote: | Hi Robert, thanks for your reply, but this SMBDownloader is a Windows | executable using presumably Windows API. Does Samba (on non-Windows of | course) offer equivalent functionality? smbget will resume IIRC. It's not built by default though. Get the Samba 3.0.4 source and run 'make bin/smbget' cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA104bIR7qMdg1EfYRAs3pAJ9e2fyYw+Jt6AFxg13+th5zuhBf+ACgwvRS 8rv1cAwV5B/fQn/kFqPQziY= =DCpI -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying networked files in restartable mode
Hi Robert, thanks for your reply, but this SMBDownloader is a Windows executable using presumably Windows API. Does Samba (on non-Windows of course) offer equivalent functionality? RRuegner wrote: YW Law schrieb: Dear fellow Samba users, I have been searching high and low (google, mailing lists, FAQs) for an answer to this question in vain: Does Samba really not support "Copying networked files in restartable mode"? This feature is invoked whenever you type "copy /z " in Windows. Thanks very much, Law you should have a look to this software http://www.roeder.goe.net/~koepi/smbdownloader.html regards -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying networked files in restartable mode
YW Law schrieb: Dear fellow Samba users, I have been searching high and low (google, mailing lists, FAQs) for an answer to this question in vain: Does Samba really not support "Copying networked files in restartable mode"? This feature is invoked whenever you type "copy /z " in Windows. Thanks very much, Law you should have a look to this software http://www.roeder.goe.net/~koepi/smbdownloader.html regards -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying networked files in restartable mode
Dear fellow Samba users, I have been searching high and low (google, mailing lists, FAQs) for an answer to this question in vain: Does Samba really not support "Copying networked files in restartable mode"? This feature is invoked whenever you type "copy /z " in Windows. Thanks very much, Law -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying files and asscoiated ACL's
Hi, I've set up the last release of Samba (3.0.2rc1) in order to join an Active Directory domain. Everything OK, but when it comes to copying files with xcopy /o (preserve ACL's with the W2003 Server xcopy) I get an 'Access Denied' Error. I've seen this is an old issue, and has to do with the SID to UID mappings winbind does. The error I get is: [2004/01/29 18:28:45, 3] smbd/posix_acls.c:unpack_nt_owners(918) unpack_nt_owners: unable to validate owner sid for S-1-5-32-544 Does anybody know something about that? -- Jacinto Trillo Pérez -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] copying from Win to Linux
Thanks, Rashkae. I have ReiserFS installed on two 18GB SCSI 10k drives with RAID 1. I think this should be sufficient. But if there's a performance improvement on the networking end between Samba 2.x and 3.x, I'd like to consider it. And yes, the files will potentially be in the tens of thousands at any given time (it's basically a large-scale email solution). Thanks, Brian -Original Message- From: Rashkae [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 10:51 AM To: Brian Spiegel Subject: Re: [Samba] copying from Win to Linux If there are a large number of these small files (in the thousands), you'll most deffinately want a ReiserFS filesystem. A well tuned FS will make more of a performance difference. I haven't tested JFS or XFS in this scenario, but EXT just can't handle writing a large number of small files in a single directory. On Thu, Jan 15, 2004 at 10:22:41AM -0800, Brian Spiegel wrote: > As a related follow-up to Tarjei's question: > > I too am going to be copying large amounts of files from a Windows 2000/2003 > server to a Linux box running Samba. The files range from 2K to 30K > (sometimes upwards of 50K). The files are being copied basically as fast as > they can be generated (by separate applications) and transferred over the > wire. > > I currently have a Samba 2.2.3a-12.3 (the Debian stable package) installed, > but I'm considering installing 3.0.0 or 3.0.1. I've heard that Samba 3.0 > and above have definite advantages in speed over 2.x.x. > > My question is this: Can anyone discuss the performance difference between > Samba 3 and 2 in quantitative terms or point me to web sources that do? > Specifically in a situation where files (averaging around 30K in size) are > being copied across the network from a Windows 200x machine to a Linux box. > The files, once written, will be read by a single Linux process only. No > Windows server will be accessing the files once they're copied over. > > Any information would be greatly appreciated. I need to make a decision > today. > > Thanks, > Brian > > -Original Message- > From: Tarjei Huse [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 15, 2004 4:14 AM > To: [EMAIL PROTECTED] > Subject: [Samba] copying from Win to Linux > > Hi, I'm about to migrate a lot of files from a windows server to a new, > shiny samba-server. > > I just got a small problem : What is the best way to do this? > > I'e tried rsync, but it croaks on some files with names like "somethign > :some.eml" the same does cp. > > What I'm wondering about, is has anyone else had these problems, and if > so, how did you solve them? Do you have a script for cleaning out > characters like this one? > > Tarjei > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] copying from Win to Linux
As a related follow-up to Tarjei's question: I too am going to be copying large amounts of files from a Windows 2000/2003 server to a Linux box running Samba. The files range from 2K to 30K (sometimes upwards of 50K). The files are being copied basically as fast as they can be generated (by separate applications) and transferred over the wire. I currently have a Samba 2.2.3a-12.3 (the Debian stable package) installed, but I'm considering installing 3.0.0 or 3.0.1. I've heard that Samba 3.0 and above have definite advantages in speed over 2.x.x. My question is this: Can anyone discuss the performance difference between Samba 3 and 2 in quantitative terms or point me to web sources that do? Specifically in a situation where files (averaging around 30K in size) are being copied across the network from a Windows 200x machine to a Linux box. The files, once written, will be read by a single Linux process only. No Windows server will be accessing the files once they're copied over. Any information would be greatly appreciated. I need to make a decision today. Thanks, Brian -Original Message- From: Tarjei Huse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 4:14 AM To: [EMAIL PROTECTED] Subject: [Samba] copying from Win to Linux Hi, I'm about to migrate a lot of files from a windows server to a new, shiny samba-server. I just got a small problem : What is the best way to do this? I'e tried rsync, but it croaks on some files with names like "somethign :some.eml" the same does cp. What I'm wondering about, is has anyone else had these problems, and if so, how did you solve them? Do you have a script for cleaning out characters like this one? Tarjei -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] copying from Win to Linux
Hi, I'm about to migrate a lot of files from a windows server to a new, shiny samba-server. I just got a small problem : What is the best way to do this? I'e tried rsync, but it croaks on some files with names like "somethign :some.eml" the same does cp. What I'm wondering about, is has anyone else had these problems, and if so, how did you solve them? Do you have a script for cleaning out characters like this one? Tarjei -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying from win NTFS to Samba share=corruption??
On Tue, 2003-11-04 at 06:51, Scott Simmons wrote: > I'm copying files from an Compressed NTFS partition to a samba > share. The files seem to copy over correctly but the applications > that use them say they are corrupt. When I uncompress the files > first I don't get corruption. Is this normal behavior?? Compare the MD5 signature of the files at each end, but I don't think you will find the files are different. More likely is things like locking. If the files do appear corrupt, then I would first look into issues such as networking hardware (it can be quite surprising how much damage a cheap HUB or NIC can do). Which version of Samba is this? You should try Samba 3.0.0. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying from win NTFS to Samba share=corruption??
I'm copying files from an Compressed NTFS partition to a samba share. The files seem to copy over correctly but the applications that use them say they are corrupt. When I uncompress the files first I don't get corruption. Is this normal behavior?? -Scott -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying ntconfig.pol
On Wed, 16 Jul 2003, Jamrock wrote: > Hi all, > > Is it possible to create a ntconfig.pol file on a NT 4.0 server and copy it > to a Samba server? Yes. > > If so, are there any guidelines that need to be followed? Refer to the documentation I referred you to. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying ntconfig.pol
Hi all, Is it possible to create a ntconfig.pol file on a NT 4.0 server and copy it to a Samba server? If so, are there any guidelines that need to be followed? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] copying to share from a cdrom
Good day all, and sorry if this one is obvious but I haven't found a solution yet. When my users copy data off of a cdrom in Win2K to a samba share on a Solaris box, the files maintain their read only status (r-xr--r--) despite the create masks in my smb.conf. Is there a way to have these files be copied and have the correct permissions mask applied to it such that they copy files off of a CDROM and can then have them be writeable on the Solaris side without them having to chmod them manually? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying profiles to a new samba server
Thanks I just figured it out. It works well now! Jean-Rene Cormier On Wed, 2003-04-02 at 12:08, John H Terpstra wrote: > On Wed, 2 Apr 2003, Jean-Rene Cormier wrote: > > > Well I had to set up Samba on a new server and everything seem to went > > pretty well for the most part but now when I try to log on the domain it > > gives me an error message saying it couldn't load the profile on the > > server. > > > > What I did was set up new server with pretty much the same > > configuration, then one evening when there was nobody here I copied all > > the profiles and other stuff from the old server to the new one and now > > the profiles don't work. Any ideas? > > Yes. The profiles (in particular the NTUser.DAT file) are keyed to the > domain and user SIDs. Samba-3 will has a tool called 'profiles' that > allows you to change the SIDs to those on the local domain. > > The only way you can solve your problem now is to find out the SID for the > old domain and change the new controller SID to it. You can use smbpasswd > with the -S DOMAIN and -W SID options. > > - John T. > -- > John H Terpstra > Email: [EMAIL PROTECTED] > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying profiles to a new samba server
On Wed, 2 Apr 2003, Jean-Rene Cormier wrote: > Well I had to set up Samba on a new server and everything seem to went > pretty well for the most part but now when I try to log on the domain it > gives me an error message saying it couldn't load the profile on the > server. > > What I did was set up new server with pretty much the same > configuration, then one evening when there was nobody here I copied all > the profiles and other stuff from the old server to the new one and now > the profiles don't work. Any ideas? Yes. The profiles (in particular the NTUser.DAT file) are keyed to the domain and user SIDs. Samba-3 will has a tool called 'profiles' that allows you to change the SIDs to those on the local domain. The only way you can solve your problem now is to find out the SID for the old domain and change the new controller SID to it. You can use smbpasswd with the -S DOMAIN and -W SID options. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying profiles to a new samba server
Well I had to set up Samba on a new server and everything seem to went pretty well for the most part but now when I try to log on the domain it gives me an error message saying it couldn't load the profile on the server. What I did was set up new server with pretty much the same configuration, then one evening when there was nobody here I copied all the profiles and other stuff from the old server to the new one and now the profiles don't work. Any ideas? Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Copying Files
Hi TJ Davis, you wrote: > For some reason when I try to copy some files from a windows machine > to a samba share on a particular Linux server it creates the filename > on the share and then gives me the following error: > > This folder already contains a file named "foo.exe" > > Would you like to replace the existing file which is 0 bytes > with this one which is 13.4mb very old bug - try updating to the last stable version 2.2.7a. der tom -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying Files
For some reason when I try to copy some files from a windows machine to a samba share on a particular Linux server it creates the filename on the share and then gives me the following error: This folder already contains a file named "foo.exe" Would you like to replace the existing file which is 0 bytes with this one which is 13.4mb It does not do this with all files. I copied two different iso files that are approximately 650mb fine several times but I have tried with exe files and some work while some do not. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Copying Files
For some reason when I try to copy some files from a windows machine to a samba share on a particular Linux server it creates the filename on the share and then gives me the following error: This folder already contains a file named "foo.exe" Would you like to replace the existing file which is 0 bytes with this one which is 13.4mb It does not do this with all files. I copied two different iso files that are approximately 650mb fine several times but I have tried with exe files and some work while some do not. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] copying files to windows - permissions, time
I use Samba to access a Windows 98 box from linux. When I copy a file from linux to win98, there are two annoying problems: - it complains it cannot set permissions on the new file on windows - it should logically ignore all such errors (the FAT volumes mounted in fstab can have a "quiet" option for this, but it does not work for smbfs volumes). - the new file gets current date and time, instead of the original file's date and time. I've searched through manuals but found nothing about how to fix these annoyances. Please help! -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup "Free price comparison tool gives you the best prices and cash back!" http://www.bestbuyfinder.com/download.htm -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba