repo.or.cz
/
Samba
/
vl.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
libcli/smb: encrypt SMB2 traffic if nedded/desired.
2012-07-23
Stefan Met
z
macher
libc
l
i
/s
m
b:
e
n
crypt SMB2 traffic if
n
edded/de
s
ired
.
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzmacher
libcli/smb: i
n
c
rement nbt
_
len, when we h
a
ve the
fully
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
S
t
efan
Metz
m
acher
libcli/smb: ma
i
ntain smb2
.
sh
o
uld_s
i
gn on smbXcli_req_state
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzm
a
cher
libcli/smb: mak
e
use
of SM
B
2_HDR_B
O
DY as header size
commit
|
commitdiff
|
tree
2012-07-23
Ste
f
an Metz
m
acher
l
i
bcl
i
/smb: pa
r
se the SMB2_
T
RANSFORM header and decrypt
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
St
e
fa
n
M
etzmacher
libcli/
s
mb:
c
reate
4 iovecs pe
r
r
equest in smb2cli_inbuf
_
pa
r
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
St
e
fan Metzmacher
libcli/smb
:
prepa
r
e [e
n
|de]cryption
_
k
e
y fo
r
SMB3
commit
|
commitdiff
|
tree
2012-07-23
Stef
a
n Metzmac
h
er
l
i
bcli/smb: copy th
e
appl
i
c
a
tion_key in smb2cli
_
session_c
r
ea
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
S
t
efan Met
z
m
a
c
h
e
r
l
i
b
cli/smb
:
check t
h
e buffer le
n
gth
i
n smbXcli_negpr
o
t_
d
i
s
p
a
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzmacher
li
b
cl
i
/smb: only
pass the smb2 b
u
ffer to smb
2
cli_inbuf_parse
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzmacher
l
i
bcli/smb: add sm
b
2_si
g
ning_
[
e
n|e
]
c
rypt_pdu()
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzmacher
libcli/s
m
b
: construct the signin
g
_key before for
m
ing
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
Stefan M
e
t
z
macher
lib/crypto: add aes_ccm_
1
28
commit
|
commitdiff
|
tree
2012-07-23
St
e
f
an Met
z
m
a
cher
l
i
b
cli/smb: add SMB2_SE
S
SI
O
N_FLAG_ENCRYPT_DATA
commit
|
commitdiff
|
tree
2012-07-23
Ste
f
an Metzmacher
libcli/s
m
b: a
d
d S
M
B
2
_TRANS
F
O
RM m
a
cros
commit
|
commitdiff
|
tree
2012-07-23
S
t
e
fan Metzmac
h
er
s
3
:test_
s
mb2: cop
y
the session_channel
f
rom
t
he
prima
r
y
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
Stefan Metzmacher
s3:smb2_tcon: reject access to shares mark a
s
"
smb
.
.
.
commit
|
commitdiff
|
tree
2012-07-23
Stefa
n
Metzmache
r
s
3
:smbd: if a fs
p
h
a
s
fsp->de
f
err
e
d
_close
,
clients
.
.
.
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-29
Stefan
Me
t
zmacher
s3:smbd
:
make use of smbXsrv_open fo
r
smb1/
2
/
3
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-29
Stef
a
n
Metzmach
e
r
s3:sm
b
d:
a
dd smbX
s
rv_open*
i
nfras
t
r
u
ctu
r
e
commit
|
commitdiff
|
tree
2012-06-29
Stefan Metzmacher
s3:smbXsrv
.
idl
:
a
d
d smbXsrv_open* structures
commit
|
commitdiff
|
tree
2012-06-29
Stefan Metzmacher
docs-
x
ml: doc
u
ment "server
max p
r
oto
c
o
l
" "
S
M
B2" s
e
lects
.
.
.
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzm
a
che
r
s3:param: cha
n
ge "server max p
r
o
t
ocol" to "SMB2" (SMB2
_
10)
commit
|
commitdiff
|
tree
2012-06-28
St
e
fan Metzmacher
lib/param: let "SMB
2
" sel
e
ct PROTOCOL_S
M
B
2_10
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s3:
s
m
b2_server: make the logic
i
n
s
m
bd_
s
mb2_reques
t
_
v
erify_c
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metz
m
acher
s
3
:sm
b
2_s
e
rver
:
simplify smbd_sm
b
2_request_verify
_
creditchar
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s3:smb2_negprot: suppo
r
t
SMB2_CAP_LARGE
_
MTU
on
everything
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s3:smb
2
_
s
erver: grant extr
a
c
r
edits for
mu
l
ti-cre
d
it
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
S
t
efan Metzmacher
s3:smb
2
_server: implem
e
n
t c
r
e
dit grant
i
ng similar to
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
St
e
fan Metzmac
h
er
s
3:smb2_ser
v
er:
make sure seque
n
ce nu
m
b
e
rs
don't wrap
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
S
t
efan Metzmach
e
r
s
3:
s
mb2_se
r
v
e
r:
make sure we don't gra
n
t more credits
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
St
e
fan Metzmacher
s3:smb
2
_server: check the credit_charge against
the
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Ste
f
an Metzm
a
che
r
s3:
s
mb2_serve
r
: s
p
lit
out a smb
2
_validate_s
e
q
u
ence_number
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s3
:
smb2
_
s
e
rver: clear seque
n
ce
window if we got the
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
S
tefan Metzmacher
s3:smb2_server: fi
x
cal
c
u
l
ati
o
n of th
e
next bitmap_offset
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s3:smb2_server
:
remove un
u
se
d
and confusin
g
DEFAULT_SMB2_
M
AX
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzm
a
cher
s3
:
s
mb2_se
r
ver: c
a
ll
s
m
b
d
_smb2_request
_
valid
a
t
e() also
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
S
te
f
an Metzmacher
s3
:
smb2_ser
v
er: start the connectio
n
w
i
th one credit
.
.
.
commit
|
commitdiff
|
tree
2012-06-28
Stefan Metzmacher
s
3
:
smbd: change nt_open_
p
ipe() to uint16_t p
n
u
m/fnum
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-28
Stefan
Metz
m
acher
s3:smb2_c
r
e
a
te: add useful
l
DEBUG()
m
es
s
age
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-28
Stefan
Metzma
c
h
e
r
s3:smbd/fil
e
s: fsp->fnum is uint64_t no
t
int!
commit
|
commitdiff
|
tree
2012-06-28
Stefan M
e
tz
m
acher
s3:brlock: s/i
n
t
/uint64_t fo
r
f
num
commit
|
commitdiff
|
tree
2012-06-28
Stefan
Metzmacher
s3:b
r
lock: ad
d
some const to print_lock
_
s
truct()
commit
|
commitdiff
|
tree
2012-06-28
Stef
a
n Me
t
zmac
h
er
s3:wscrip
t
:
use L
O
CK
I
NG
subs
y
s
t
em fo
r
s
m
b
tortu
r
e3
commit
|
commitdiff
|
tree
2012-06-26
Volk
e
r Le
n
decke
s3:
R
e
store async
i/o with the "native" AIO in
t
erface
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-26
Stef
a
n Met
z
macher
s3:smbXsrv_tcon: pass max_tcons explicitly for s
m
b
Xsrv_tcon_
.
.
.
commit
|
commitdiff
|
tree
2012-06-26
Ste
f
an Met
z
macher
s3:smb
X
srv_
s
es
s
ion: pass max_s
e
ssions
expl
i
ci
t
ly
fo
r
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
S
t
efan Metzmac
h
er
s3:selftest: run SMB2-SESSI
O
N-RECONN
E
CT
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an Me
t
z
macher
selft
e
st/known
:
s
a
mb
a
3
.
sm
b
2
.
s
e
s
si
o
n
.
*
r
econnect passes n
o
w
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:smb2_ses
s
setup: make use of
s
mb
2
srv_session_close_
p
reviou
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Stefan M
e
tzma
c
her
s3:smbXsrv_s
e
ssion: react o
n
MSG
_
S
M
B
XSRV_SESSION_CLOSE
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an M
e
tzmac
h
er
s3:smbXsr
v
_ses
s
io
n
: add
s
mb2srv_
s
ession_close_previo
u
s_se
n
d
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
a
n
Metzmacher
s3:smbXsrv
.
i
d
l: add s
m
bXs
r
v_se
s
sion
_
clos
e
*
commit
|
commitdiff
|
tree
2012-06-25
S
t
e
fa
n
Metzmacher
s3:
m
essaging
.
idl: define MSG_SMBXSRV_
S
E
S
SION_CLOSE
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
a
n
Me
t
zm
a
cher
s3:smb2_sesss
e
tup:
i
n
line gensec_sessi
o
n_in
f
o()
c
a
l
l
commit
|
commitdiff
|
tree
2012-06-25
Stefan M
e
tzmacher
s3:sm
b
2
_sesssetup: make use of gensec
_
up
d
ate_
s
end/recv
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:smb2_sesssetup: inline most
of s
m
b
d
_smb2_se
s
sion_set
u
p()
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzm
a
cher
s3:selftest: run raw
.
session
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:
s
elft
e
st:
run rpc
.
samba
3
.
smb-r
e
auth
1
and rpc
.
sam
b
a3
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
St
e
fan Metzmache
r
s3:sm
b
d
/
ses
s
set
u
p:
implement dynamic re
-
a
u
thentication
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an
M
etzma
c
h
e
r
s3:se
l
f
t
est: run
s
mbtort
u
re3 SMB2-SE
S
S
ION-REAU
T
H
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an Met
z
m
a
c
her
s3:se
l
ftest: run smb
2
.
sess
i
o
n as nt
l
m and kr
b
5
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
selftest/
k
nownfail: only
reauth
5
st
i
ll fails
commit
|
commitdiff
|
tree
2012-06-25
Stefan
M
etzmac
h
er
s3:smb2_sessse
t
up: im
p
le
m
ent dynamic r
e
-authentication
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an Metzmac
h
er
docs-x
m
l:
document "serv
e
r
m
ax pr
o
tocol" S
M
B3 a
n
d SMB3_00
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
docs-xm
l
: fix ref
e
r
e
nce from "serv
e
r
min proto
c
ol"
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Stef
a
n Metzmacher
se
l
fte
s
t/Samba3: 'server
m
ax protocol
=
SM
B
3'
commit
|
commitdiff
|
tree
2012-06-25
Stefan Met
z
mac
h
e
r
lib/param: add "SMB3
"
as
a
l
ias f
o
r
P
R
O
TOCOL_SMB
3
_00
commit
|
commitdiff
|
tree
2012-06-25
Stefan M
e
tzmacher
s3:smb
d
:
rem
o
ve now unused invalidate_all_vuids()
commit
|
commitdiff
|
tree
2012-06-25
Micha
e
l
Adam
s3:
s
mbd: remov
e
now unu
s
ed
c
onn_close_all()
...Programmed-With: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-25
Michael A
d
am
s3:smbd: use
smbXsrv_session_logo
f
f
_
a
l
l() and smb1srv_tcon_d
.
.
.
...Programmed-With: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:sm
b
d
:
mak
e
use of sm
b
Xsrv_session f
o
r
s
mb1
commit
|
commitdiff
|
tree
2012-06-25
Stef
a
n Metzmach
e
r
s3:smbd: make use of smbXsrv_tco
n
for s
m
b1
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:smbd: make
use of smbXsrv_tco
n
and smbXsrv_session
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzmacher
s3:sm
b
2
_
se
s
s
setup
:
add
support for SM
B
2
.
24/3
.
00
s
ignin
g
commit
|
commitdiff
|
tree
2012-06-25
Stefa
n
M
etzmacher
s
3
:smb2_
s
esss
e
tup: mak
e
use
o
f the sm
b
Xsrv_session
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
S
t
efan Metzma
c
her
s
3
:s
m
bXsrv_sessio
n
: init and d
i
scon
n
e
ct smbXsrv_tcon
.
.
.
commit
|
commitdiff
|
tree
2012-06-25
S
t
e
f
an Metzmac
h
er
s3:
s
mbd: add
s
mbXsr
v
_tcon in
f
r
a
structure
commit
|
commitdiff
|
tree
2012-06-25
S
tefan Metz
m
a
c
h
e
r
s3:smbXsrv
.
idl: add sm
b
Xs
r
v_tc
o
n* struct
u
res
commit
|
commitdiff
|
tree
2012-06-25
Stefan
Metzma
c
h
e
r
sq smbXsrv_ses
s
ion_global_
s
tore n
o
co
n
nection
commit
|
commitdiff
|
tree
2012-06-25
Stef
a
n Metzmacher
s3:smbd: add smbXsrv_s
e
ssion infrast
r
uc
t
ur
e
commit
|
commitdiff
|
tree
2012-06-25
Stefan Metzma
c
her
s3:smbXsrv
.
i
d
l: add smbXsrv_s
e
ssion* structures
commit
|
commitdiff
|
tree
2012-06-25
Ste
f
an Metzmacher
s3:smb
d
: ad
d
smbXs
r
v_ver
s
ion_* i
n
fra
s
t
ruc
t
ure
commit
|
commitdiff
|
tree
2012-06-25
Stefan Me
t
zm
a
ch
e
r
s3:librpc/
i
d
l
/smb
X
s
rv
.
idl: add smbX
s
rv_v
e
r
s
ion_*
st
r
uctures
commit
|
commitdiff
|
tree
2012-06-25
S
t
e
f
a
n
Met
z
macher
s3:l
i
brpc: add smbXsrv
.
id
l
commit
|
commitdiff
|
tree
2012-06-25
Vo
l
ker Lendecke
s3: Fix a typo
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-25
V
o
l
ker Lend
e
ck
e
s
3
: Avoid a cal
l
to
ser
v
er_event_cont
e
xt()
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Volker Lendecke
s3
-
vfs_gpfs
:
Fi
x
bug #9003, p
o
six acl on g
p
fs
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
V
o
l
ker Lendec
k
e
s3:
G
ive
m
achine passwo
r
d
changes 10
minutes of time
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
M
ichae
l
Adam
s3:tort
u
re:sm
b
2:
p
ass smb2-sessi
o
n
-
reconn
e
c
t tes
t
.
.
.
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Ste
f
a
n Metzmac
h
er
dbwrap: don'
t
ignore the resul
t
of dbwrap_parse_r
e
cord
.
.
.
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Ste
f
an Metzmacher
db
w
rap:
i
ntialize s
t
ate
.
status in dbwrap_fetch_
i
nt32()
commit
|
commitdiff
|
tree
2012-06-22
Volker Le
n
decke
dbwr
a
p: Convert fetch_int32 t
o
dbwrap_parse_record
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Vo
l
ker L
e
ndecke
s3
:
Remove r
e
duce_w
i
ndo
w
s_lock
_
ref_count,
used only
.
.
.
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Volker Lendecke
s3: Make reduce_windows
_
l
o
ck_
r
ef_count sta
t
ic
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
V
olker Lende
c
ke
s3
:
Us
e
dbwrap_util for windows_
l
o
c
k_ref_count
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Volker Lendecke
dbwrap: Add dbwrap_fetch_int32
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Volker Le
n
de
c
k
e
dbwra
p
: Add
dbwrap_change_i
n
t
3
2_atomic
Signed-off-by: Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmache
r
sc
r
ipt/au
t
o
buil
d
: fix
path to
r
a
n
dom-sle
e
p
.
sh
commit
|
commitdiff
|
tree
2012-06-22
S
tefan M
e
tzmacher
selftest/knownfail: ma
r
k
^samba4
.
raw
.
ses
s
ion
.
exp
i
re1
.
.
.
...User(master): Stefan Metzmacher <
metze@samba.org
>
commit
|
commitdiff
|
tree
next