No subject


Mon Dec 1 11:34:25 GMT 2003


# testparm smb.conf
Load smb config files from smb.conf
Processing section "[documentation]"
doing parameter comment = Engineering Documentation
doing parameter path = /opt/eng-docs
doing parameter writeable = Yes
doing parameter guest ok = Yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Loaded services file OK.
WARNING: You have some share names that are longer than 8 chars
These may give errors while browsing or may not be accessible
to some older clients
Press enter to see a dump of your service definitions

TEST 2:
A ping is successful in both directions.  I can ping the SAMBA host from the
pc, and I can ping the pc from the samba host.

TEST 3:

During this test, I am prompted for the password to be manually entered.  Is
this normal behavior?

# smbclient -L elgato
pm_process() returned Yes
lp_servicenumber: couldn't find homes
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_unicode_map: loading unicode map for codepage 850.
added interface ip=aaa.bbb.2.152 bcast=aaa.bbb.2.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name elgato<0x20>
getlmhostsent: lmhost entry: aaa.bbb.2.11 a41cpdir1 #DOM:E-PUBLIX
getlmhostsent: lmhost entry: aaa.bbb.1.11 pdmaster #DOM:E-PUBLIX
resolve_hosts: Attempting host lookup for name elgato<0x20>
Connecting to aaa.bbb.2.152 at port 139
write_socket(4,76)
write_socket(4,76) wrote 76
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok
write_socket(4,168)
write_socket(4,168) wrote 168
got smb length of 78
size=78
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12800 (0x3200)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=55808 (0xDA00)
smb_vwv[8]=5 (0x5)
smb_vwv[9]=14592 (0x3900)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=14487 (0x3897)
smb_vwv[13]=53924 (0xD2A4)
smb_vwv[14]=49358 (0xC0CE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=0 (0x0)
smb_bcc=9
[000] 45 2D 50 55 42 4C 49 58  00                       E-PUBLIX .
size=78
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12800 (0x3200)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=55808 (0xDA00)
smb_vwv[8]=5 (0x5)
smb_vwv[9]=14592 (0x3900)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=14487 (0x3897)
smb_vwv[13]=53924 (0xD2A4)
smb_vwv[14]=49358 (0xC0CE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=0 (0x0)
smb_bcc=9
[000] 45 2D 50 55 42 4C 49 58  00                       E-PUBLIX .
Password: 
write_socket(4,92)
write_socket(4,92) wrote 92
got smb length of 67
size=67
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=26
[000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 30 2E 37  Unix.Sam ba 2.0.7
[010] 00 45 2D 50 55 42 4C 49  58 00                    .E-PUBLI X.
size=67
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=26
[000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 30 2E 37  Unix.Sam ba 2.0.7
[010] 00 45 2D 50 55 42 4C 49  58 00                    .E-PUBLI X.
Domain=[E-PUBLIX] OS=[Unix] Server=[Samba 2.0.7]
 session setup ok
write_socket(4,79)
write_socket(4,79) wrote 79
got smb length of 49
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=8
[000] 49 50 43 00 49 50 43 00                           IPC.IPC. 
 tconx ok

        Sharename      Type      Comment
        ---------      ----      -------
size=95
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=14
smb_vwv[0]=19 (0x13)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1024 (0x400)
smb_vwv[3]=65504 (0xFFE0)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=19 (0x13)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=95 (0x5F)
smb_vwv[13]=0 (0x0)
smb_bcc=32
[000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 00 00 57  \PIPE\LA NMAN...W
[010] 72 4C 65 68 00 42 31 33  42 57 7A 00 01 00 E0 FF  rLeh.B13 BWz.....
write_socket(4,99)
write_socket(4,99) wrote 99
got smb length of 156
size=156
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=92 (0x5C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=92 (0x5C)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=101
[000] 00 00 00 00 00 02 00 02  00 64 6F 63 73 00 00 00  ........ .docs...
[010] 00 00 00 00 00 00 00 00  00 28 00 00 00 49 50 43  ........ .(...IPC
[020] 24 00 00 00 00 00 00 00  00 00 00 03 00 42 00 00  $....... .....B..
[030] 00 45 6E 67 69 6E 65 65  72 69 6E 67 20 44 6F 63  .Enginee ring Doc
[040] 75 6D 65 6E 74 61 74 69  6F 6E 00 49 50 43 20 53  umentati on.IPC S
[050] 65 72 76 69 63 65 20 28  53 61 6D 62 61 20 32 2E  ervice ( Samba 2.
[060] 30 2E 37 29 00                                    0.7). 
size=156
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=92 (0x5C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=92 (0x5C)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=101
[000] 00 00 00 00 00 02 00 02  00 64 6F 63 73 00 00 00  ........ .docs...
[010] 00 00 00 00 00 00 00 00  00 28 00 00 00 49 50 43  ........ .(...IPC
[020] 24 00 00 00 00 00 00 00  00 00 00 03 00 42 00 00  $....... .....B..
[030] 00 45 6E 67 69 6E 65 65  72 69 6E 67 20 44 6F 63  .Enginee ring Doc
[040] 75 6D 65 6E 74 61 74 69  6F 6E 00 49 50 43 20 53  umentati on.IPC S
[050] 65 72 76 69 63 65 20 28  53 61 6D 62 61 20 32 2E  ervice ( Samba 2.
[060] 30 2E 37 29 00                                    0.7). 
        docs           Disk      Engineering Documentation
        IPC$           IPC       IPC Service (Samba 2.0.7)

        Server               Comment
        ---------            -------
size=111
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=14
smb_vwv[0]=35 (0x23)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=8 (0x8)
smb_vwv[3]=65535 (0xFFFF)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=35 (0x23)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=111 (0x6F)
smb_vwv[13]=0 (0x0)
smb_bcc=48
[000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 68 00 57  \PIPE\LA NMAN.h.W
[010] 72 4C 65 68 44 7A 00 42  31 36 42 42 44 7A 00 01  rLehDz.B 16BBDz..
[020] 00 FF FF FF FF FF FF 45  2D 50 55 42 4C 49 58 00  .......E -PUBLIX.
write_socket(4,115)
write_socket(4,115) wrote 115
got smb length of 129
size=129
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=65 (0x41)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=65 (0x41)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=74
[000] 00 00 00 00 00 02 00 02  00 41 34 31 43 50 44 49  ........ .A41CPDI
[010] 52 31 00 00 00 00 00 00  00 00 00 13 10 04 00 34  R1...... .......4
[020] 00 00 00 45 4C 47 41 54  4F 00 00 00 00 00 00 00  ...ELGAT O.......
[030] 00 00 00 00 00 03 9A 01  00 35 00 00 00 00 53 61  ........ .5....Sa
[040] 6D 62 61 20 32 2E 30 2E  37 00                    mba 2.0. 7.
size=129
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=65 (0x41)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=65 (0x41)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=74
[000] 00 00 00 00 00 02 00 02  00 41 34 31 43 50 44 49  ........ .A41CPDI
[010] 52 31 00 00 00 00 00 00  00 00 00 13 10 04 00 34  R1...... .......4
[020] 00 00 00 45 4C 47 41 54  4F 00 00 00 00 00 00 00  ...ELGAT O.......
[030] 00 00 00 00 00 03 9A 01  00 35 00 00 00 00 53 61  ........ .5....Sa
[040] 6D 62 61 20 32 2E 30 2E  37 00                    mba 2.0. 7.
        A41CPDIR1            
        ELGATO               Samba 2.0.7

        Workgroup            Master
        ---------            -------
size=111
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=14
smb_vwv[0]=35 (0x23)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=8 (0x8)
smb_vwv[3]=65535 (0xFFFF)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=35 (0x23)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=111 (0x6F)
smb_vwv[13]=0 (0x0)
smb_bcc=48
[000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 68 00 57  \PIPE\LA NMAN.h.W
[010] 72 4C 65 68 44 7A 00 42  31 36 42 42 44 7A 00 01  rLehDz.B 16BBDz..
[020] 00 FF FF 00 00 00 80 45  2D 50 55 42 4C 49 58 00  .......E -PUBLIX.
write_socket(4,115)
write_socket(4,115) wrote 115
got smb length of 100
size=100
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=36 (0x24)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=36 (0x24)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 00 00 00 00 01 00 01  00 45 2D 50 55 42 4C 49  ........ .E-PUBLI
[010] 58 00 00 00 00 00 00 00  00 00 00 00 10 00 80 1A  X....... ........
[020] 00 00 00 41 34 31 43 50  44 49 52 31 00           ...A41CP DIR1.
size=100
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=1497
smb_uid=0
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=36 (0x24)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=36 (0x24)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 00 00 00 00 01 00 01  00 45 2D 50 55 42 4C 49  ........ .E-PUBLI
[010] 58 00 00 00 00 00 00 00  00 00 00 00 10 00 80 1A  X....... ........
[020] 00 00 00 41 34 31 43 50  44 49 52 31 00           ...A41CP DIR1.
        E-PUBLIX             A41CPDIR1
# 
----end  'smbclient -L elgato' --------

Test 4:

# nmblookup -B elgato __SAMBA__
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface ip=172.30.2.152 bcast=172.30.2.255 nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying __SAMBA__ on 172.30.2.152
nmb packet from 172.30.2.152(137) header: id=27984 opcode=Query(0)
response=No
    header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=__SAMBA__<00> q_type=32 q_class=1
Sending a packet of len 50 to (172.30.2.152) on port 137
read_udp_socket: lastip 172.30.2.152 lastport 137 read: 62
parse_nmb: packet id = 27984
Received a packet of len 62 from (172.30.2.152) port 137
nmb packet from 172.30.2.152(137) header: id=27984 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=__SAMBA__<00> rr_type=32 rr_class=1 ttl=259200
    answers   0 char @.....   hex 4000AC1E0298
Got a positive name query response from 172.30.2.152 ( 172.30.2.152 )
172.30.2.152 __SAMBA__<00>
#


My /var/adm/messages file is full of the following messages:

Apr 26 22:43:38 elgato inetd[165]: /opt/samba/bin/nmbd: Hangup
Apr 26 22:43:44 elgato last message repeated 38 times
Apr 26 22:43:45 elgato inetd[165]: netbios-ns/udp server failing (looping),
service terminated


Wow.  That is a LOT of information.  I hope some of it is useful.  Please
let me know what additional information I can provide to help anyone point
me in the right direction.





More information about the samba mailing list