repo.or.cz
/
Samba.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Clean error paths in opendir and fd_opendir by only setting handle data on success.
2013-04-17
Jere
m
y All
i
s
o
n
Clea
n
error paths in opendir a
n
d fd
_
opendir b
y
only
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-17
Jeremy All
i
son
Protect open_and_sort_d
i
r() from the dire
c
t
ory changin
g
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-17
J
eremy Allison
Use an inde
x
i rath
e
r than re-
u
sin
g
a state va
r
ia
b
le
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-17
J
e
remy
A
llis
o
n
P
r
o
tect agai
n
st e
a
r
l
y
erro
r
in SMB_VFS_N
E
XT
_
REA
D
DI
R
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-17
Jeremy Allison
Change sourc
e
3
/
modules/vfs
_
dirsort
.
c from MALLOC -
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy
A
llis
o
n
Ensure EA value
i
s alloc
a
ted
o
n the right
context
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy Allison
Final
fix for
b
ug #9130 - Certain xattrs c
a
u
se W
i
ndows
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
J
e
remy Allison
Ens
u
re we
d
o
n't re
t
u
r
n unini
t
i
a
l
ized m
e
mory
i
n
t
he
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jer
e
my Allison
Add
a
t
e
st to show
that zero-length EA's are never
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy
A
llis
o
n
Fi
x
bug
#9130 - Certain xattrs cause W
i
ndows error
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy Allison
Fix bu
g
#9130
-
C
ertain xattrs
c
ause Windo
w
s error
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy Allison
Change estimate_ea
_
size() to correctly es
t
ima
t
e the
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy Allis
o
n
Modify fill_ea_chained_b
u
ffer() to
b
e able
t
o
do
size
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-08
Jeremy Allison
Ensure w
e
can
never ret
u
rn an u
n
i
nitialized EA list
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-07
Je
r
emy
A
l
l
i
son
O
p
t
imization suggested by Volker
.
Don't d
o
a
stat
system
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-07
J
e
remy Alliso
n
Fix bug #9733 - smbco
n
t
rol close-
s
ha
r
e is
not working
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-04-07
Jer
e
m
y Allison
Fix
bad
SMB
2
opcode
reading in
s
erv
e
r
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jere
m
y Allison
Fix bu
g
#9724 - is_encr
y
pted_pack
e
t() func
t
ion in
c
orrectly
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jeremy Allison
s
3
:selft
e
s
t
: Add LAR
G
E_READX test int
o
our
m
ake
t
es
t
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jeremy Al
l
ison
s
3:tort
u
re:
A
dd n
e
w
LARGE_REA
D
X test to investigate
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jeremy Allison
s3:sm
b
d
:
Add
f
u
nctions calc_max_read_p
d
u()/calc_
r
ead_size
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jere
m
y Allison
s3
:
smbd: Remov
e
server_will_acce
p
t
_
large_re
a
d() and
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jeremy Alli
s
o
n
s3:smbd:
F
ix o
f
f-by 4 error
in wrap protection code
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-21
Jeremy
A
llison
libcli/smb: smb1cli
_
inb
u
f_pars
e
_chain() and s
m
b1
c
li_conn_dis
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy Allison
Fix typo to mak
e
mast
e
r
/
lib/teve
n
t i
d
entic
a
l
t
o 4
.
0
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
J
e
remy Allison
tevent: Regres
s
i
o
n test
to ensure that a tev
e
nt backe
n
d
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jere
m
y All
i
son
tevent:
If
e
po
l
l_ctl(
.
.
EPOL
L
_CTL_ADD,
.
.
) faile
s
with
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy
A
l
lison
t
e
vent: Add utility function epoll_han
d
le_
h
up_or_err()
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy Allis
o
n
tevent: Fix u
p
epol
l
_del_ev
e
nt
to
c
ope with delet
i
n
g
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jer
e
my Al
l
ison
t
e
v
e
nt: S
t
art
t
o fix th
e
epoll
b
ackend to suppor
t
2
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy Allison
te
v
ent: F
i
x
multipl
e
handler on the
s
ame fd b
u
g in
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy
Allison
tevent: Remove
t
h
e pr
e
vio
u
s "standar
d
" tevent back
e
nd
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
J
e
re
m
y Allison
te
v
e
nt:
Add in th
e
new implementat
i
on of "standard
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jer
e
my Allison
tevent: Add a private functi
o
n tevent_poll_event_ad
d
_
f
d
_inte
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy
A
llison
tevent:
A
d
d
a utility function
t
ev
e
nt_f
i
nd_op
s
_
byname
(
)
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jer
e
my Allison
tevent:
Ad
d
i
n
the same tev
e
nt_re_ini
t
ialise()
f
ix
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy Allis
o
n
t
event: Add in
s
ome test code
t
o allow
t
he panic
f
a
llbac
k
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
J
e
remy All
i
son
t
event:
Plumb
i
n
t
he
p
anic
fall
b
ack
code in
t
o the epoll_pani
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jeremy
Alliso
n
tevent: Add
an
internal func
t
i
o
n t
e
v
e
nt
_
epoll_set_panic_fall
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
Jer
e
my Al
l
ison
te
v
en
t
: Ensure we r
e
t
urn af
t
er every
call
t
o e
p
oll_panic()
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-03-06
J
e
remy A
l
liso
n
tevent: P
r
eparing
to
f
ix "st
a
nd
a
rd" backend fallback
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-02-13
Jeremy All
i
son
Fix bug
9
519
- Samba
r
etu
r
ns un
e
xpected
e
rror on SMB
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-02-12
Jerem
y
Allison
Fix bug #9642
- vf
s
_af
s
acl
.
c won't b
u
i
ld
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jeremy All
i
so
n
R
e
gression test for b
u
g
#9571 - Unlink after open c
a
uses
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Je
r
emy Al
l
ison
F
i
x
b
ug #95
8
8
-
AC
L
s are
n
ot in
h
erited to direc
t
ori
e
s
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jeremy Allison
Regression test for bug #95
8
7 - arc
h
ive flag is a
l
ways
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jeremy Allison
Fix bug #958
7
- archive
f
lag
is always set on dire
c
tori
e
s
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jeremy Allison
Fix bug #9586 - smbd
[
291
7
5]:
d
isk_free: sys_
p
open(
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jeremy Alliso
n
Fix
bug #95
7
2
- File corrupt
i
on durin
g
SMB1 read by
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-28
Jer
e
my A
l
li
s
on
Revert "s3:smb
d
: SMB ReadX with size
>
0
x
fff
f
shou
l
d
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-21
Jere
m
y Allison
Sort wi
n
bi
n
d request flags
.
Ir
a
s
a
w we have a duplicate
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-17
Jeremy Alli
s
on
Fix bug 955
0
-
s
i
gprocmask do
e
s not wor
k
o
n F
r
eeBS
D
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-17
Jere
m
y All
i
son
Inclu
d
e sys/ucontext
.
h if available
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-17
Jeremy
Alliso
n
Add
u
contex
t
configure
a
uto
c
onf ch
e
cks
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-17
Jere
m
y
A
llison
Add ucontext configure
waf checks
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-17
Je
r
emy Allison
A
dd missing check for sys/wa
i
t
.
h
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy
Allison
Fixup th
e
change_
t
o_user_by_session() case as ca
l
led
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Je
r
emy Allison
Move cre
a
te_share_access_mask() f
r
o
m
smbd/service
.
c
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Alliso
n
Fix
bug #95
1
8
-
c
onn->s
h
are_access
appears no
t
be be
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
J
e
remy Allison
Fa
c
tor code out
of c
h
eck_user_ok() into a c
a
l
l
to che
c
k_user
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Al
l
iso
n
Initial
i
z
e stack
v
a
riable
s
.
P
r
elude to factoring ou
t
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Je
r
emy A
l
lison
Add check_use
r
_share_access()
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Allison
Correctly
s
etup the
conn->share_access based on the
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Al
l
ison
A
d
d
para
l
lel ca
c
he for
s
hare_access entrie
s
,
on
e
p
e
r
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jer
e
my Allison
Change API
f
or create_share_access_m
a
sk() - remove
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy
Alli
s
on
Chan
g
e API for create_share
_
access_ma
s
k
(
) to pass in
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jerem
y
A
l
lison
F
ix
A
PI for c
r
eate_share_access_mask()
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy All
i
son
Remove static from create_
s
h
a
re
_
ac
c
ess_m
a
sk()
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy
A
l
l
ison
Remove unneeded var
i
a
ble "const
s
t
ruct auth_sessio
n
_inf
o
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Allison
Remove dead code
n
o
w vuser can no longer
be NULL
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Allison
Remove t
h
e s
e
cond set of {} braces, no l
o
nger needed
.
.
.
commit
|
commitdiff
|
tree
2013-01-14
J
e
r
e
my
Allison
R
e
move
o
ne set of enclosing {}
br
a
ces, no longer needed
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
Jeremy Allison
Move th
e
definiti
o
n
of
struct vu
i
d_cache_entry
*ent
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-14
J
e
remy Allison
Start to tidy-up check_
u
ser_ok()
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2013-01-02
J
eremy
Allison
Fix b
u
g #
9
196 -
d
e
f
er_open is
t
rigge
r
ed mu
l
tiple
t
imes
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-12-07
J
e
remy Alli
s
on
D
o
cume
n
tatio
n
fixes
for bu
g
#9462 - Users can not be
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-12-07
Jeremy A
l
lison
Another fix needed
for bu
g
#
9
2
36
-
AC
L
masks in
c
orrectly
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-12-07
Jeremy Alli
s
on
Modi
f
y ensure_
c
an
o
n
_
e
ntry_valid() into ensure_c
a
non_entry_va
.
.
.
commit
|
commitdiff
|
tree
2012-12-03
Jeremy Al
l
ison
Ma
k
e
sure the returned
s
d
i
s
on the righ
t
context,
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-12-03
Jeremy Allison
Move set
t
ing of ps
d
->dacl->
r
evision and protec
t
a
g
ain
s
t
.
.
.
commit
|
commitdiff
|
tree
2012-12-03
Jeremy Allison
We s
h
ould never just assi
g
n an st
_
mode to an ace-
>
perms
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-12-03
Jeremy Alli
s
on
S
impl
i
fy ensure_canon_entry
_
valid by s
p
litting out
.
.
.
commit
|
commitdiff
|
tree
2012-12-03
Jere
m
y A
l
l
i
son
Add samba3
.
samb
a
3ba
d
name
b
lob tes
t
to
check re
g
r
e
s
sions
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-11-21
Je
r
emy Allison
Mor
e
for
#9374 -
A
ll
o
w smb2
.
acls torture test to pass
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-11-21
Jere
m
y
A
l
liso
n
Add comme
n
ts
explaining exactly *why* we don't c
h
eck
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-11-15
J
e
remy Allison
Another f
i
x needed for bug #92
3
6 -
A
C
L ma
s
ks i
n
correctl
y
.
.
.
commit
|
commitdiff
|
tree
2012-10-29
Jeremy
A
l
lison
F
i
x bug
#
9329 -
D
irectory
l
is
t
ing with SeBackup ca
n
.
.
.
Signed-off-by: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-10-29
Jerem
y
Alliso
n
En
s
u
r
e the masks do
n
't
confl
i
ct with the
A
C
L checks
.
commit
|
commitdiff
|
tree
2012-10-29
Jer
e
my Allis
o
n
Up
d
ate WHAT
S
NEW
.
tx
t
with r
e
moved param
e
ters
.
commit
|
commitdiff
|
tree
2012-10-29
J
e
re
m
y
A
llison
Remove the p
a
r
a
m
eters:
commit
|
commitdiff
|
tree
2012-10-29
Jeremy
A
llison
Remove all uses o
f
lp_
s
ecur
i
ty_mask
/
lp_force_sec
u
rity_mod
e
.
.
.
commit
|
commitdiff
|
tree
2012-10-29
Jeremy Al
l
ison
W
hen
s
etting a non-default
ACL,
d
on't f
o
r
g
e
t to
a
pply
.
.
.
commit
|
commitdiff
|
tree
2012-10-29
Jeremy
A
llison
Onl
y
apply masks on non-def
a
ul
t
A
CL en
t
r
i
es when s
e
tting
.
.
.
commit
|
commitdiff
|
tree
2012-10-29
Jer
e
my Allison
Use
is_d
e
fault_acl variable in canonic
a
lise_a
c
l()
.
commit
|
commitdiff
|
tree
2012-10-29
Jeremy Allison
Refo
r
mat s
p
aci
n
g to
be even
.
commit
|
commitdiff
|
tree
2012-10-09
Jerem
y
All
i
son
Corr
e
ct fix for bu
g
#9222 - smbd ign
o
r
e
s the "server
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-10-08
Jeremy Alli
s
o
n
Fi
x
bug #
9
2
1
4 - Bad us
e
r
supplied SMB2 c
r
edi
t
value
.
.
.
commit
|
commitdiff
|
tree
2012-10-04
Jeremy Allison
Fix n
e
t rpc s
h
are allowedusers to wor
k
with 2008r2
Author: Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-10-02
Jeremy Allison
Fix bug #9209
-
Pa
r
se of invalid S
M
B2 cr
e
at
e
b
l
ob can
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
2012-09-28
Jeremy All
i
son
Fix
bug #9
2
13
- Bad ASN
.
1 NegTokenInit packe
t
can cause
.
.
.
...User(master): Jeremy Allison <
jra@samba.org
>
commit
|
commitdiff
|
tree
next