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
tests/krb5: Check version number of obtained ticket
2021-09-16
J
oseph Sutto
n
tests/krb5: Chec
k
version number of ob
t
a
i
n
e
d
ti
c
ket
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph Sut
t
on
tests/krb5:
Ass
e
rt that mo
r
e vari
a
bles a
r
e not None
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/krb5: Ensure in as
s
ertEle
m
e
n
tPresent() that contai
n
er
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
tests/krb5: Only allow s
p
ec
i
fying one o
f
check_r
e
p_fn
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
s
e
ph Sutton
t
e
sts/krb5:
Include kdc_optio
n
s in kdc_exchange_dic
t
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph S
u
tton
tests/krb5: Always specif
y
expect
e
d erro
r
c
o
de
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
t
e
sts/
k
rb
5
: Ad
d
check_reply(
)
method to c
h
eck for
AS
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
sts/krb5: Add method to calculate a
c
cou
n
t salt
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/krb5: Add more
m
e
thods
f
o
r obtain
i
n
g
machine
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/k
r
b5:
A
l
l
ow
s
pecify
i
ng add
i
t
i
o
n
al
d
e
tails wh
e
n
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
ph Sutt
o
n
t
e
sts/kr
b
5: Us
e
encrypt
i
on with
admi
n
c
r
ed
e
ntials
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph S
u
t
ton
tests/krb5:
A
dd get_Epo
c
h
F
r
omKe
r
b
e
rosTime()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
test
s
/
k
rb5: M
a
ke _tes
t
_as_exchange() return value more
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
sts/krb5: Add method to return dict containing pada
t
a
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Su
t
ton
tests/krb5: Add g
e
t_en
c
_timestamp_pa_data_from_key()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
o
n
t
ests/krb5: Refa
c
tor
g
et_pa
_
da
t
a()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests
/
k
r
b
5
: Allow cf2 to automatically use
the enctype
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Sutton
te
s
t
s/krb5: Use c
r
edentials kvno when creati
n
g
password
k
e
y
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph
S
ut
t
on
te
s
ts/krb5: Check Ke
r
beros proto
c
ol
v
er
s
ion numbe
r
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utton
tes
t
s/krb5: Ex
p
ect e-data
excep
t
w
hen the error code
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
se
p
h S
u
tton
t
ests/krb5: F
i
x en
c
part_decryptio
n
_key w
i
th M
I
T
K
DC
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sut
t
on
tests/kr
b
5: Fix callba
c
k_dict
paramete
r
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
on
tests/krb
5
: Fix including
e
nc-
a
u
t
horization-data
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utto
n
tests/krb5: Remove ma
g
i
c cons
t
an
t
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
test
s
/krb5: Simpl
i
fy
P
ython syntax
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
st
s
/krb
5
: Use mo
r
e comp
a
c
t
dict lo
o
ku
p
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
on
tests/krb5: Remove unn
e
eded
statement
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
test
s
/
k
rb5: f
o
rma
t
tin
g
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
p
h
Sutton
tests/krb
5
: Fix method na
m
e typo
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
on
te
s
ts
/
k
rb5:
F
ix com
m
e
n
t t
y
po
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
sts/kr
b
5: Fix ms_kile_client_
p
rincipa
l
_look
u
p_t
e
st
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
t
on
p
ygen
s
e
c:
Don't
modify P
y
thon byt
e
s objects
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutt
o
n
pyg
e
nsec: Fi
x
memo
r
y lea
k
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h
Su
t
ton
s4:tort
u
re/krb5/kdc-h
e
imdal: Automatically
d
etermi
n
e
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
tests/k
r
b
5: Use ad
m
i
n creds for SamD
B
rath
e
r
than user
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph Su
t
ton
tests/krb5/as_canonicalization_test
s
.
py: Refa
c
tor
account
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
osep
h
S
utton
tests/krb
5
: Deduplicate 'h
o
st
'
att
r
ibute in
i
tialisatio
n
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utt
o
n
tests
/
k
rb5/raw_testcase
.
py: Check
for an explici
t
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
t
ests
/
krb5/
a
s_r
e
q_tests
.
p
y:
Chec
k
the cl
i
ent
k
v
no
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
te
s
ts/krb5/a
s
_r
e
q_tests
.
py: Au
t
omati
c
al
l
y obtai
n
c
redentials
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph Su
t
ton
tests/krb5/kdc_ba
s
e
_
test
.
py: Add fallback methods to
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
s
e
p
h
Sutto
n
tests/k
r
b5
/
raw_testcase
.
py:
S
i
mplify condit
i
onals
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
ph Sutton
tes
t
s/krb5/raw_testcase
.
py:
A
llow specifying a fallback
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests
/
kr
b
5/r
a
w_t
e
stcase
.
py: Cache obtained cre
d
entials
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph Sutton
tests/kr
b
5/raw_testcas
e
.
py: Add allow_missi
n
g_k
e
ys
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/
k
rb5/raw_te
s
tcas
e
.
py
:
Make env_get_var() a
s
tandalon
e
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
est
s
/krb5
/
raw_t
e
stcas
e
.
py
:
Add method
t
o obta
i
n Kerberos
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/krb5/kd
c
_base_test
.
py: Add
m
eth
o
ds to determine
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph S
u
tton
tests/krb5/
k
dc_base_te
s
t
.
py: Create loadpar
m
only when
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
o
n
t
e
st
s
/krb5/kdc_base_test
.
p
y: Remove 'cre
d
entials' cla
s
s
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph S
u
tton
tes
t
s
/
k
r
b5/kdc_base_test
.
py:
C
r
e
a
te database conn
e
ction
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph
S
utton
t
e
sts/krb5/r
a
w_testcase
.
py
:
A
dd get_admin_
c
reds()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph S
u
tton
tests
/
krb5/
k
dc_base_
t
es
t
.
py: Defer acc
o
u
n
t deletio
n
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
S
u
tton
py
t
h
o
n: M
a
ke cre
d
e
n
ti
a
l
s ca
c
h
e test run against
Wind
o
ws
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h
S
u
t
ton
python:
F
ix
t
icket t
i
m
e
sta
m
p conv
e
rsion
w
hen
loca
l
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
p
y
thon: F
i
x e
r
r
one
o
us increments of reference
c
o
u
n
ts
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
python: Ensure reference counts are prope
r
l
y
increment
e
d
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
u
tton
python: Add SMB credentials
cache test
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph Sutton
pylib
s
mb:
A
d
d
pos
i
x_whoami()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sut
t
on
l
i
bsmb:
E
nsu
r
e th
a
t whoami parses all t
h
e data
p
r
ovided
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
libs
m
b: C
h
e
c
k
to see that whoami is no
t
recei
v
ing more
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
Sutto
n
libs
m
b:
Avoid undefined behaviour w
h
en par
s
ing
whoami
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
libs
m
b:
Remove overflow
c
h
eck
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
R
evert "libsmb: Use sid_pars
e
()"
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
python: Add RPC
c
redentials cache test
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
p
ython: Add
L
D
A
P
credent
i
a
l
s cache test
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
S
u
tton
pyth
o
n: Add cred
e
ntials cach
e
t
est
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
e
p
h Sut
t
on
kr
b
5: Add Py
t
hon functions t
o
create
a
credentia
l
s
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utt
o
n
l
i
brpc: Test pars
i
ng a
K
e
r
be
r
os 5 credentials cache
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
on
krb5cc
a
che
.
idl
:
Add definition
for a Kerb
e
ros credentials
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
Sutton
Revert "s4-test: fixed ndrdump test for top lev
e
l
bui
l
d
"
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph Sutton
pygensec: Fi
x
meth
o
d documentation
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
t
o
n
a
uth:c
r
eds: Fix parameter in creds
.
set_named_ccache()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
auth
:
creds: Remove
u
nused variable
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
J
o
sep
h
Sut
t
on
netcmd: Use next_free_rid() funct
i
o
n to calculate a
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Sutton
python
/
tests/dsdb
:
A
d
d t
e
sts f
o
r RI
D
a
l
locati
o
n functions
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jos
e
p
h
Sutton
dsdb: Add next_free_
r
id() functi
o
n to alloc
a
te a RID
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jo
s
ep
h
S
u
tton
netcm
d
:
A
d
d tests
for performin
g
an o
f
f
l
in
e
backup
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
J
oseph Sutt
o
n
netcm
d
:
Ignore rIDUsedPool attribute in of
f
line domain
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Sutto
n
netcmd: Fix error-chec
k
ing condition
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Su
t
ton
n
e
tcmd: Avoid database corrupt
i
on by
o
pting no
t
to
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Sutto
n
netcmd: Determine
w
h
ich fil
e
s are to be copie
d
fo
r
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph
S
utton
ne
t
cmd: Add test
f
or an offlin
e
backup of
n
ested dir
e
c
t
ories
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Josep
h
Sutton
netcmd: Add test fo
r
an offline backup of
a
direct
o
ry
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree