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 padata types when STRICT_CHECKING=0
2021-10-27
J
o
s
e
ph Sutton
tests/krb5
:
Check
pa
d
ata
types when STRIC
T
_
CHE
C
KIN
G
=0
commit
|
commitdiff
|
tree
2021-10-27
J
oseph Sutton
tests/krb5: Add environm
e
nt variable t
o
speci
f
y
KDC
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
utton
tes
t
s/
k
r
b
5
: F
i
x padat
a
c
hecki
n
g at
funct
i
onal
level
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
Sutt
o
n
te
s
ts/krb5: C
l
ari
f
y checksum type assertion m
e
ssage
commit
|
commitdiff
|
tree
2021-10-27
J
ose
p
h Sutton
tests/krb5: U
s
e correct p
r
i
nc
i
p
a
l name type
commit
|
commitdiff
|
tree
2021-10-27
Jo
s
eph Sutton
tests/krb
5
:
Add compatabilit
y
t
e
sts fo
r
ticket che
c
ksums
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutt
o
n
tests/
k
r
b
5:
A
d
d parameter to
e
nforce presen
c
e of ticke
t
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sut
t
o
n
test
s
/krb
5
:
S
upply
s
upported a
c
cou
n
t enctypes in tgs_req()
commit
|
commitdiff
|
tree
2021-10-27
J
oseph Sut
t
on
tests/krb5: Allow specifying
o
p
tions and expected flags
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
s
eph Su
t
ton
tests/kr
b
5: Save ac
c
ou
n
t SPN
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Check
cons
t
rai
n
ed dele
g
ation PAC
b
u
f
fer
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sutton
tests/k
r
b5: C
h
eck buffer types in PAC with STRICT_CHECKING
=
1
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
S
utton
test
s
/krb5: A
d
d ex
p
ect_
c
laims param
e
ter
t
o k
d
c_exchange_dict
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h Sutton
tests/krb5: Fix checking for presence o
f
e
r
ror da
t
a
commit
|
commitdiff
|
tree
2021-10-27
Joseph S
u
tton
te
s
ts/krb5: Remove
u
nn
e
eded parameters from ticket
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
oseph Sutton
te
s
ts/
k
rb
5
: Fix assertE
l
ementF
l
ags()
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
Sutton
tests/krb5: Make expected_sname checki
n
g more explicit
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
S
u
tton
tests
/
krb5:
Fix status code checking
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutto
n
tests/krb5: Fi
x
handling a
u
t
hdata with mis
s
ing PAC
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
t
es
t
s/krb5: Allow excluding t
h
e PAC
s
er
v
er check
s
um
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5:
F
ix checksum generat
i
on and ver
i
fication
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Fix method for creati
n
g
inval
i
d length
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h Sutton
tests/krb5: Introduce helper method for cre
a
tin
g
invali
d
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5
:
Add assertion to make failures clear
e
r
commit
|
commitdiff
|
tree
2021-10-27
Joseph
Sut
t
on
t
e
sts/krb5: All
o
w created account
s
to use res
o
urc
e
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
ose
p
h Sutton
t
e
sts/
k
rb5: R
e
name a
l
l
owed_to_del
e
gat
e
_to paramete
r
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Fix PA-PAC-OPTIONS checki
n
g
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h
Sutton
tests
/
k
rb5:
F
ix send
i
ng PA-
P
AC
-
OPTIONS a
n
d PA-
P
AC-REQUEST
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
utt
o
n
tests/krb5: All
o
w f
o
r missi
n
g msDS
-
KeyVersionNumber
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
osep
h
Su
t
ton
tests/krb
5
: Remove unused param
e
t
e
r
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Ren
a
me met
h
o
d
parameter
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sutton
tests/krb5:
A
dd class
e
s for
testing invali
d
c
hecksums
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sut
t
on
t
e
sts/krb5: Add
m
e
th
o
d to d
e
termine i
f
pr
i
ncipal is
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Verify
che
c
ksums of tickets
o
btained
from
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Su
t
ton
tests/krb5: Add get_
r
odc_krb
t
g
t
_creds(
)
to RawK
e
rberos
T
est
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
p
h
Sutton
tests/kr
b
5
: Simplify account creation
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
te
s
ts/k
r
b
5
: P
r
ovide ticket enc-part k
e
y t
o
tgs_req
(
)
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tes
t
s
/
k
rb5:
Fix
checking for presence of
authorization
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
u
t
ton
tests
/
k
rb5:
A
d
d met
h
o
d
to get
D
C cre
d
entials
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
p
h
Sutto
n
tests/krb5: All
o
w tgs_r
e
q() t
o
c
h
eck the
returned ticke
t
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutt
o
n
te
s
ts/krb5: Set ke
y
ve
r
sion nu
m
ber for
a
l
l
accounts
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
Sutt
o
n
t
ests/krb5: Correct
l
y check PA-SUPP
O
RTED-EN
C
TYPES
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutt
o
n
tests/krb5: G
e
t supported enc
t
y
pes for credenti
a
ls
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Ad
d
methods to convert between en
c
types
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
u
tton
tests/krb
5
: Make g
e
t
_
d
efa
u
lt_enctypes()
return a set
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
utton
tests/krb5: Simplify add
i
ng auth
d
a
ta to ticket
by
u
sing
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
se
p
h Su
t
ton
tests/krb5: Add metho
d
for modifyin
g
a ticket
a
nd crea
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutto
n
t
ests/krb5:
Add method to verify ticket PAC c
h
ec
k
su
m
s
commit
|
commitdiff
|
tree
2021-10-27
J
o
se
p
h Sutton
te
s
ts
/
krb5: Add RodcPacEncryption
K
ey type allowing
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph
S
utton
te
s
ts/kr
b
5: A
d
d methods
f
or cr
e
ating ze
r
oed checksums
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests
/
k
rb5: Cac
h
e o
b
tained tic
k
ets
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph S
u
tton
tests/krb5:
R
eturn en
c
par
t
from g
e
t_
t
gt
(
) as part of
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutto
n
tests/kr
b
5:
Move get_tgt()
a
n
d
get
_
service
_
ticket(
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: All
o
w get_t
g
t()
to specify expected and
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h Su
t
t
on
tests/krb5: Allow get_t
g
t
() to specify di
f
ferent
k
dc
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/
k
rb5:
A
llow get_
t
gt() to
g
et
tickets
fro
m
the
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jo
s
eph Sutton
tests/krb5:
A
llow get_
s
ervice_
t
icket() to get
tickets
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph S
u
tton
tests/krb5: Set
DN
o
f
created accou
n
ts
to ldb
.
Dn
t
y
p
e
commit
|
commitdiff
|
tree
2021-10-27
J
oseph Sutton
t
e
sts/
k
rb5:
D
o
n
't ma
n
u
ally cr
e
a
t
e PAC r
e
quest and
o
pt
i
ons
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
s
ep
h
Sutton
te
s
ts/
k
rb5: Use PAC buffer ty
p
e const
a
nts from krb
5
pa
c
.
idl
commit
|
commitdiff
|
tree
2021-10-27
J
o
s
eph S
u
tton
tests/
k
rb
5
:
A
llow a
s
_req() to s
p
ecify
d
i
fferen
t
kdc
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
ut
t
on
tests
/
k
r
b
5:
Al
l
ow tgs
_
r
eq() to send requests
t
o the
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jo
s
e
ph Sut
t
on
tests/krb5: Allow tgs_req()
t
o s
p
ec
i
fy di
f
f
e
ren
t
k
d
c
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sutton
tests/krb5: A
l
low tgs
_
req() to se
n
d addit
i
onal padata
commit
|
commitdiff
|
tree
2021-10-27
Joseph Su
t
ton
tests/krb5: R
e
facto
r
tg
s
_req() to us
e
_g
e
neric_kdc_exchang
e
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
t
ests
/
krb5: Ch
e
ck
correct flags elem
e
nt
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests
/
krb5:
A
dd hel
p
er
method for modifyi
n
g
PACs
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h
S
u
tton
pytho
n
/join: Check
for c
o
rrect m
s
DS-KrbTgt
L
ink at
t
rib
u
t
e
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
u
t
t
o
n
python: Don't leak file handles
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sutton
tests/kr
b
5
: All
o
w replicati
n
g accounts to
t
he created
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sut
t
on
t
ests/kr
b
5:
C
reate RODC acc
o
unt for testin
g
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h Sutton
te
s
ts/krb
5
:
Al
l
ow replicati
n
g accoun
t
s to the
R
ODC
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
Sutton
tests/kr
b
5: Add get_se
c
rets() meth
o
d to get the secret
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph
S
utton
te
s
ts/krb5: Add method to
g
e
t
RO
D
C krbtgt credentials
commit
|
commitdiff
|
tree
2021-10-27
Josep
h
Sutton
test
s
/k
r
b5: Sign-extend kvno from 32-
b
it integer
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: G
e
nerat
e
p
adata for F
A
ST tests
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
t
e
sts/krb5
:
Add get_cached_
c
reds
(
) metho
d
to create
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
osep
h
Sut
t
on
tests/k
r
b
5:
Ge
t
encpart decryption key fro
m
kdc_exchange_dict
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
utton
tests
/
krb5: Get expected
c
name fr
o
m
T
G
T
for TGS-REQ
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sut
t
on
tests/
k
rb5: All
o
w specify
i
n
g stat
u
s co
d
e to b
e
che
c
ked
commit
|
commitdiff
|
tree
2021-10-27
J
o
se
p
h
Su
t
t
o
n
t
ests/krb5: Cr
e
ate
testing acco
u
nts in appropria
t
e
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sutton
tests/kr
b
5:
Check fo
r
p
r
e
s
ence of '
k
ey-expirat
i
o
n
'
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sutton
t
ests/k
r
b5:
Check 'caddr' element
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tes
t
s
/krb5: Check for pr
e
sence of '
r
enew-
t
il
l
' element
commit
|
commitdiff
|
tree
2021-10-27
Jose
p
h
Sutton
tests/k
r
b5: A
l
low Kerberos re
q
ues
t
s to be sent to DC
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
oseph
S
utton
t
ests/krb5: Make
time assertion less
s
trict
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sutton
tests/krb5: Allow specifying ticket flags
expect
e
d
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sutton
t
e
sts/krb5: Remove magic
c
onstants
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
utt
o
n
tests/krb5: Don't create
P
AC
request or o
p
t
ions manua
l
ly
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
ph Sutton
te
s
ts/krb5: Don't creat
e
PAC request m
a
nual
l
y in
a
s_req_tests
commit
|
commitdiff
|
tree
2021-10-27
Joseph
S
u
t
t
on
tests/kr
b
5: add options
t
o kdc
_
e
xchange_dict to specify
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph S
u
t
t
on
tests/kr
b
5:
Move padata
generation methods to
b
ase
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
J
o
seph Sutton
t
ests/krb5: K
e
ep tra
c
k
of
a
ccount D
N
i
n
c
r
e
dentials
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Allow specifying additional User
A
ccount
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutt
o
n
t
e
s
ts/krb5: Allow specifyin
g
an OU to create accounts
i
n
commit
|
commitdiff
|
tree
2021-10-27
J
o
sep
h
S
u
t
ton
tests/krb5: Replace expec
t
ed
_
cname_p
r
ivat
e
wit
h
expe
c
t
e
d
_
an
o
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jo
s
e
ph Sutt
o
n
t
ests
/
krb5: Use more c
o
mpact dict look
u
p
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
te
s
ts/k
r
b5: Add KDC
O
ptions flag for const
r
ained dele
g
ation
commit
|
commitdiff
|
tree
2021-10-27
Joseph Sutton
tests/krb5: Use
s
igned integer
s
to represent
key version
.
.
.
commit
|
commitdiff
|
tree
2021-10-27
Jos
e
p
h
Sutton
t
e
sts/krb5
:
Add metho
d
s
t
o obtain the length
of
c
h
ecksum
.
.
.
commit
|
commitdiff
|
tree
next