accidentally deleted /etc/rc.d/init.d/smb!!
I accidentally, ok I didn't know what I was doing, deleted
/etc/rc.d/init.d/smb. Is there any way to get this back without reinstalling RedHat 8? Also, what I was trying to accomplish was to make Samba look for my smb.conf file in /usr/local/bin/samba/lib/smb.conf how would I make it do that? I am a newbie by far it seems... |
>I accidentally, ok I didn't know what I was doing, deleted
>/etc/rc.d/init.d/smb. Is there any way to get this back >without reinstalling RedHat 8? try reinstalling the smb.prm package (man rpm) >Also, what I was trying to accomplish was to make Samba >look for my smb.conf file in /usr/local/bin/samba/lib/smb.conf >how would I make it do that? you can: -) recompile samba with changed path (probably a but complicated if you're new to linux), -) set a symbolic link to the new location of your config file (man ln) -) modify "/etc/rc.d/init.d/smb" and use the "-s <configuration file> parameter (man smbd + man nmbd) -) live with the default (my choice :-) hope it helps |
I figured it out. I had to reinstall the rpm off the RH8 cd. with rpm -U --oldpackage samba...... There were four one for common files, client, swat, and just samba.
It added the smb file back to /etc/rc.d/init.d Then I simply added a link to the /etc/smb.conf file from /etc/samba/smb.conf How would I know for sure which location samba is looking for the smb.conf file in? Thanks for the help, now the JAVA problem.... |
All times are GMT -5. The time now is 02:43 PM. |