LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sharing folders betwen windows and linux (http://www.linuxquestions.org/questions/linux-networking-3/sharing-folders-betwen-windows-and-linux-442669/)

ashley_31 05-08-2006 02:28 AM

sharing folders betwen windows and linux
 
hey friends..
I am using red hat linux and i am sharing some folders between this and a windows server using Samba. But the problem i am facing is that after some time i.e after about a day, when i try accesing linux folders from windows server,it says.."access denied" and then i have to reset the samba settings on linux.
Can anyone tell me as to why i need to reset the samba settings after some time??
Thanks..

zulfilee 05-08-2006 02:34 AM

What settings do you reset in linux?

By reset do you mean you restart samba service?
If this is the issue then samba is not enabled by default to run on startup.You can configure that using "ntsysv" command.

ashley_31 05-08-2006 05:04 AM

by resetting,,i mean that i need to go to samba settings and press O.K for those settings.
Once i do that,only then can i acces linux folders from windows server.

zulfilee 05-08-2006 05:27 AM

:confused:

You mean the gui? or SWAT ?
Can you check this out

When 'Access denied' is displayed in windows do this.
Open a console and try
service smb status

See if Sama is really running or it has stopped.
It it is not running then u can start it default for that runlevel.

ashley_31 05-08-2006 05:56 AM

thank u so much for ur time 2day..
now I'll check the status tomorrow morning bacause after about a day it displays that message.
And then i'll let u know. Hope u'll be there tomorrow.

ashley_31 05-09-2006 03:14 AM

thank u zulfilee.... i was able to solve my problem using "ntsysv"..
thanks a lot..


All times are GMT -5. The time now is 07:32 PM.