Odd Question

Johnny L Wales johnny at booksys.com
Fri Jan 14 18:51:02 GMT 2000


Hi! I'm kinda new to Samba (only been playing with it for a couple of
days) and I have run into some problems:

I've got samba up and running on a machine known as 'Mail'. Here's my conf
file:

# Global parameters
[global]
        workgroup = BOOKSYS.COM
        local master = No

[test]
        comment = Test for Samba
        path = /home/johnny
        read only = No
        guest ok = Yes

[monkey]
        comment = Test Share on the Samba machine
        path = /tmp
        read only = No
        guest ok = Yes
        hosts allow = 192.168.10

Which is pretty light security-wise. This machine -does- show up in NT's
infernal 'Network Neighborhood' browser as 'Mail'. However, when I attempt
to access it, NT pops up a little window asking me for my
username/password. No matter what I try here, I get an error. Trying it
from the vastly more useful smbclient that came with Samba, Here's what I
get:

[root at mail samba]# smbclient '\\Mail\\monkey' -I 127.0.0.1 -Ujohnny
added interface ip=192.168.10.1 bcast=192.168.10.255 nmask=255.255.255.0
added interface ip=208.170.114.1 bcast=208.170.114.31
nmask=255.255.255.224
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)

Any idea what causes this? I have this server set up (more or less)
exactly as specified in the chapter on Configuring Samba in the Samba book
from O'Reily. I'm a bit (obviously) confused by the whole setup file that
came with samba. I'm really... how would I say this... not-too-good with
NT. That is to say, I couldn't administrate an NT server and expect it to
do anybody much good. Now I'm reaching the end of my rope as far as
getting NT to play nicely with my Linux machine and my boss -won't- go to
a pure-linux network. Drat it all.

Oh, yeah: This might come in handy: Here's the log created when I ran

 smbclient '\\Mail\\monkey' -I 127.0.0.1 -Ujohnny

-------log.smb
[2000/01/14 12:44:29, 1] smbd/reply.c:reply_sesssetup_and_X(909)
  Rejecting user 'johnny': authentication failed
[2000/01/14 12:44:39, 0] smbd/service.c:make_connection(209)
  mail (127.0.0.1) couldn't find service /monkey
[2000/01/14 12:45:42, 0] smbd/service.c:make_connection(209)
  mail (127.0.0.1) couldn't find service /monkey
[2000/01/14 12:45:48, 0] smbd/service.c:make_connection(209)
  mail (127.0.0.1) couldn't find service /monkey
[2000/01/14 12:46:02, 1] smbd/reply.c:reply_sesssetup_and_X(909)
  Rejecting user 'johnny': authentication failed

Any thoughts?

--me



More information about the samba mailing list