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: Add more methods to create ASN1 objects for FAST
2021-09-16
Joseph
S
utto
n
test
s
/krb5
:
Add mo
r
e me
t
hods t
o
c
r
eate ASN1
obj
e
c
t
s
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utton
tests/krb5: Add more
A
SN1 definit
i
ons
f
or FAST
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sutton
tes
t
s/krb5:
G
enerate
AP-REQ for TGS re
q
u
est i
n
_generic_k
d
c_
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
ests/k
r
b5: Ensure generated pada
t
a is n
o
t
N
one
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
e
ph Sutton
t
e
s
t
s
/krb5: Add gen
e
rate
_
ap_req() metho
d
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
Sutton
tests/krb5: C
h
eck non
c
e
in EncKDCRepPart
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Su
t
ton
tests/krb5:
Make
c
h
e
cking le
s
s strict
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph Sutton
tests/krb5: C
h
eck ve
r
sion numb
e
r
of obta
i
ned
t
icket
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
Sutton
tests/k
r
b5: Assert th
a
t m
o
re variables a
r
e not N
o
ne
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph Sutton
tests/krb5: E
n
s
u
re in a
s
sert
E
lementPresent() that con
t
ainer
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph Su
t
to
n
t
ests/krb5: Only allow sp
e
cif
y
in
g
one
o
f check_rep_f
n
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utton
t
e
sts/krb5: Inc
l
ude
k
dc_opt
i
ons in kdc_exchange_dict
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests
/
krb5: Al
w
a
y
s s
p
ecify e
x
pected error code
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
tests/kr
b
5: Add check_reply() method to che
c
k for AS
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph S
u
tt
o
n
tests/kr
b
5: Add method t
o
calculate ac
c
ount salt
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutt
o
n
tests/k
r
b5:
Add mo
r
e methods for obta
i
ning machi
n
e
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph
S
ut
t
o
n
tes
t
s/krb5: Allow
s
peci
f
ying additional detail
s
when
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
sts/krb5: Use en
c
ryption with admi
n
credentials
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
tests/krb5
:
Add
g
et_EpochFromKerberosTime()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
oseph S
u
tton
tests/k
r
b5: Make _test
_
as_excha
n
ge
(
) retu
r
n value mor
e
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sutt
o
n
t
est
s
/krb5: Add meth
o
d t
o
return
d
ict containing pada
t
a
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sutton
tests/
k
rb5: Add get_e
n
c_time
s
tamp_pa
_
data_f
r
om_
k
ey()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph S
u
tton
te
s
ts/k
r
b5: Refactor get_
p
a_data()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
tests
/
krb5: Allow
c
f2 to automatically use t
h
e enctype
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph S
u
tton
tests/krb
5
:
Use crede
n
tia
l
s kv
n
o when creating password k
e
y
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Sut
t
on
tests/krb5: Check
K
erberos proto
c
ol
version number
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutto
n
tests/krb5: Exp
e
c
t
e-dat
a
except when the error co
d
e
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/krb5: Fix en
c
part
_
decryption_key wi
t
h MIT KDC
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph S
u
tton
tests/krb5: Fix callb
a
ck_
d
ict p
a
rameter
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
te
s
ts/krb5: Fix
i
n
c
luding
e
nc-a
u
thoriza
t
ion
-
data
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Sutto
n
tests
/
k
rb5:
Remov
e
m
agic constant
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/k
r
b5: Simplify Pytho
n
synta
x
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
te
s
t
s
/
krb5:
Use more
c
o
mp
a
ct dict lookup
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph Sutto
n
tests/krb
5
: Remove
u
nneeded statements
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph S
u
tton
t
ests/krb5: formattin
g
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
t
e
sts/krb5: Fix
m
eth
o
d
n
a
m
e
typo
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/
k
rb5: Fix co
m
ment ty
p
o
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph Sutton
test
s
/krb5: F
i
x ms_kil
e
_client_princip
a
l
_lookup_test
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
pygensec: Don
'
t m
o
dify Python bytes objects
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Josep
h
S
utto
n
pygensec: Fix memory leaks
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
s4:
t
orture/k
r
b5/kdc
-
heim
d
a
l:
A
utomat
i
ca
l
ly determine
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utton
tes
t
s/krb5: Use ad
m
in creds for
SamDB
rather than
user
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
se
p
h S
u
tton
te
s
ts/k
r
b5/as_canonicalization_
t
ests
.
py
:
Refactor accou
n
t
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
os
e
ph
S
utton
tests/krb5: Dedupl
i
c
ate
'
h
ost' attribute i
n
itialisat
i
on
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
utton
te
s
t
s
/krb5/raw
_
test
c
a
s
e
.
py:
C
heck
f
or an explicit
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Sutton
tests/kr
b
5/as_req_tests
.
py: Check
t
he client kvno
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutt
o
n
test
s
/krb5/as_req_te
s
ts
.
py: Aut
o
m
a
tically obtai
n
credent
i
a
l
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
se
p
h Sutton
t
e
sts/k
r
b
5
/
kdc_base_tes
t
.
py: Add
f
allback methods t
o
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
test
s
/krb5/ra
w
_tes
t
case
.
py:
Simplify conditi
o
nal
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
s
e
ph Sutton
tests/krb5
/
raw_testcase
.
p
y: Al
l
o
w specifying a fallback
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
sep
h
Sutton
t
e
st
s
/krb5/raw_testcase
.
py: C
a
che
obtained credential
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
test
s
/krb5/raw_testcase
.
py: Add
a
l
low_missing_keys
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutt
o
n
tests
/
krb5/raw_tes
t
case
.
py
:
Ma
k
e env
_
get_
v
ar() a standalone
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
p
h
Su
t
ton
tests/krb5
/
raw_testc
a
se
.
py:
Add meth
o
d to obtain Kerber
o
s
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph Sutt
o
n
test
s
/
k
rb5/kdc_bas
e
_test
.
p
y: Add
m
ethods to determine
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph S
u
tton
tests/
k
r
b5/kdc_b
a
se_test
.
py: Create loadparm only whe
n
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sutton
tests/k
r
b5/kdc
_
base_tes
t
.
py: Remove 'c
r
edentials' class
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
tests/krb5/kdc_base_te
s
t
.
py:
Create dat
a
b
ase conn
e
ction
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
p
h
S
u
t
to
n
te
s
t
s
/
k
rb5/ra
w
_testc
a
se
.
p
y
:
Add get_
a
d
m
in_creds
(
)
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
ph Sutton
t
e
sts/k
r
b5/kdc_base_test
.
py: Defer a
c
count
deletion
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Su
t
t
on
py
t
hon: Make creden
t
ials c
a
che
t
e
s
t ru
n
against Windows
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
p
y
t
h
on: Fix ticket
ti
m
estamp c
o
nversion when
l
o
c
al
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph Sut
t
on
python: Fix erroneo
u
s inc
r
em
e
nts of reference cou
n
t
s
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
py
t
hon:
En
s
ure ref
e
re
n
ce counts
are properly incremented
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutt
o
n
pyth
o
n
:
Add
SMB
credentials cache test
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
ep
h
Sutto
n
pyli
b
smb: A
d
d posi
x
_whoami(
)
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
l
i
bsmb: Ensure that
whoami parses all the data provid
e
d
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
p
h
Sutton
li
b
smb
:
Check
to se
e
that
w
hoami is not receiv
i
n
g more
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sut
t
o
n
libsmb: Av
o
id unde
f
ine
d
behavio
u
r when pa
r
sing who
a
m
i
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jo
s
eph Su
t
ton
libsmb: Remove o
v
erflow che
c
k
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
Reve
r
t "li
b
smb:
U
se sid_parse()"
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
py
t
hon: Add RPC cr
e
dentials cache tes
t
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
p
y
thon: Add LDAP credentials ca
c
he test
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Su
t
ton
python:
A
dd
c
re
d
entials cache t
e
s
t
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
S
u
tto
n
krb5: Add Pyth
o
n functions to cr
e
ate a credenti
a
ls
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
J
o
seph
S
utton
librpc: Test p
a
rsing a Kerber
o
s
5 crede
n
tials cache
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jose
p
h Sutton
krb5ccache
.
idl: Add definition for a Kerbe
r
os credentials
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Jos
e
ph Sutton
R
eve
r
t "s4-test: fixed ndr
d
ump test fo
r
top level bu
i
ld"
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph
Sutton
pygense
c
: Fix
m
e
t
h
o
d documentation
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
auth:creds: Fix param
e
ter in creds
.
set
_
named_ccach
e
()
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-09-16
Joseph Sutton
auth:cred
s
:
Remove un
u
sed variable
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Sutton
netcm
d
: Use
next_free_rid()
f
u
nct
i
o
n t
o
calculate a
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
J
oseph Sutton
pyt
h
on/tests/
d
sdb: Add tes
t
s for RID allocation functions
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jose
p
h
S
u
tton
dsdb: Add next_f
r
ee_rid() function
t
o allocate a RID
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
J
o
s
eph Sutton
net
c
m
d
:
A
dd t
e
sts for performing an offlin
e
backup
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jose
p
h Su
t
t
o
n
net
c
md: Ignore
r
IDUs
e
dPool at
t
r
i
bute in off
l
ine domain
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jose
p
h
S
utton
netc
m
d: Fix
e
r
r
or-checking condi
t
i
o
n
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Josep
h
Sut
t
on
ne
t
cmd: A
v
oid database corruption by
o
p
ting not to
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jo
s
eph Sutton
netcmd: D
e
t
ermine which
fi
l
es
a
re to be c
o
p
i
ed for
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Joseph Sutton
netcm
d
: Add test for
a
n o
f
fline backup of nested
directo
r
ies
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree
2021-07-13
Jos
e
ph
S
utt
o
n
netcm
d
: Add test
for an off
l
ine back
u
p of a di
r
ectory
.
.
.
Signed-off-by: Joseph Sutton <
josephsutton@catalyst.net.nz
>
commit
|
commitdiff
|
tree