Click to See Complete Forum and Search --> : Automatically connecting to windows shares


windoze killa
07-17-2001, 06:27 PM
Hi all,
I have just installed RH 7.1 on a few machines at work and need to have a couple of windows NT4 directories on the server available at boot time. Being a newbie I would like to know what the script lines would be and where I would put them. Any help would be greatly apreciated.

Jason

Keyser Soze
07-18-2001, 01:51 AM
You should read the samba NHF or do a search for samba howto's, there is a really streamlined one at linuxjunior.com (shameless plug). ;)

windoze killa
07-19-2001, 09:42 PM
Well. Now I think samba is the least of my problems. One reason I have not been able to getting anything to happen is I can not run any scripts of commands unless I am in the directory that they are in. It appears that the path statement or what ever it is called in linux has vanished since I installed RH7.1. What can I do? Please help this dumb bum here.

thedexman
07-20-2001, 03:40 AM
see what happens if you type

echo $PATH

at a command prompt

Bokkenka
07-22-2001, 04:55 PM
<doh!>

windoze killa
07-29-2001, 11:50 PM
Thanks guys. I will give that a try as soon as I get a chance.

But now another problem. All these samba helps docs say to add lines to inetd.conf to start samba automagically at startup. I don't have one. It does not exist anywhere on the drive. How come I never had these problems in RH 7.0. Help again please.

scanez
07-30-2001, 02:08 AM
RH 7.1 doesn't use inetd.conf, it uses xinetd.conf. Follow the samba guides but use xinetd.conf whenever the guide uses inetd.conf.

SC

windoze killa
08-01-2001, 06:20 PM
One last question. I HOPE. Once I get samba running, which it seems to be doing, where do I put the smbmount commands to automagically mount the windows drives.

jumpedintothefire
08-01-2001, 06:47 PM
you could add them to rc.local...

windoze killa
08-02-2001, 12:54 AM
Thanks guys. It works wonders. As root. But.... when I logon as a user the gnome desktop starts and shutsdown and restarts over and over again. I can open a terminal window and type ps -A and I see a process called gmc or something like that that has a new PID each time I type it. HELP please. :confused: