Re: [SLUG] SMB User Passwords Not working

From: Knowles Burrell (kburrell3@gmail.com)
Date: Mon Aug 30 2004 - 18:12:30 EDT


> Hi Knowles, the best thing would be to post your smb.conf.
> You can also fix the typo in your socket options parameter
> while you're at it :).

Here is my smb.conf:

###########################################################################
##### #####
##### /etc/samba/smb.conf setup from hotwo located @ #####
##### http://www.gentoo.org/doc/en/quick-samba-howto.xml #####
##### #####
###########################################################################
[global]
        log file = /var/log/samba/log.%m
        load printers = yes
        guest account = samba
        printer = HPDeskJet
        socket options = TCP_NODELEAY SO_RCVBUF=8192 SO_SNDBUF=8192
        deny hosts = 0.0.0.0/0
        interfaces = lo eth0
        public = yes
        allow hosts = 127.0.0.1 192.168.1.0/24
        server string = Samba Server %v
        printing = cups
        path = /var/spool/samba
        workgroup = workgroup
        printcap name = cups
        security = share
        bind interfaces only = yes
        max log size = 50

[print$]
comment = Printer Drivers
path = /etc/samba/printer # that path holds the driver structure
guest ok = yes
browseable = yes
read only = yes
# Modify this to "username,root" if you don't want root to be the only
# printer admin
write list = root

# Now we'll setup a printer to share, while the name is arbitrary
# it should be consistent through Samba and CUPS!
[HPDeskJet]
comment = Printer On Knowles PC
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

# Now we setup our printers share. This should be
# browseable, printable, public.
[printers]
comment = All Printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = yes
path = /var/spool/samba
# Modify this to "username,root" if you don't want root to
# be the only printer admin)
printer admin = root

# We create a new share that we can read/write to from anywhere
# This is kind of like a public temp share, anyone can do what
# they want here.
[public]
comment = Public Files
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/samba/public

> Are you sure you don't have multiple versions installed in
> different paths? That might explain why smbpasswd doesn't
> seem to be helping you much, unless your smb.conf is totally
> bonkers.

They are different version, I do not beleive I would have both
versions still installed as I used emerge to get the package.

Thanks for the help!
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:47:51 EDT