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 2 of 3)   Prev   01 | 02 | 03   Next
Thread display: Collapse - | Expand +

All Comments

Collapse -

Samba installation with RH 6.0

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

Samba is a well documented software. Try to go through SAMBA-HOWTO on your RedHat Box and it will be located in /usr/doc/HOWTO. By default, smb.conf will be installed in /etc directory, just go through this file with any editor or pager like 'less' or 'cat'. smb.conf is documented with nice comments for the ease of configuration, but it has many options which can be very intimidating for a novice user. Try to configure your Samba server with either linuxconf or Samba Web Administration Tool (SWAT)

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 dtighe In reply to Samba installation with R ...

OK, First off, we I'll tell you Samba won't do Macs. Although Samba won't Netatalk will and it's Samba compatable, I'v personally never used it (I use the default appletalk services). Currently I'm using my Samba server (Proudly running on a G3 w/ LinuxPPC) as a PDC for out windows network works well, clean, drop me an e-mail if you want my config. Personally I didn't like SWAT, it was annoying, so I did the good ole manual edit w/ *pico*.

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 jtb In reply to Samba installation with R ...

My favorite plain text editor in linux is pico. It is easy to use and friendly and works very well when X is not available (such as remotely)

I am running a samba server on my RedHat 6.0 box. I use Windows 95,Windows 98 and Windows 2000 on a vmware machine on a linux box and have no problems accessing the shares.

If you intend on using plain text password instead of keeping a separate smb password file the you will need to insert some registry keys to enable plain text transfers of passwords. These can be found in:
/usr/docs/samba-2.0.5a/docs. Just copy to your windows hard drive and doubleclick and the registry keys will be inserted into the registry. This will require a reboot on the windows machine.

There is very good documentation to be found right on the distribution cd in the howtos to help you get samba working correctly for you.

Below is an example of the smb.conf file that I am currently using.

As far as Macs go, I think they look cool and one time I eventouched one in a sto

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 jtb In reply to Samba installation with R ...

[global]

workgroup = yourworkgroup

server string = Samba Server

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
; encrypt passwords = yes
; smb passwd file = /etc/smbpasswd

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is ye

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 jtb In reply to Samba installation with R ...

dns proxy = no
comment = yourcomment
encrypt passwords = no
password level = 0
preferred master = no
os level = 0
null passwords = no
dead time = 0
debug level = 0
domain master = no
guest account = guest

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
available = yes
public = no
only user = no

# NOTE: If you havea BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[share]
available = yes
path = /share
public = no
guest only = no
writable = yes
browseable = yes
only user = no
valid users = me, mywife, myfriend
forcecreate mode = 0770

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 2 of 3)   Prev   01 | 02 | 03   Next

Related Discussions

Related Forums