Samba 2.0.3 on HP 10.2 rejects valid passwords

Henry Cocozzoli hcocozzo at eai.com
Fri Mar 5 17:25:50 GMT 1999


I have having some strange problems trying to get Samba 2.0.2 working in an
hp-ux 10.20
system.  I used the default run of configure. My smb.conf looks like:

[global]
   guest account = guest
   mangled names = yes
   hosts equiv = nthosts.conf
   case sig names = yes
   socket options = TCP_NODELAY
   wins support = yes
   workgroup = eai_ames
   security = share
;  debuglevel = 10
   read prediction = yes
   read size = 65536

[kenny1]
 path = /kenny1
 user= hcocozzo
 writable = yes
 printable = no
 create mask = 0775

An exerpt from my Samba Log file is enclosed.

It seems that valid username/password combinations do not work.

Samba 1.9.18,p10 works fine with the same settings.
The pc's are using a DHCP server and the unix boxes are not.  But, that was
not
a problem before.

Thaks for a good product.


Henry Cocozzoli


-------------- next part --------------
[1999/03/05 11:38:42, 1] smbd/server.c:(614)
  smbd version 2.0.3 started.
  Copyright Andrew Tridgell 1992-1998


  
[1999/03/05 11:38:42, 4] lib/interface.c:(118)
  Derived broadcast address 10.16.255.255
[1999/03/05 11:38:42, 2] lib/interface.c:(213)
  Added interface ip=10.16.1.22 bcast=10.16.255.255 nmask=255.255.0.0
[1999/03/05 11:38:42, 1] smbd/files.c:(218)
  file_init: Information only: requested 10000 open files, 1014 are available.




[1999/03/05 11:40:19, 2] smbd/server.c:(702)
  Changed root to /
[1999/03/05 11:40:19, 3] smbd/oplock.c:(73)
  open_oplock_ipc: opening loopback UDP socket.
[1999/03/05 11:40:19, 3] lib/util_sock.c:(683)
  bind succeeded on port 0
[1999/03/05 11:40:19, 3] smbd/oplock.c:(100)
  open_oplock ipc: pid = 21446, global_oplock_port = 3114
[1999/03/05 11:40:19, 3] smbd/process.c:(924)
  priming nmbd
[1999/03/05 11:40:19, 3] lib/util_sock.c:(607)
  sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
[1999/03/05 11:40:19, 4] lib/time.c:(110)
  Serverzone is 18000
[1999/03/05 11:40:19, 10] lib/util_sock.c:(449)
  got smb length of 68
[1999/03/05 11:40:19, 6] smbd/process.c:(564)
  got message type 0x81 of len 0x44
[1999/03/05 11:40:19, 3] smbd/process.c:(565)
  Transaction 0 of length 72
[1999/03/05 11:40:19, 2] smbd/reply.c:(94)
  netbios connect: name1=KENNY            name2=PC-HENRY       
[1999/03/05 11:40:19, 6] param/loadparm.c:(1784)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Fri Mar  5 11:05:17 1999
  
[1999/03/05 11:40:19, 5] smbd/connection.c:(127)
  trying claim /usr/local/samba/var/locks STATUS. 100000
[1999/03/05 11:40:19, 8] lib/util.c:(2632)


[1999/03/05 11:40:19, 5] lib/util.c:(475)
  smb_bcc=135
