Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Up SAMBA 1

Status
Not open for further replies.

Tezdread

Technical User
Oct 23, 2000
468
GB
I've been trying to get my SuSE system om my Windows domain so that I can share the drive. I've read through the tutorial on suse.com ( and it says

&quot;First the package samba from series n should be installed. By setting the variable <START_SMB> to the value yes in the file /etc/rc.config, the SMB services are started when the computer is booted.&quot;

The problem is when I opened the rc.config file with KEdit there was no variable <START_SMB> to set to yes?

This is what my rc.config file looks like

#
# /etc/rc.config
#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Werner Fink <werner@suse.de>, 1996
# Burchard Steinbild <feedback@suse.de>, 1996
#
# Configuration database for shell scripts in /etc/init.d, /sbin/SuSEconfig
# and /etc/cron.daily/aaa_base*
#
# Please edit this file and execute /sbin/SuSEconfig to configure everything.
#



#
# Attention! This variable PATH is NOT setting the PATH for user or root
# shells. It is only used internally for /etc/init.d/*, SuSEconfig and
# cron.daily. Please do NOT change PATH here.
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin

##
## Formatting the boot script messages, see /etc/rc.status.
## Source /etc/rc.status if rc_done isn't defined
##
test &quot;$rc_done&quot;= = = -a -e /etc/rc.status && . /etc/rc.status

I tried adding <START_SMB> at the end but this doesn't seem to have made a difference.

The other info says

&quot;The main configuration file of Samba is /etc/smb.conf.&quot; but this file doesn't exist?

If anyone knows of a better tutorial they can point me to or can advise, it would be much appriciated. Tezdread
&quot;With every solution comes a new problem&quot;
 
Which command? updatedb or locate?

Yes, you enter them into the shell.


ChrisP
 
neither of these commands could be found? Tezdread
&quot;With every solution comes a new problem&quot;
 
Your missing a lot of common packages on your system. Those commands are part of the slocate package. If you want to use them, find an RPM package of slocate.

Description :
&quot;Slocate is a security-enhanced version of locate. Just like locate,
slocate searches through a central database (which is updated nightly)
for files that match a given pattern. Slocate allows you to quickly
find files anywhere on your system.&quot;


You can always just use the find command instead. Its a lot slower buy it will work...

find / -name samba -print

...or...

find / -name smb -print


Try the above commands to see where (if) Samba is installed.

ChrisP
 
I used the find comman, this worked but I couldn't locate the smb file at all.

I'm gonna leave it for now and get the SuSE box set next week, this has 7 CDs plus manual. This should resolve most of the issues (I hope)

Thanks for all your help Chris, I've learned a lot already. Tezdread
&quot;With every solution comes a new problem&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top