[KLUG Members] Samba Config (currently)

Jon Smitley members@kalamazoolinux.org
08 Dec 2002 21:06:33 -0500


Just a quick summary of the events up to now -
(If there any other files that should be included to this list, please
let me know.)

Red Hat 8.0 (updated as per Red Hat)
Samba 2.2.7
SWAT 2.2.7
Webmin 1.030

Samba configuration worked at the last beginners meeting when connected
to a Win2K Pro notebook.  They were able to login to my Samba share.

Did not work with Win98 1st edition at home. I can see the Linux box,
but not access it with password level set to user level:
	//Madness/IPC$
Password______________

or;

I can see the share, but not access it with the password level set to
share level:
	//Madness/shared
Password________________

I don't have a firewall running to block myself, or anybody else for
that matter.

"cat /etc/samba.smb.conf" returns -
#======================= Global Settings ==============================
[global]
        log file = /var/log/samba/%m.log
        guest account = Jon

        smb passwd file = /etc/samba/smbpasswd
        load printers = yes
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        obey pam restrictions = yes
        null passwords = yes
        encrypt passwords = yes
        public = yes
        passwd program = /usr/bin/passwd %u
        password level = 8
        dns proxy = no
        netbios name = Madness
        writeable = yes
        server string = Samba Server
        printing = lprng
        path = /shared
        unix password sync = Yes
        remote announce = 192.168.1.0/255.255.255.0
        workgroup = Archive Group
        os level = 8
        printcap name = /etc/printcap
        security = share
        max log size = 0
        pam password change = yes

[Linux]
        guest account = Jon Jon2
        allow hosts = 192.168.1.0/255.255.255.0


"cat /etc/services" returns -  "swat 901/tcp" is there.

"cat /etc/samba/smbusers" returns -
	# Unix_name = SMB_name1 SMB_name2 ...
	root = administrator admin
	nobody = guest pcguest smbguest
	Jon = Jon Jon2

"cat /etc/samba/smbpasswd" returns -
	Jon:500:2619FC6753FCD34B09752A3293831D17:F322EA81A1986F149FE89F3A60358A69:[U
      		]:LCT-3DEEB3F6:
	Jon2:501:2619FC6753FCD34B6D3A627C824F029F:B8F6436FFB71757C2E499712145998FC:[U
       		]:LCT-3DEEB40A:

"cat /etc/hosts" returns -
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.1.29    Madness Madness

"cat /etc/hosts.allow" returns -
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#

"cat /etc/hosts.deny" returns -
#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!

"cat /etc/host.conf" returns -
order hosts,bind

Thanks for all the help so far.
-- 
Jon Smitley <lunitix@earthlink.net>