[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [010] 52 41 4D 20 31 2E 30 00  02 58 45 4E 49 58 20 43  RAM 1.0. .XENIX C
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [020] 4F 52 45 00 02 4D 49 43  52 4F 53 4F 46 54 20 4E  ORE..MIC ROSOFT N
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [030] 45 54 57 4F 52 4B 53 20  31 2E 30 33 00 02 4C 41  ETWORKS  1.03..LA
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [040] 4E 4D 41 4E 31 2E 30 00  02 57 69 6E 64 6F 77 73  NMAN1.0. .Windows
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [050] 20 66 6F 72 20 57 6F 72  6B 67 72 6F 75 70 73 20   for Wor kgroups 
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [060] 33 2E 31 61 00 02 4C 4D  31 2E 32 58 30 30 32 00  3.1a..LM 1.2X002.
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [070] 02 4C 41 4E 4D 41 4E 32  2E 31 00 02 4E 54 20 4C  .LANMAN2 .1..NT L
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [080] 4D 20 30 2E 31 32 00                              M 0.12. 
[1999/03/05 11:40:19, 3] smbd/process.c:(402)
  switch message SMBnegprot (pid 21446)
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [XENIX CORE]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [LANMAN1.0]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [Windows for Workgroups 3.1a]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [LM1.2X002]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [LANMAN2.1]
[1999/03/05 11:40:19, 3] smbd/negprot.c:(332)
  Requested protocol [NT LM 0.12]
[1999/03/05 11:40:19, 6] param/loadparm.c:(1784)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Fri Mar  5 11:05:17 1999
  
[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 45 41 49 5F 41 4D 45 53  00                       EAI_AMES .

[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 00 00 48 43 4F 43 4F 5A  5A 4F 00 45 41 49 5F 41  ..HCOCOZ ZO.EAI_A
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [010] 4D 45 53 00 57 69 6E 64  6F 77 73 20 4E 54 20 31  MES.Wind ows NT 1
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [020] 33 38 31 00 00 57 69 6E  64 6F 77 73 20 4E 54 20  381..Win dows NT 
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [030] 34 2E 30 00 00                                    4.0.. 
[1999/03/05 11:40:19, 3] smbd/process.c:(402)
  switch message SMBsesssetupX (pid 21446)
[1999/03/05 11:40:19, 3] smbd/reply.c:(674)
  Domain=[EAI_AMES]  NativeOS=[Windows NT 1381] NativeLanMan=[]
[1999/03/05 11:40:19, 3] smbd/reply.c:(679)
  sesssetupX:name=[HCOCOZZO]
[1999/03/05 11:40:19, 6] param/loadparm.c:(1784)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Fri Mar  5 11:05:17 1999
  
[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 20 00 5C 5C 4B 45 4E 4E  59 5C 49 50 43 24 00 49   .\\KENN Y\IPC$.I
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [010] 50 43 00                                          PC. 
[1999/03/05 11:40:19, 3] smbd/process.c:(402)
  switch message SMBtconX (pid 21446)
[1999/03/05 11:40:19, 4] smbd/reply.c:(301)
  Got device type IPC
[1999/03/05 11:40:19, 3] smbd/password.c:(794)
  ACCEPTED: guest account and guest ok
[1999/03/05 11:40:19, 3] smbd/service.c:(386)
  Connect path is /tmp
[1999/03/05 11:40:19, 5] smbd/uid.c:(261)
  become_user uid=(0,998) gid=(0,998)
[1999/03/05 11:40:19, 3] lib/doscalls.c:(327)
  dos_ChDir to /tmp
[1999/03/05 11:40:19, 3] lib/doscalls.c:(327)
  dos_ChDir to /usr/local/samba/bin
[1999/03/05 11:40:19, 5] smbd/uid.c:(294)
  unbecome_user now uid=(0,0) gid=(0,0)
[1999/03/05 11:40:19, 3] smbd/service.c:(488)
  pc-henry (10.16.4.49) connect to service IPC$ as user guest (uid=998, gid=998) (pid 21446)
[1999/03/05 11:40:19, 3] smbd/reply.c:(339)
  tconX service=ipc$ user=guest


[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 30 2E 33  Unix.Sam ba 2.0.3
[1999/03/05 11:40:19, 10] lib/util.c:(2840)
  [010] 00 45 41 49 5F 41 4D 45  53 00                    .EAI_AME S.
[1999/03/05 11:40:19, 6] lib/util_sock.c:(185)
  write_socket(6,88)



[1999/03/05 11:40:19, 10] lib/util.c:(2832)
  [000] 5C 73 72 76 73 76 63 00                           \srvsvc. 



[1999/03/05 11:40:20, 10] lib/util.c:(2832)
  [000] 5C 50 49 50 45 5C 00 00  00 05 00 0B 00 10 00 00  \PIPE\.. ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [010] 00 48 00 00 00 01 00 00  00 30 16 30 16 00 00 00  .H...... .0.0....
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [020] 00 01 00 00 00 00 00 01  00 C8 4F 32 4B 70 16 D3  ........ ..O2Kp..
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [030] 01 12 78 5A 47 BF 6E E1  88 03 00 00 00 04 5D 88  ..xZG.n. ......].
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [040] 8A EB 1C C9 11 9F E8 08  00 2B 10 48 60 02 00 00  ........ .+.H`...
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [050] 00                                                . 



[1999/03/05 11:40:20, 10] lib/util.c:(2832)
  [000] 5C 50 49 50 45 5C 00 5C  61 05 00 00 03 10 00 00  \PIPE\.\ a.......
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [010] 00 54 00 00 00 01 00 00  00 3C 00 00 00 00 00 0F  .T...... .<......
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [020] 00 44 41 CF 00 08 00 00  00 00 00 00 00 08 00 00  .DA..... ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [030] 00 5C 00 5C 00 6B 00 65  00 6E 00 6E 00 79 00 00  .\.\.k.e .n.n.y..
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [040] 00 01 00 00 00 01 00 00  00 1C F2 48 01 00 00 00  ........ ...H....
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [050] 00 00 00 00 00 FF FF FF  FF 00 00 00 00           ........ .....
[1999/03/05 11:40:20, 3] smbd/process.c:(402)
  switch message SMBtrans (pid 21446)


[1999/03/05 11:40:20, 5] rpc_parse/parse_srv.c:(67)
  make_srv_share_info1: IPC$        3 IPC Service (Samba 2.0.3)



[1999/03/05 11:40:20, 10] lib/util.c:(2832)
  [000] 00 05 00 02 03 10 00 00  00 D8 00 00 00 01 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [010] 00 C0 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [020] 00 01 00 00 00 02 00 00  00 01 00 00 00 02 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [030] 00 01 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [040] 00 03 00 00 00 01 00 00  00 07 00 00 00 00 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [050] 00 07 00 00 00 6B 00 65  00 6E 00 6E 00 79 00 31  .....k.e .n.n.y.1
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [060] 00 00 00 00 00 01 00 00  00 00 00 00 00 01 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [070] 00 00 00 00 00 05 00 00  00 00 00 00 00 05 00 00  ........ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [080] 00 49 00 50 00 43 00 24  00 00 00 00 00 1A 00 00  .I.P.C.$ ........
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [090] 00 00 00 00 00 1A 00 00  00 49 00 50 00 43 00 20  ........ .I.P.C. 
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [0A0] 00 53 00 65 00 72 00 76  00 69 00 63 00 65 00 20  .S.e.r.v .i.c.e. 
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [0B0] 00 28 00 53 00 61 00 6D  00 62 00 61 00 20 00 32  .(.S.a.m .b.a. .2
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [0C0] 00 2E 00 30 00 2E 00 33  00 29 00 00 00 02 00 00  ...0...3 .)......
[1999/03/05 11:40:20, 10] lib/util.c:(2840)
  [0D0] 00 00 00 00 00 00 00 00  00                       ........ .



[1999/03/05 11:40:25, 10] lib/util.c:(2832)
  [000] 00 00 50 43 2D 48 45 4E  52 59 00 45 41 49 5F 41  ..PC-HEN RY.EAI_A
[1999/03/05 11:40:25, 10] lib/util.c:(2840)
  [010] 4D 45 53 00 57 69 6E 64  6F 77 73 20 4E 54 20 31  MES.Wind ows NT 1
[1999/03/05 11:40:25, 10] lib/util.c:(2840)
  [020] 33 38 31 00 00 57 69 6E  64 6F 77 73 20 4E 54 20  381..Win dows NT 
[1999/03/05 11:40:25, 10] lib/util.c:(2840)
  [030] 34 2E 30 00 00                                    4.0.. 



[1999/03/05 11:40:25, 10] lib/util.c:(2832)
  [000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 30 2E 33  Unix.Sam ba 2.0.3
[1999/03/05 11:40:25, 10] lib/util.c:(2840)
  [010] 00 45 41 49 5F 41 4D 45  53 00                    .EAI_AME S.
[1999/03/05 11:40:25, 6] lib/util_sock.c:(185)
  write_socket(6,71)
[1999/03/05 11:40:25, 10] lib/util.c:(2832)
  [000] 20 00 5C 5C 4B 45 4E 4E  59 5C 4B 45 4E 4E 59 31   .\\KENN Y\KENNY1
[1999/03/05 11:40:25, 10] lib/util.c:(2840)
  [010] 00 41 3A 00                                       .A:. 



[1999/03/05 11:40:39, 10] lib/util.c:(2832)
  [000] 61 64 6D 34 31 39 00 5C  5C 4B 45 4E 4E 59 5C 4B  adm419.\ \KENNY\K
[1999/03/05 11:40:39, 10] lib/util.c:(2840)
  [010] 45 4E 4E 59 31 00 41 3A  00                       ENNY1.A: .
[1999/03/05 11:40:39, 3] smbd/process.c:(402)
  switch message SMBtconX (pid 21446)
[1999/03/05 11:40:39, 4] smbd/reply.c:(301)
  Got device type A:
[1999/03/05 11:40:39, 4] passdb/pass_check.c:(776)
  Checking password for user hcocozzo (l=6)
[1999/03/05 11:40:39, 4] passdb/pass_check.c:(776)
  Checking password for user guest (l=6)
[1999/03/05 11:40:40, 4] passdb/pass_check.c:(776)
  Checking password for user hcocozzo (l=6)
[1999/03/05 11:40:40, 2] smbd/service.c:(268)
  Invalid username/password for kenny1


More information about the samba mailing list