David Nickel
2003-Apr-16 14:41 UTC
[Samba] Files Show in Windows but not on the Red Hat server
*I just recently migrated our web server to Red Hat 8.0 running Samba 2.2.7 from FreeBSD 4.2 running Samba 2.2.3a. In windows, a user copy or moves files to there home directory on the server running samba. The file seems to copy or move fine (It is visible when accessing the share from explorer), but if I telnet to the server the file is not in the user's home directory. I have tailed the samba and messages log and there are no errors during the transfer. They can close out their explorer window and reconnect to there share and the file is still visible. Any information would be much appreciated. Thanks David
John Broadhead
2003-Apr-16 22:28 UTC
[Samba] Re: Files Show in Windows but not on the Red Hat server
"David Nickel" <dnickel@aug.edu> wrote in message news:005401c30426$3704b6b0$b501e086@csvdln...> *I just recently migrated our web server to Red Hat 8.0 running Samba2.2.7> from FreeBSD 4.2 running Samba 2.2.3a. > > In windows, a user copy or moves files to there home directory on theserver> running samba. The file seems to copy or move fine (It is visible when > accessing the share from explorer), but if I telnet to the server the file > is not in the user's home directory. I have tailed the samba and messages > log and there are no errors during the transfer. They can close out their > explorer window and reconnect to there share and the file is stillvisible.> Any information would be much appreciated.Because the files aren't disappearing when disconnecting from the server, it is logical to assume that they are being stored on the Redhat server somewhere, just not where you are expecting them to be. My guess is that either some other directory is being connected as your home directory, or that you are saving the file unknowingly to the Windows computer. I would suggest to create a uniquely named file in someone's home directory from inside of Windows. Then telnet into your redhat server and as root, type: find / -name uniquename Where uniquename is the name of the file you created. If the file is on the server at all, it should print out the file's full path and name. Remember that file names are case sensitive under Linux and that this command might take a few minutes to complete. Please let me know if this works. Thanks, -John
Coreix Systems - Unix - Linux Development & Internetworking Engineers
2003-Apr-17 06:36 UTC
[Samba] Re: Files Show in Windows but not on the Red Hat server
Do you su - to root when you telnet to the server.? Agree with last comment, make a unique_name_file then use "find" to locate it . Check your smb.conf file to make sure you haven't re-mapped the homes, some ware else. Why did you, move from FreeBSD to RedHat Linux.????? But, i would also get a ssh client like SecureCRT for your Windows Environment, as Telnet is a pain in the butt if your using it daily... And as i am sure your aware "Pretty dam Insecure"... Make sure you configure iptables to deny telnet connections from outside you local LAN... Regards, Craig R. Marshall B.E (Hons), M.Eng.Sc., CCNA Senior Software, IP Telecommunications & Terrestrial Systems Engineer. Coreix Systems Australia mailto:craigrm@coreixsystems.com.au http://www.coreixsystems.com ================================================================================================Disclaimer: No guarantee is made that this email is free of computer viruses or other defects. We suggest that any attachments be scanned using appropriate virus detection software before use. We will accept no liability for any loss or damage, which may result directly or indirectly from opening or using any such attachment. This e-mail is confidential. If you received this in error, please notify the author by replying to this e-mail or advise us by telephone on (+618) 9490 6698. Privacy Policy: Coreix Systems is committed to protecting your privacy. If at any time you choose not to receive information from us, or you wish to amend your personal information, please notify Coreix Systems directly on (+618) 9490 6698, email mailto:privacy@coreixsystems.com.au or by post to: Coreix Systems : PO Box 252, Maddington, Perth - Western Australia, AUSTRALIA 6989. Thank you. ================================================================================================ {-----Original Message----- {From: samba-bounces+lists=coreixsystems.com.au@lists.samba.org {[mailto:samba-bounces+lists=coreixsystems.com.au@lists.samba.org]On {Behalf Of John Broadhead {Sent: Thursday, 17 April 2003 6:29 AM {To: samba@lists.samba.org {Subject: [Samba] Re: Files Show in Windows but not on the Red Hat server { { {"David Nickel" <dnickel@aug.edu> wrote in message {news:005401c30426$3704b6b0$b501e086@csvdln... {> *I just recently migrated our web server to Red Hat 8.0 running Samba {2.2.7 {> from FreeBSD 4.2 running Samba 2.2.3a. {> {> In windows, a user copy or moves files to there home directory on the {server {> running samba. The file seems to copy or move fine (It is visible when {> accessing the share from explorer), but if I telnet to the server the file {> is not in the user's home directory. I have tailed the samba and messages {> log and there are no errors during the transfer. They can close out their {> explorer window and reconnect to there share and the file is still {visible. {> Any information would be much appreciated. { { {Because the files aren't disappearing when disconnecting from the server, it {is logical to assume that they are being stored on the Redhat server {somewhere, just not where you are expecting them to be. My guess is that {either some other directory is being connected as your home directory, or {that you are saving the file unknowingly to the Windows computer. { {I would suggest to create a uniquely named file in someone's home directory {from inside of Windows. Then telnet into your redhat server and as root, {type: { {find / -name uniquename { {Where uniquename is the name of the file you created. If the file is on the {server at all, it should print out the file's full path and name. Remember {that file names are case sensitive under Linux and that this command might {take a few minutes to complete. Please let me know if this works. { {Thanks, {-John { { { {-- {To unsubscribe from this list go to the following URL and read the {instructions: http://lists.samba.org/mailman/listinfo/samba { {