Password problem with 1.9.18p1 on FreeBSD-Current

Ben Stuyts benst at terminus.stuyts.nl
Tue Jan 20 21:38:08 GMT 1998


Hello,

I'm trying out 1.9.18p1 on FreeBSD-Current (3.0). Samba was built using the  
port in /usr/ports/net/samba.

I seem to be having a password problem and I cannot figure out what the cause  
is. Earlier versions of Samba worked fine. I've tried a stripped down  
smb.conf:

workgroup = WORKGROUP
log level = 3

[homes]
 guest ok = no
 read only = no

[tmp]
 comment = temporary files
 path = /tmp
 read only = yes

Terminus is the machine on which samba runs. Then I do a smbclient  
'\\terminus\benst' on terminus. I get the following response from smbclient:

pm_process() returned Yes
adding IPC service
Added interface ip=193.78.231.30 bcast=193.78.231.255 nmask=255.255.255.0
Opening sockets
Connecting to 193.78.231.30 at port 139
Connected
max mux 50
max vcs 1
max raw 65535
capabilities 0x301
Sec mode 12800
max xmt 65535
Got 0 byte crypt key
Chose protocol [NT LANMAN 1.0]
Server time is Tue Jan 20 22:38:07 1998
Timezone is UTC+1.0
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 1.9.18p1]
security=share
first SMBtconX failed, trying again. ERRSRV - ERRbadpw (Bad password -  
name/password pair in a Tree Connect or Session Setup are invalid.)
SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair in a  
Tree Connect or Session Setup are invalid.)
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase

... and the following in the smb log file:

Processing section "[homes]"
doing parameter guest ok = no
doing parameter read only = no
Processing section "[tmp]"
doing parameter comment = temporary files
doing parameter path = /tmp
doing parameter read only = yes
pm_process() returned Yes
adding IPC service
Added interface ip=193.78.231.30 bcast=193.78.231.255 nmask=255.255.255.0
01/20/1998 22:38:07 loaded services
01/20/1998 22:38:07 changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 327, oplock_port = 1115
priming nmbd
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
01/20/1998 22:38:07 Transaction 0 of length 76
netbios connect: name1=TERMINUS         name2=TERMINUS
Trying username terminuS
01/20/1998 22:38:07 Transaction 1 of length 168
switch message SMBnegprot (pid 327)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [LANMAN1.0]
Requested protocol [LM1.2X002]
Requested protocol [Samba]
Selected protocol NT LANMAN 1.0
01/20/1998 22:38:10 Transaction 2 of length 92
switch message SMBsesssetupX (pid 327)
Domain=[WORKGROUP]  NativeOS=[Unix] NativeLanMan=[Samba]
sesssetupX:name=[BENST]
Registered username benst for guest access
adding home directory benst at /home/benst
benst is in 7 groups
100 100 0 68 69 80 1000
uid 100 registered to name benst
Clearing default real name
01/20/1998 22:38:10 Transaction 3 of length 73
switch message SMBtconX (pid 327)
Trying username tmP
01/20/1998 22:38:10 invalid username/password for tmp
01/20/1998 22:38:10 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
01/20/1998 22:38:10 Transaction 4 of length 66
switch message SMBtconX (pid 327)
Trying username tmP
01/20/1998 22:38:10 invalid username/password for tmp
01/20/1998 22:38:10 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
end of file from client
Closing connections
01/20/1998 22:38:10 Server exit  (normal exit)

I tried the things that are mentioned in DIAGNOSIS.txt, but that doesn't  
help. I'm not using smbpasswd, and even if I try, it doesn't make any  
difference.

Any idea what I'm doing wrong?

Thanks,
Ben


More information about the samba mailing list