[Samba] slow smbclient samba 4.7.x
Harry Jede
walk2sun at arcor.de
Tue Apr 17 17:34:00 UTC 2018
Hi all,
I have found this:
time smbclient -L //debian -U%
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
software Disk
IPC$ IPC IPC Service (Samba 4.7.7-Debian)
HP_F4100 Printer HP Deskjet F4100 series
MX870-series Printer Canon MX870 series
l6p Printer l6p
MX435 Printer MX435
HP_6P Printer HP LaserJet 6p
HP_6P at debian Printer HP_6P
PDF Printer PDF
HP_LaserJet_6P_LPT_1 Printer HP LaserJet 6P
l6p_Rand Printer l6p
Canon_MX870_series Printer Canon MX870 series
MX430-series Printer Canon MX430 series
MX430USB-2 Printer MX430USB
mx-870-wlan Printer mx-870-wlan
Reconnecting with SMB1 for workgroup listing.
Server Comment
--------- -------
Workgroup Master
--------- -------
KRON DEBIAN
KRONPRINZ DEBBY-3
real 0m4,125s
user 0m0,051s
sys 0m0,015s
with an old 3.6.x client:
time smbclient -L //debian -U%
Domain=[KRON] OS=[Windows 6.1] Server=[Samba 4.7.7-Debian]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
software Disk
IPC$ IPC IPC Service (Samba 4.7.7-Debian)
HP_F4100 Printer HP Deskjet F4100 series
MX870-series Printer Canon MX870 series
l6p Printer l6p
MX435 Printer MX435
HP_6P Printer HP LaserJet 6p
HP_6P at debian Printer HP_6P
PDF Printer PDF
HP_LaserJet_6P_LPT_1 Printer HP LaserJet 6P
l6p_Rand Printer l6p
Canon_MX870_series Printer Canon MX870 series
MX430-series Printer Canon MX430 series
MX430USB-2 Printer MX430USB
mx-870-wlan Printer mx-870-wlan
Domain=[KRON] OS=[Windows 6.1] Server=[Samba 4.7.7-Debian]
Server Comment
--------- -------
DEBIAN Samba 4.7.7-Debian
XP2
Workgroup Master
--------- -------
KRON XP2
real 0m0.099s
user 0m0.008s
sys 0m0.004s
What is smbclient doing in four seconds??
[global]
vfs objects = acl_xattr
ea support = yes
min protocol = nt1
smb ports = 139 445
guest ok = yes
workgroup = kron
wins support = yes
interfaces = l0 br0
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*
\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[software]
path = /srv/images/Software/
read only = no
write list = hjede
guest ok = yes
browseable = yes
Attached log created with:
smbclient -d10 -L //debian -U% 2>&1 |tee smbclient-debug.txt
--
Gruss
Harry Jede
-------------- next part --------------
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
Processing section "[global]"
doing parameter vfs objects = acl_xattr
doing parameter ea support = yes
doing parameter min protocol = nt1
doing parameter smb ports = 139 445
doing parameter guest ok = yes
doing parameter workgroup = kron
doing parameter wins support = yes
doing parameter interfaces = l0 br0
doing parameter bind interfaces only = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter server role = standalone server
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter usershare allow guests = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
interpret_string_addr_internal: getaddrinfo failed for name l0 (flags 32) [Der Name oder der Dienst ist nicht bekannt]
interpret_interface: Can't find address for l0
added interface br0 ip=192.168.231.253 bcast=192.168.231.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="DEBIAN"
Client started (version 4.7.7-Debian).
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Keine Berechtigung
gencache_init: Opening cache file /var/cache/samba/gencache.tdb read-only.
Opening cache file at /var/run/samba/gencache_notrans.tdb
Adding cache entry with key=[AD_SITENAME/DOMAIN/] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986061 seconds in the past)
sitename_fetch: No stored sitename for realm ''
internal_resolve_name: looking up debian#20 (sitename (null))
Adding cache entry with key=[NBT/DEBIAN#20] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986061 seconds in the past)
no entry for debian#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name debian<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was Datei oder Verzeichnis nicht gefunden
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986061 seconds in the past)
wins_srv_is_dead: 127.0.0.1 is alive
resolve_wins: using WINS server 127.0.0.1 and tag '*'
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986063 seconds in the past)
wins_srv_is_dead: 127.0.0.1 is alive
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986063 seconds in the past)
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Di Apr 17 19:37:43 2018 CEST] (600 seconds ahead)
Marking wins server 127.0.0.1 dead for 600 seconds from source 127.0.0.1
resolve_hosts: Attempting host lookup for name debian<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for debian#20: 192.168.231.253
Adding cache entry with key=[NBT/DEBIAN#20] and timeout=[Di Apr 17 19:38:43 2018 CEST] (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.231.253:0
Connecting to 192.168.231.253 at port 445
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 2626560
SO_RCVBUF = 1061808
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
session request ok
negotiated dialect[SMB3_11] against server[debian]
got OID=1.3.6.1.4.1.311.2.2.10
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Starting GENSEC mechanism spnego
Starting GENSEC submechanism ntlmssp
negotiate: struct NEGOTIATE_MESSAGE
Signature : 'NTLMSSP'
MessageType : NtLmNegotiate (1)
NegotiateFlags : 0x62088215 (1644724757)
1: NTLMSSP_NEGOTIATE_UNICODE
0: NTLMSSP_NEGOTIATE_OEM
1: NTLMSSP_REQUEST_TARGET
1: NTLMSSP_NEGOTIATE_SIGN
0: NTLMSSP_NEGOTIATE_SEAL
0: NTLMSSP_NEGOTIATE_DATAGRAM
0: NTLMSSP_NEGOTIATE_LM_KEY
0: NTLMSSP_NEGOTIATE_NETWARE
1: NTLMSSP_NEGOTIATE_NTLM
0: NTLMSSP_NEGOTIATE_NT_ONLY
0: NTLMSSP_ANONYMOUS
0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
0: NTLMSSP_TARGET_TYPE_DOMAIN
0: NTLMSSP_TARGET_TYPE_SERVER
0: NTLMSSP_TARGET_TYPE_SHARE
1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
0: NTLMSSP_NEGOTIATE_IDENTIFY
0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
0: NTLMSSP_NEGOTIATE_TARGET_INFO
1: NTLMSSP_NEGOTIATE_VERSION
1: NTLMSSP_NEGOTIATE_128
1: NTLMSSP_NEGOTIATE_KEY_EXCH
0: NTLMSSP_NEGOTIATE_56
DomainNameLen : 0x0000 (0)
DomainNameMaxLen : 0x0000 (0)
DomainName : *
DomainName : ''
WorkstationLen : 0x0000 (0)
WorkstationMaxLen : 0x0000 (0)
Workstation : *
Workstation : ''
Version: struct ntlmssp_VERSION
ProductMajorVersion : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
ProductMinorVersion : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
ProductBuild : 0x0000 (0)
Reserved: ARRAY(3)
[0] : 0x00 (0)
[1] : 0x00 (0)
[2] : 0x00 (0)
NTLMRevisionCurrent : NTLMSSP_REVISION_W2K3 (15)
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_TARGET_TYPE_SERVER
NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
NTLMSSP_NEGOTIATE_TARGET_INFO
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
session setup ok
tconx ok
Bind RPC Pipe: host debian auth_type 0, auth_level 1
&r: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_BIND (11)
pfc_flags : 0x03 (3)
1: DCERPC_PFC_FLAG_FIRST
1: DCERPC_PFC_FLAG_LAST
0: DCERPC_PFC_FLAG_PENDING_CANCEL_OR_HDR_SIGNING
0: DCERPC_PFC_FLAG_CONC_MPX
0: DCERPC_PFC_FLAG_DID_NOT_EXECUTE
0: DCERPC_PFC_FLAG_MAYBE
0: DCERPC_PFC_FLAG_OBJECT_UUID
drep: ARRAY(4)
[0] : 0x10 (16)
[1] : 0x00 (0)
[2] : 0x00 (0)
[3] : 0x00 (0)
frag_length : 0x0048 (72)
auth_length : 0x0000 (0)
call_id : 0x00000001 (1)
u : union dcerpc_payload(case 11)
bind: struct dcerpc_bind
max_xmit_frag : 0x10b8 (4280)
max_recv_frag : 0x10b8 (4280)
assoc_group_id : 0x00000000 (0)
num_contexts : 0x01 (1)
ctx_list: ARRAY(1)
ctx_list: struct dcerpc_ctx_list
context_id : 0x0000 (0)
num_transfer_syntaxes : 0x01 (1)
abstract_syntax: struct ndr_syntax_id
uuid : 4b324fc8-1670-01d3-1278-5a47bf6ee188
if_version : 0x00000003 (3)
transfer_syntaxes: ARRAY(1)
transfer_syntaxes: struct ndr_syntax_id
uuid : 8a885d04-1ceb-11c9-9fe8-08002b104860
if_version : 0x00000002 (2)
auth_info : DATA_BLOB length=0
rpc_api_pipe: host debian
rpc_read_send: data_to_read: 52
state->pkt: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_BIND_ACK (12)
pfc_flags : 0x03 (3)
1: DCERPC_PFC_FLAG_FIRST
1: DCERPC_PFC_FLAG_LAST
0: DCERPC_PFC_FLAG_PENDING_CANCEL_OR_HDR_SIGNING
0: DCERPC_PFC_FLAG_CONC_MPX
0: DCERPC_PFC_FLAG_DID_NOT_EXECUTE
0: DCERPC_PFC_FLAG_MAYBE
0: DCERPC_PFC_FLAG_OBJECT_UUID
drep: ARRAY(4)
[0] : 0x10 (16)
[1] : 0x00 (0)
[2] : 0x00 (0)
[3] : 0x00 (0)
frag_length : 0x0044 (68)
auth_length : 0x0000 (0)
call_id : 0x00000001 (1)
u : union dcerpc_payload(case 12)
bind_ack: struct dcerpc_bind_ack
max_xmit_frag : 0x10b8 (4280)
max_recv_frag : 0x10b8 (4280)
assoc_group_id : 0x000053f0 (21488)
secondary_address_size : 0x000d (13)
secondary_address : '\PIPE\srvsvc'
_pad1 : DATA_BLOB length=1
[0000] 00 .
num_results : 0x01 (1)
ctx_list: ARRAY(1)
ctx_list: struct dcerpc_ack_ctx
result : DCERPC_BIND_ACK_RESULT_ACCEPTANCE (0)
reason : union dcerpc_bind_ack_reason(case 0)
value : DCERPC_BIND_ACK_REASON_NOT_SPECIFIED (0)
syntax: struct ndr_syntax_id
uuid : 8a885d04-1ceb-11c9-9fe8-08002b104860
if_version : 0x00000002 (2)
auth_info : DATA_BLOB length=0
rpc_api_pipe: got frag len of 68 at offset 0: NT_STATUS_OK
rpc_api_pipe: host debian returned 68 bytes.
check_bind_response: accepted!
cli_rpc_pipe_open_noauth: opened pipe srvsvc to machine debian and bound anonymously.
srvsvc_NetShareEnumAll: struct srvsvc_NetShareEnumAll
in: struct srvsvc_NetShareEnumAll
server_unc : *
server_unc : 'debian'
info_ctr : *
info_ctr: struct srvsvc_NetShareInfoCtr
level : 0x00000001 (1)
ctr : union srvsvc_NetShareCtr(case 1)
ctr1 : *
ctr1: struct srvsvc_NetShareCtr1
count : 0x00000000 (0)
array : NULL
max_buffer : 0xffffffff (4294967295)
resume_handle : *
resume_handle : 0x00000000 (0)
&r: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_REQUEST (0)
pfc_flags : 0x03 (3)
1: DCERPC_PFC_FLAG_FIRST
1: DCERPC_PFC_FLAG_LAST
0: DCERPC_PFC_FLAG_PENDING_CANCEL_OR_HDR_SIGNING
0: DCERPC_PFC_FLAG_CONC_MPX
0: DCERPC_PFC_FLAG_DID_NOT_EXECUTE
0: DCERPC_PFC_FLAG_MAYBE
0: DCERPC_PFC_FLAG_OBJECT_UUID
drep: ARRAY(4)
[0] : 0x10 (16)
[1] : 0x00 (0)
[2] : 0x00 (0)
[3] : 0x00 (0)
frag_length : 0x0018 (24)
auth_length : 0x0000 (0)
call_id : 0x00000002 (2)
u : union dcerpc_payload(case 0)
request: struct dcerpc_request
alloc_hint : 0x00000040 (64)
context_id : 0x0000 (0)
opnum : 0x000f (15)
object : union dcerpc_object(case 0)
empty: struct dcerpc_empty
stub_and_verifier : DATA_BLOB length=0
rpc_api_pipe: host debian
rpc_read_send: data_to_read: 1396
state->pkt: struct ncacn_packet
rpc_vers : 0x05 (5)
rpc_vers_minor : 0x00 (0)
ptype : DCERPC_PKT_RESPONSE (2)
pfc_flags : 0x03 (3)
1: DCERPC_PFC_FLAG_FIRST
1: DCERPC_PFC_FLAG_LAST
0: DCERPC_PFC_FLAG_PENDING_CANCEL_OR_HDR_SIGNING
0: DCERPC_PFC_FLAG_CONC_MPX
0: DCERPC_PFC_FLAG_DID_NOT_EXECUTE
0: DCERPC_PFC_FLAG_MAYBE
0: DCERPC_PFC_FLAG_OBJECT_UUID
drep: ARRAY(4)
[0] : 0x10 (16)
[1] : 0x00 (0)
[2] : 0x00 (0)
[3] : 0x00 (0)
frag_length : 0x0584 (1412)
auth_length : 0x0000 (0)
call_id : 0x00000002 (2)
u : union dcerpc_payload(case 2)
response: struct dcerpc_response
alloc_hint : 0x0000056c (1388)
context_id : 0x0000 (0)
cancel_count : 0x00 (0)
reserved : 0x00 (0)
stub_and_verifier : DATA_BLOB length=1388
[0000] 01 00 00 00 01 00 00 00 0C 00 02 00 10 00 00 00 ........ ........
[0010] 10 00 02 00 10 00 00 00 14 00 02 00 00 00 00 00 ........ ........
[0020] 18 00 02 00 1C 00 02 00 00 00 00 00 20 00 02 00 ........ .... ...
[0030] 24 00 02 00 03 00 00 80 28 00 02 00 2C 00 02 00 $....... (...,...
[0040] 01 00 00 00 30 00 02 00 34 00 02 00 01 00 00 00 ....0... 4.......
[0050] 38 00 02 00 3C 00 02 00 01 00 00 00 40 00 02 00 8...<... .... at ...
[0060] 44 00 02 00 01 00 00 00 48 00 02 00 4C 00 02 00 D....... H...L...
[0070] 01 00 00 00 50 00 02 00 54 00 02 00 01 00 00 00 ....P... T.......
[0080] 58 00 02 00 5C 00 02 00 01 00 00 00 60 00 02 00 X...\... ....`...
[0090] 64 00 02 00 01 00 00 00 68 00 02 00 6C 00 02 00 d....... h...l...
[00A0] 01 00 00 00 70 00 02 00 74 00 02 00 01 00 00 00 ....p... t.......
[00B0] 78 00 02 00 7C 00 02 00 01 00 00 00 80 00 02 00 x...|... ........
[00C0] 84 00 02 00 01 00 00 00 88 00 02 00 8C 00 02 00 ........ ........
[00D0] 01 00 00 00 90 00 02 00 07 00 00 00 00 00 00 00 ........ ........
[00E0] 07 00 00 00 70 00 72 00 69 00 6E 00 74 00 24 00 ....p.r. i.n.t.$.
[00F0] 00 00 00 00 10 00 00 00 00 00 00 00 10 00 00 00 ........ ........
[0100] 50 00 72 00 69 00 6E 00 74 00 65 00 72 00 20 00 P.r.i.n. t.e.r. .
[0110] 44 00 72 00 69 00 76 00 65 00 72 00 73 00 00 00 D.r.i.v. e.r.s...
[0120] 09 00 00 00 00 00 00 00 09 00 00 00 73 00 6F 00 ........ ....s.o.
[0130] 66 00 74 00 77 00 61 00 72 00 65 00 00 00 00 00 f.t.w.a. r.e.....
[0140] 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ........ ........
[0150] 05 00 00 00 00 00 00 00 05 00 00 00 49 00 50 00 ........ ....I.P.
[0160] 43 00 24 00 00 00 00 00 21 00 00 00 00 00 00 00 C.$..... !.......
[0170] 21 00 00 00 49 00 50 00 43 00 20 00 53 00 65 00 !...I.P. C. .S.e.
[0180] 72 00 76 00 69 00 63 00 65 00 20 00 28 00 53 00 r.v.i.c. e. .(.S.
[0190] 61 00 6D 00 62 00 61 00 20 00 34 00 2E 00 37 00 a.m.b.a. .4...7.
[01A0] 2E 00 37 00 2D 00 44 00 65 00 62 00 69 00 61 00 ..7.-.D. e.b.i.a.
[01B0] 6E 00 29 00 00 00 00 00 09 00 00 00 00 00 00 00 n.)..... ........
[01C0] 09 00 00 00 48 00 50 00 5F 00 46 00 34 00 31 00 ....H.P. _.F.4.1.
[01D0] 30 00 30 00 00 00 00 00 18 00 00 00 00 00 00 00 0.0..... ........
[01E0] 18 00 00 00 48 00 50 00 20 00 44 00 65 00 73 00 ....H.P. .D.e.s.
[01F0] 6B 00 6A 00 65 00 74 00 20 00 46 00 34 00 31 00 k.j.e.t. .F.4.1.
[0200] 30 00 30 00 20 00 73 00 65 00 72 00 69 00 65 00 0.0. .s. e.r.i.e.
[0210] 73 00 00 00 0D 00 00 00 00 00 00 00 0D 00 00 00 s....... ........
[0220] 4D 00 58 00 38 00 37 00 30 00 2D 00 73 00 65 00 M.X.8.7. 0.-.s.e.
[0230] 72 00 69 00 65 00 73 00 00 00 00 00 13 00 00 00 r.i.e.s. ........
[0240] 00 00 00 00 13 00 00 00 43 00 61 00 6E 00 6F 00 ........ C.a.n.o.
[0250] 6E 00 20 00 4D 00 58 00 38 00 37 00 30 00 20 00 n. .M.X. 8.7.0. .
[0260] 73 00 65 00 72 00 69 00 65 00 73 00 00 00 00 00 s.e.r.i. e.s.....
[0270] 04 00 00 00 00 00 00 00 04 00 00 00 6C 00 36 00 ........ ....l.6.
[0280] 70 00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 p....... ........
[0290] 6C 00 36 00 70 00 00 00 06 00 00 00 00 00 00 00 l.6.p... ........
[02A0] 06 00 00 00 4D 00 58 00 34 00 33 00 35 00 00 00 ....M.X. 4.3.5...
[02B0] 06 00 00 00 00 00 00 00 06 00 00 00 4D 00 58 00 ........ ....M.X.
[02C0] 34 00 33 00 35 00 00 00 06 00 00 00 00 00 00 00 4.3.5... ........
[02D0] 06 00 00 00 48 00 50 00 5F 00 36 00 50 00 00 00 ....H.P. _.6.P...
[02E0] 0F 00 00 00 00 00 00 00 0F 00 00 00 48 00 50 00 ........ ....H.P.
[02F0] 20 00 4C 00 61 00 73 00 65 00 72 00 4A 00 65 00 .L.a.s. e.r.J.e.
[0300] 74 00 20 00 36 00 70 00 00 00 00 00 0D 00 00 00 t. .6.p. ........
[0310] 00 00 00 00 0D 00 00 00 48 00 50 00 5F 00 36 00 ........ H.P._.6.
[0320] 50 00 40 00 64 00 65 00 62 00 69 00 61 00 6E 00 P. at .d.e. b.i.a.n.
[0330] 00 00 00 00 06 00 00 00 00 00 00 00 06 00 00 00 ........ ........
[0340] 48 00 50 00 5F 00 36 00 50 00 00 00 04 00 00 00 H.P._.6. P.......
[0350] 00 00 00 00 04 00 00 00 50 00 44 00 46 00 00 00 ........ P.D.F...
[0360] 04 00 00 00 00 00 00 00 04 00 00 00 50 00 44 00 ........ ....P.D.
[0370] 46 00 00 00 15 00 00 00 00 00 00 00 15 00 00 00 F....... ........
[0380] 48 00 50 00 5F 00 4C 00 61 00 73 00 65 00 72 00 H.P._.L. a.s.e.r.
[0390] 4A 00 65 00 74 00 5F 00 36 00 50 00 5F 00 4C 00 J.e.t._. 6.P._.L.
[03A0] 50 00 54 00 5F 00 31 00 00 00 00 00 0F 00 00 00 P.T._.1. ........
[03B0] 00 00 00 00 0F 00 00 00 48 00 50 00 20 00 4C 00 ........ H.P. .L.
[03C0] 61 00 73 00 65 00 72 00 4A 00 65 00 74 00 20 00 a.s.e.r. J.e.t. .
[03D0] 36 00 50 00 00 00 00 00 09 00 00 00 00 00 00 00 6.P..... ........
[03E0] 09 00 00 00 6C 00 36 00 70 00 5F 00 52 00 61 00 ....l.6. p._.R.a.
[03F0] 6E 00 64 00 00 00 00 00 04 00 00 00 00 00 00 00 n.d..... ........
[0400] 04 00 00 00 6C 00 36 00 70 00 00 00 13 00 00 00 ....l.6. p.......
[0410] 00 00 00 00 13 00 00 00 43 00 61 00 6E 00 6F 00 ........ C.a.n.o.
[0420] 6E 00 5F 00 4D 00 58 00 38 00 37 00 30 00 5F 00 n._.M.X. 8.7.0._.
[0430] 73 00 65 00 72 00 69 00 65 00 73 00 00 00 00 00 s.e.r.i. e.s.....
[0440] 13 00 00 00 00 00 00 00 13 00 00 00 43 00 61 00 ........ ....C.a.
[0450] 6E 00 6F 00 6E 00 20 00 4D 00 58 00 38 00 37 00 n.o.n. . M.X.8.7.
[0460] 30 00 20 00 73 00 65 00 72 00 69 00 65 00 73 00 0. .s.e. r.i.e.s.
[0470] 00 00 00 00 0D 00 00 00 00 00 00 00 0D 00 00 00 ........ ........
[0480] 4D 00 58 00 34 00 33 00 30 00 2D 00 73 00 65 00 M.X.4.3. 0.-.s.e.
[0490] 72 00 69 00 65 00 73 00 00 00 00 00 13 00 00 00 r.i.e.s. ........
[04A0] 00 00 00 00 13 00 00 00 43 00 61 00 6E 00 6F 00 ........ C.a.n.o.
[04B0] 6E 00 20 00 4D 00 58 00 34 00 33 00 30 00 20 00 n. .M.X. 4.3.0. .
[04C0] 73 00 65 00 72 00 69 00 65 00 73 00 00 00 00 00 s.e.r.i. e.s.....
[04D0] 0B 00 00 00 00 00 00 00 0B 00 00 00 4D 00 58 00 ........ ....M.X.
[04E0] 34 00 33 00 30 00 55 00 53 00 42 00 2D 00 32 00 4.3.0.U. S.B.-.2.
[04F0] 00 00 00 00 09 00 00 00 00 00 00 00 09 00 00 00 ........ ........
[0500] 4D 00 58 00 34 00 33 00 30 00 55 00 53 00 42 00 M.X.4.3. 0.U.S.B.
[0510] 00 00 00 00 0C 00 00 00 00 00 00 00 0C 00 00 00 ........ ........
[0520] 6D 00 78 00 2D 00 38 00 37 00 30 00 2D 00 77 00 m.x.-.8. 7.0.-.w.
[0530] 6C 00 61 00 6E 00 00 00 0C 00 00 00 00 00 00 00 l.a.n... ........
[0540] 0C 00 00 00 6D 00 78 00 2D 00 38 00 37 00 30 00 ....m.x. -.8.7.0.
[0550] 2D 00 77 00 6C 00 61 00 6E 00 00 00 10 00 00 00 -.w.l.a. n.......
[0560] 94 00 02 00 00 00 00 00 00 00 00 00 ........ ....
Got pdu len 1412, data_len 1388
rpc_api_pipe: got frag len of 1412 at offset 0: NT_STATUS_OK
rpc_api_pipe: host debian returned 1388 bytes.
srvsvc_NetShareEnumAll: struct srvsvc_NetShareEnumAll
out: struct srvsvc_NetShareEnumAll
info_ctr : *
info_ctr: struct srvsvc_NetShareInfoCtr
level : 0x00000001 (1)
ctr : union srvsvc_NetShareCtr(case 1)
ctr1 : *
ctr1: struct srvsvc_NetShareCtr1
count : 0x00000010 (16)
array : *
array: ARRAY(16)
array: struct srvsvc_NetShareInfo1
name : *
name : 'print$'
type : STYPE_DISKTREE (0x0)
comment : *
comment : 'Printer Drivers'
array: struct srvsvc_NetShareInfo1
name : *
name : 'software'
type : STYPE_DISKTREE (0x0)
comment : *
comment : ''
array: struct srvsvc_NetShareInfo1
name : *
name : 'IPC$'
type : STYPE_IPC_HIDDEN (0x80000003)
comment : *
comment : 'IPC Service (Samba 4.7.7-Debian)'
array: struct srvsvc_NetShareInfo1
name : *
name : 'HP_F4100'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'HP Deskjet F4100 series'
array: struct srvsvc_NetShareInfo1
name : *
name : 'MX870-series'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'Canon MX870 series'
array: struct srvsvc_NetShareInfo1
name : *
name : 'l6p'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'l6p'
array: struct srvsvc_NetShareInfo1
name : *
name : 'MX435'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'MX435'
array: struct srvsvc_NetShareInfo1
name : *
name : 'HP_6P'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'HP LaserJet 6p'
array: struct srvsvc_NetShareInfo1
name : *
name : 'HP_6P at debian'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'HP_6P'
array: struct srvsvc_NetShareInfo1
name : *
name : 'PDF'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'PDF'
array: struct srvsvc_NetShareInfo1
name : *
name : 'HP_LaserJet_6P_LPT_1'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'HP LaserJet 6P'
array: struct srvsvc_NetShareInfo1
name : *
name : 'l6p_Rand'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'l6p'
array: struct srvsvc_NetShareInfo1
name : *
name : 'Canon_MX870_series'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'Canon MX870 series'
array: struct srvsvc_NetShareInfo1
name : *
name : 'MX430-series'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'Canon MX430 series'
array: struct srvsvc_NetShareInfo1
name : *
name : 'MX430USB-2'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'MX430USB'
array: struct srvsvc_NetShareInfo1
name : *
name : 'mx-870-wlan'
type : STYPE_PRINTQ (0x1)
comment : *
comment : 'mx-870-wlan'
totalentries : *
totalentries : 0x00000010 (16)
resume_handle : *
resume_handle : 0x00000000 (0)
result : WERR_OK
Adding cache entry with key=[AD_SITENAME/DOMAIN/] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986063 seconds in the past)
sitename_fetch: No stored sitename for realm ''
internal_resolve_name: looking up debian#20 (sitename (null))
Adding cache entry with key=[NBT/DEBIAN#20] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986063 seconds in the past)
no entry for debian#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name debian<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was Datei oder Verzeichnis nicht gefunden
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986063 seconds in the past)
wins_srv_is_dead: 127.0.0.1 is alive
resolve_wins: using WINS server 127.0.0.1 and tag '*'
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986065 seconds in the past)
wins_srv_is_dead: 127.0.0.1 is alive
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Do Jan 1 01:00:00 1970 CET] (-1523986065 seconds in the past)
Adding cache entry with key=[WINS_SRV_DEAD/127.0.0.1,0.0.0.0] and timeout=[Di Apr 17 19:37:45 2018 CEST] (600 seconds ahead)
Marking wins server 127.0.0.1 dead for 600 seconds from source 127.0.0.1
resolve_hosts: Attempting host lookup for name debian<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for debian#20: 192.168.231.253
Adding cache entry with key=[NBT/DEBIAN#20] and timeout=[Di Apr 17 19:38:45 2018 CEST] (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.231.253:0
Connecting to 192.168.231.253 at port 139
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 2626560
SO_RCVBUF = 1061808
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
session request ok
negotiated dialect[NT1] against server[debian]
got OID=1.3.6.1.4.1.311.2.2.10
Starting GENSEC mechanism spnego
Starting GENSEC submechanism ntlmssp
negotiate: struct NEGOTIATE_MESSAGE
Signature : 'NTLMSSP'
MessageType : NtLmNegotiate (1)
NegotiateFlags : 0x62088215 (1644724757)
1: NTLMSSP_NEGOTIATE_UNICODE
0: NTLMSSP_NEGOTIATE_OEM
1: NTLMSSP_REQUEST_TARGET
1: NTLMSSP_NEGOTIATE_SIGN
0: NTLMSSP_NEGOTIATE_SEAL
0: NTLMSSP_NEGOTIATE_DATAGRAM
0: NTLMSSP_NEGOTIATE_LM_KEY
0: NTLMSSP_NEGOTIATE_NETWARE
1: NTLMSSP_NEGOTIATE_NTLM
0: NTLMSSP_NEGOTIATE_NT_ONLY
0: NTLMSSP_ANONYMOUS
0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
0: NTLMSSP_TARGET_TYPE_DOMAIN
0: NTLMSSP_TARGET_TYPE_SERVER
0: NTLMSSP_TARGET_TYPE_SHARE
1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
0: NTLMSSP_NEGOTIATE_IDENTIFY
0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
0: NTLMSSP_NEGOTIATE_TARGET_INFO
1: NTLMSSP_NEGOTIATE_VERSION
1: NTLMSSP_NEGOTIATE_128
1: NTLMSSP_NEGOTIATE_KEY_EXCH
0: NTLMSSP_NEGOTIATE_56
DomainNameLen : 0x0000 (0)
DomainNameMaxLen : 0x0000 (0)
DomainName : *
DomainName : ''
WorkstationLen : 0x0000 (0)
WorkstationMaxLen : 0x0000 (0)
Workstation : *
Workstation : ''
Version: struct ntlmssp_VERSION
ProductMajorVersion : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
ProductMinorVersion : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
ProductBuild : 0x0000 (0)
Reserved: ARRAY(3)
[0] : 0x00 (0)
[1] : 0x00 (0)
[2] : 0x00 (0)
NTLMRevisionCurrent : NTLMSSP_REVISION_W2K3 (15)
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_TARGET_TYPE_SERVER
NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
NTLMSSP_NEGOTIATE_TARGET_INFO
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62008a15
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_ANONYMOUS
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - using NTLM1
session setup ok
tconx ok
num_setup=0, max_setup=0, param_total=33, this_param=33, max_param=8, data_total=0, this_data=0, max_data=65535, param_offset=92, param_pad=2, param_disp=0, data_offset=126, data_pad=1, data_disp=0
num_setup=0, max_setup=0, param_total=33, this_param=33, max_param=8, data_total=0, this_data=0, max_data=65535, param_offset=92, param_pad=2, param_disp=0, data_offset=126, data_pad=1, data_disp=0
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
software Disk
IPC$ IPC IPC Service (Samba 4.7.7-Debian)
HP_F4100 Printer HP Deskjet F4100 series
MX870-series Printer Canon MX870 series
l6p Printer l6p
MX435 Printer MX435
HP_6P Printer HP LaserJet 6p
HP_6P at debian Printer HP_6P
PDF Printer PDF
HP_LaserJet_6P_LPT_1 Printer HP LaserJet 6P
l6p_Rand Printer l6p
Canon_MX870_series Printer Canon MX870 series
MX430-series Printer Canon MX430 series
MX430USB-2 Printer MX430USB
mx-870-wlan Printer mx-870-wlan
Reconnecting with SMB1 for workgroup listing.
Server Comment
--------- -------
Workgroup Master
--------- -------
KRON DEBIAN
KRONPRINZ DEBBY-3
More information about the samba
mailing list