General discussion

Locked

Samba installation with RH 6.0

By jes ·
I need to install Samba on our RH 6.0 box, and I'm a novice on Linux. What's the best editor to use..? What would a properly configured Samba.conf file look like..? I need to integrate Win95/98, Win-NT, and Mac O/S 8.X into this Intranet. This box isused with IP Masquerade to keep the private network connected.

This conversation is currently closed to new comments.

21 total posts (Page 1 of 3)   01 | 02 | 03   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Samba installation with RH 6.0

by forhire In reply to Samba installation with R ...

For Samba, there's a web-based application called SWAT that makes basic setup easy. You install it and point your browser to http://localhost:901.

Alternately, gtksamba is a good samba setup program for X.

Collapse -

Samba installation with RH 6.0

by jes In reply to Samba installation with R ...

The question was auto-closed by TechRepublic

Collapse -

Samba installation with RH 6.0

by mihai In reply to Samba installation with R ...

First, use the GnoRPM utility to add the Samba package to the system. The GnoRPM is a graphical tool that you can find under System in Gnome desktop panel. You insert the RedHat 6 CD, you type in a terminal screen the command mount /dev/cdrom. In GnoRPM change the search path to /mnt/cdrom and select the desired RPM package to install.
Then you have to configure the Samba service. You may take a look at some samba.conf files but it is easier to configure it with a web tool. So, use the SWAT tool that you can find at http://www.samba.org, but better use a tool which can be used to configure almost all services. The tool is called Webmin, you can find it at http://www.webmin.com/webmin/ with full documentation.The tool is very simply to install, it will take 5 minutes. It will run on the http server (Apache) on port 10000 by default. Then you start the browser and open the http://localhost:10000 address. The tool will let you to configure the server from the web browser, from any location you like. You can

Collapse -

Samba installation with RH 6.0

by jes In reply to Samba installation with R ...

The question was auto-closed by TechRepublic

Collapse -

Samba installation with RH 6.0

by jlwallen Tech expert In reply to Samba installation with R ...

installing samba is a very simple matter of getting the rpm (www.freshmeat.net) installing it, configuring your smb.conf file (i'll try to attach a sample) and then configure your clients.

[global]
printcap name = /etc/printcap
printing = bsd
load printers = yes
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
workgroup = NAME_OF_WORKGROUP
encrypt passwords = no
password level = 0
preferred master = no
os level = 0
null passwords = no
dead time = 0
debug level = 0
domain master = no

[public]
comment = Public Stuff
path = PATH_YOU_WANT_TO_READ
public = yes
writable = yes
printable = no
write list = @staff

[tmp] comment = temporary files
path = /tmp
read only = yes

[printers]
comment = COMMENT_FOR_PRINTERS
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes

[ljet]
comment= COMMENT_FOR_PRINTE

Collapse -

Samba installation with RH 6.0

by jes In reply to Samba installation with R ...

The question was auto-closed by TechRepublic

Collapse -

Samba installation with RH 6.0

by zbrain75 In reply to Samba installation with R ...

As far as what editor to use, it is a matter of prefference and what you find easiest to use. I use emacs, others like VI. I don't like VI because the mode toggling feature frustrates me.

You need to decide how you want to invoke Samba services. You will want to either invoke it as a daemon as a startup service or using the internet super daemon "inetd". If you are providing services to many users, you will be better off running it as a stand alone daemon. So after logging in at a terminal as "root", do either step 2a or step 2b below.

1. First of all, networking must be set up. See the NET-3 howto if necessary. These are available on the web at places like "metalab.unc.edu". If you can't find them, you can use a search engine line "mamma.com". Also there are gnu manuals at "www.gnu.org/manual/manual.html".

Type "less /etc/services" and be sure the following two lines are in the file:
netbios-ssn 139/tcp nbssn # NETBIOS session service
netbios-ssn 139/udp
Press "q" to exi

Collapse -

Samba installation with RH 6.0

by jes In reply to Samba installation with R ...

The question was auto-closed by TechRepublic

Collapse -

Samba installation with RH 6.0

by bob In reply to Samba installation with R ...

On my RH6.0 box, I used LinuxConf to setup SAMBA. Worked like a charm, created the appropriate public and user areas. You can access Linuxconf from the console by logging in as root and typing "linuxconf". If you are running GNOME or KDE, don't run linuxconf from an Xterm if your display is only set to 640x480, you won't be able to get to the control buttons on the bottom of the panel. Another way is to run linuxconf from the console, enable web access by going into Config->Networking->Misc->Linuxconf Network Access. Activate the changes, and you'll be able to point a web browser at the linux box and run Linuxconf thru that. For example, if your linux system is called "rh60", you'd type "http://rh60:98/" into your web browser's address, location, or URL line.

Hope this helps,

Bob Williams, RLW Consulting

Collapse -

Samba installation with RH 6.0

by jes In reply to Samba installation with R ...

The question was auto-closed by TechRepublic

Back to Linux Forum
21 total posts (Page 1 of 3)   01 | 02 | 03   Next

Operating Systems Forums