[Samba] all samba commands running in debug mode?

Walton, Joe JWalton at alldata.net
Thu Jun 16 18:19:34 GMT 2005


Whenever I run a samba command such as testparm or smbclient, it outputs
in debug mode.  I am running this on a SunFire 12K.  I have this same
samba package installed on a Enterprise 4000 and it works fine.

Any suggestions?

davinci:root> smbclient -L davinci | more
Password: doing parameter log file = /tmp/log.%m
doing parameter lock directory = /usr/local/samba/var/locks
doing parameter share modes = yes
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)
added interface ip=10.50.31.52 bcast=10.50.31.127 nmask=255.255.255.128
not adding duplicate interface 10.50.31.65
added interface ip=192.168.10.2 bcast=192.168.10.255 nmask=255.255.255.0
not adding duplicate interface 192.168.10.21
not adding duplicate interface 10.50.31.66
not adding duplicate interface 192.168.10.22
added interface ip=10.1.1.3 bcast=10.1.1.31 nmask=255.255.255.224
Client started (version 2.0.6).
resolve_lmhosts: Attempting lmhosts lookup for name davinci<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or direct
ory
resolve_hosts: Attempting host lookup for name davinci<0x20>
Connecting to 10.50.31.52 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 87
size=87
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=16385
smb_tid=0
smb_pid=26862
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=61440 (0xF000)
smb_vwv[8]=104 (0x68)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=55250 (0xD7D2)
smb_vwv[13]=40890 (0x9FBA)
smb_vwv[14]=50546 (0xC572)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=2048 (0x800)
smb_bcc=18
[000] ED 60 A3 CA FE DE 9F 88  43 00 4F 00 52 00 50 00  .`......
C.O.R.P.
[010] 00 00                                             .. 
size=87
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=16385
smb_tid=0
smb_pid=26862
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=61440 (0xF000)
smb_vwv[8]=104 (0x68)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=55250 (0xD7D2)
smb_vwv[13]=40890 (0x9FBA)
smb_vwv[14]=50546 (0xC572)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=2048 (0x800)
smb_bcc=18
[000] ED 60 A3 CA FE DE 9F 88  43 00 4F 00 52 00 50 00  .`......
C.O.R.P.
[010] 00 00                                             .. 

write_socket(4,132)
write_socket(4,132) wrote 132
got smb length of 65
size=65
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=16385
smb_tid=0
smb_pid=26862
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=24
[000] 55 6E 69 78 00 53 61 6D  62 61 20 33 2E 30 2E 31  Unix.Sam ba
3.0.1
[010] 34 61 00 43 4F 52 50 00                           4a.CORP. 
size=65
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=16385
smb_tid=0
smb_pid=26862
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=24
[000] 55 6E 69 78 00 53 61 6D  62 61 20 33 2E 30 2E 31  Unix.Sam ba
3.0.1
[010] 34 61 00 43 4F 52 50 00                           4a.CORP. 
Domain=[CORP] OS=[Unix] Server=[Samba 3.0.14a]
 session setup ok
write_socket(4,69)
write_socket(4,69) wrote 69
got smb length of 46
size=46
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=26862
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=5
[000] 49 50 43 00 00                                    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=26862
smb_uid=100
smb_mid=1
smt_wct=14
smb_vwv[0]=19 (0x13)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1024 (0x400)
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]=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 FF FF  rLeh.B13
BWz.....
write_socket(4,99)
write_socket(4,99) wrote 99
got smb length of 181
size=181
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=26862
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=117 (0x75)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=117 (0x75)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=126
[000] 00 00 00 00 00 03 00 03  00 70 75 62 6C 69 63 00  ........
.public.
[010] 00 00 00 00 00 00 00 00  00 3C 00 00 00 49 50 43  ........
.<...IPC
[020] 24 00 00 00 00 00 00 00  00 00 00 03 00 3D 00 00  $.......
.....=..
[030] 00 41 44 4D 49 4E 24 00  00 00 00 00 00 00 00 03  .ADMIN$.
........
[040] 00 59 00 00 00 00 49 50  43 20 53 65 72 76 69 63  .Y....IP C
Servic
[050] 65 20 28 53 61 6D 62 61  20 33 2E 30 2E 31 34 61  e (Samba
3.0.14a
[060] 29 00 49 50 43 20 53 65  72 76 69 63 65 20 28 53  ).IPC Se rvice
(S
[070] 61 6D 62 61 20 33 2E 30  2E 31 34 61 29 00        amba 3.0 .14a).
size=181
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=26862
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=117 (0x75)
smb_vwv[2]=0 (0x0)

(and it goes on)
Joe Walton
Unix System Administrator 
Email: jwalton at alldata.net




More information about the samba mailing list