smbclient test fails (Bad Password Error)

Mark Jervis Sr.
Mon, 15 Oct 2001 11:18:02 -0000

Group,

I have installed Samba 2.2.2 on a debian linux machine running debian 2.2
r3. I have been watching the usergroup and and have been reading the Using
Samba HTML pages.


Here is a copy of my smb.conf:

# Global parameters
[global]
        workgroup = JERVIS
        interfaces = 192.168.123.1/24 127.0.0.1/24
        bind interfaces only = Yes
        security = SHARE
        log file = /var/log/samba/log.%m
        max log size = 1000
        read bmpx = no
        time server = yes
        socket options = TCP_NODELAY
        os level = 65
        preferred master = Yes
        dns proxy = No
        guest account = smbuser
        hide dot files = no

[public]
        comment = mjervis
        path = /home/mjervis
        read only = no
        create mask = 0664
        directory mask = 0775
        guest ok = yes


And when I run testparm I get:


htmlplace:/etc/samba# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[public]"
Processing section "[web]"
Loaded services file OK.
Press enter to see a dump of your service definitions


Then I run smbstaus and I recieve:

htmlplace:/etc/samba# smbstatus

Samba version 2.2.2
Service      uid      gid      pid     machine
----------------------------------------------

No locked files

Share mode memory usage (bytes):
   1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) total
htmlplace:/etc/samba#

But when I run smbclient (password I hit enter):

htmlplace:/etc/samba# smbclient -L localhost
added interface ip=192.168.123.1 bcast=192.168.123.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
Password:
Domain=[JERVIS] OS=[Unix] Server=[Samba 2.2.2]
tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a T
ree Connect or Session Setup are invalid.)
htmlplace:/etc/samba#


Can someone shed some light on what I'm doing wrong? I also cannot see the
samba shares or even the computer from my win98 machine in network
neighborhood.


Thanks in advance for any enlightenment,

Mark Jervis