Created with The GIMP
   


Features

2007 CHLUGger of the Year!
Mailing List
Archive
Help Open Source
Question of the Day

About Us

Mission
Directions to Meetings
Contact Us
Video
Guest Speaker Info
Acceptable Use
Link To Us!

CHLUG Exclusives

Open Office 3.0- New and Enhanced Features New!
Linux Hacking and the Law New!
VOIP with Asterisk
Assessing OSS
Knoppix Ubiquitous Computing
Filesystem Hierarchy
Virtual Hosting
Wesnoth
Xbox/Linux
udev
Emacs Talk Notes
Home Sweet ~
Top 100 CLIs
Device Drivers
Real Time Linux
Network Considerations Part II
Network Considerations Part I
Amanda Presentation
GNU/Linux Calculators Configuring Rio
ReiserFS
Linux Sound
Samba notes
Network time protocol
C programming in Linux
Boot, startup and shutdown
hdparm HOWTO

Friends of CHLUG

Ubuntu NJ LoCo
New!
Cherry Hill Library
RUSLUG
LUG in Princeton
Useful Links

Loads of Linux Links
LinuxToday.com
Art of UNIX Programming
More Links

Agenda

Contact Congress
Why We Use Linux
Companies Using Linux
Linux in Business



Get Linux!


Get Firefox!

Get OpenOffice.org!




Created with The GIMP



Website Designer- jesran.net



Samba Notes
-----------

Paul Agin July 17, 2001
(Reformatted for chlug.org 2001-08-02)
 

RPMs from the Red Hat 7.1 CD-ROMs
---------------------------------

samba-2.0.7-36.i386.rpm
The Samba SMB server.

samba-client-2.0.7-36.i386.rpm
Samba client programs.

samba-common-2.0.7-36.i386.rpm
Files used by both Samba servers and clients.

samba-swat-2.0.7-36.i386.rpm
A Web-based Samba server configuration program.
 
 

Installing and Configuring the Samba Server
-------------------------------------------

* Install the RPMs listed above.

* Changes need to be made to the "/etc/samba/smb.conf" file.

        Set workgroup to match your Windows workgroup name.
        "workgroup = LUGLAN"

        Uncomment the following two lines. Later you will need to create a "smbpasswd" file.
        If you choose not to do this, you will need to enable plain text passwords in the Windows registry.
        "encrypt passwords = yes"
        "smb passwd file = /etc/samba/smbpasswd"

        By default, home directories and printers will be visible to the clients.

        Example of creating a wide-open shared directory.

        [public]
           path = /public
           public = yes
           only guest = yes
           writable = yes
           printable = no

* To add an entry to the "smbpasswd" file, as root type "/usr/bin/smbpasswd -a username".

        If the user doesn't already exist on your system, add the user.
        "/usr/sbin/useradd username"
        Then, create a password for the user.
        "/usr/bin/passwd username"

* Run "/usr/bin/testparm" to test the parameters of the "smb.conf" file.

* Use these commands to manually control the Samba server.

        Usage: /usr/sbin/samba {start|stop|restart|status|condrestart}

* Run "/usr/sbin/setup" and select "smb" to be enabled at startup.