generating tmp file in samba server while saving file from win7 in samba server
...when i save or edit any doc file from windows7 into samba shared file servers directories..i get a tmp file in linux samba server & not getting that doc in server.
-rwxr--r-- 1 michel michel 32K Oct 8 14:30 12B5ADF1.tmp it not properly get sync..how to resolve it. |
Please post the contents of your /etc/samba/smb.conf (towards the bottom) where your shares are set up. That will help us to a good start in troubleshooting.
Code:
cat /etc/samba/smb.conf > ~/samba_configuration |
Quote:
No output....now what |
Was there. File in your home directory? There should have been - this would have the output.
It will be called samba_config |
Command that kasl33 posted copied your smb.conf file to a new file in your home directory called samba_configuration. There will not be any output if the command completed successfully.
I do not understand what you mean by Quote:
|
let me tell you the scenario ...
i configured a fileserver (samba server)in centos. i created user accounts in linux with same password as have user of windows/7 ..Mydocument of window of each user is mapped with file server...ie.target location is changed to file server.in their home dir.which is shared samba dir.....so when ever user save any data inside Mydocument , data will be saved in linux fileserver at same time.since its target location is fileserver as i already mention.....when ever we would add/edit/ any doc data get sync into server. now issue come out is ...when iam saving ms-doc file in mydocument of win7 user.,doc get save in mydocument but iam getting a temp file in linux server...doc file completely not reaching in server.instead of that a tmp file is reaching.which i posted in my 1st post.. so now how to get out of this issue? |
Please post your smb.conf file
|
in server home dir there is users home dir which is shared...and user of window can access their own home dir to save data...
|
Quote:
The content should be in the OP's home directory in a file named samba_configuration. OP: try this command: gedit ~/samba_configuration Then copy and paste it all here please. |
Code:
testparm |
After a bit of googling it could be a windows 7 networking problem and not necessarily with samba.
http://social.technet.microsoft.com/...b-8dabc7a243b4 Quote:
|
thanks all for replying...
posting output of testparm smb.conf Processing section "[michel]" Processing section "[michel]" //user2 Processing section "[michel]" //user3 Processing section "[michel]" '' Processing section "[michel]" '' Processing section "[michel]" '' Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [michel] path = /home/michel valid users = michel,user1,user2,user3... read only = No veto files = /*.msi/*.exe/*.mp3/*.bat/*.com/*.dll/*.lnk/*.asd/*.shb/*.vb/*.wsf/*.wsh/*.pif/*.scr/*.chm/*.hta/*.shs/*.vbs/*.vbe/*.js/*.jse/*.wmv/*.3gp/*.avi/*.mp4/*.ini/*RECYCLER*/ |
Quote:
Code:
cat /etc/samba/smb.conf > ~/samba_configuration cat = a program to display the contents of a file (in this case, /etc/samba/smb.conf) to the screen. > = a command for redirecting the output of a command (the cat command in this case) to another kind of output. So in my code above, I outputted the contents of smb.conf to a file in the users home directory. We could have easily done the same thing with the cp command since the result would have been the same. Now is there something here that I'm missing, or did you not read it right? What happened? |
Nope, your correct.
Your problem could also be a permissions issue since it appears that you have many users accessing a single home directory. |
i did all rnd with permission of all files and dir...
but still iam gettinh tmp file of all those file which get update from old file or a new doc file...i think it is of sync problem... is there is any sync issue arrises in win 7...coz other client have win xp and there is no issue sync issue with win xp... when ever i sync manually in win 7..it gives error " file was deleted on this computer and changed on the server while this computer was offline " |
All times are GMT -5. The time now is 09:30 PM. |