Created with The GIMP


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

About Us

Directions to Meetings
Contact Us
Guest Speaker Info
Acceptable Use
Link To Us!
Our Blog

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
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
Linux Sound
Samba notes
Network time protocol
C programming in Linux
Boot, startup and shutdown
hdparm HOWTO

Friends of CHLUG

Ubuntu NJ LoCo
Cherry Hill Library
LUG in Princeton
Useful Links

Loads of Linux Links
Art of UNIX Programming
More Links


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

Get Linux!

Get Firefox!


Created with The GIMP

Website Designer-

Samba Notes

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

RPMs from the Red Hat 7.1 CD-ROMs

The Samba SMB server.

Samba client programs.

Files used by both Samba servers and clients.

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.

           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.