Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy
Commits
8d287300
Commit
8d287300
authored
Aug 13, 2012
by
Linus Nordberg
Browse files
Make naptr-eduroam.sh check NAPTR type case insensitively.
Fix by Adam Osuchowski.
parent
972e0b78
Changes
2
Hide whitespace changes
Inline
Side-by-side
AUTHORS
View file @
8d287300
...
...
@@ -5,6 +5,7 @@ Radsecproxy is currently being maintained by Linus Nordberg
The following people have contributed to Radsecproxy in one way or
another:
Adam Osuchowski
Andreas Solberg
Arne Schwabe
Faidon Liambotis
...
...
tools/naptr-eduroam.sh
View file @
8d287300
...
...
@@ -31,7 +31,7 @@ dig_it_naptr() {
${
DIGCMD
}
+short naptr
${
REALM
}
|
grep
x-eduroam:radius.tls |
sort
-n
-k1
|
while
read
line
;
do
set
$line
;
TYPE
=
$3
;
HOST
=
$6
if
[
"
$TYPE
"
=
"
\"
s
\"
"
]
;
then
if
[
"
$TYPE
"
=
"
\"
s
\"
"
-o
"
$TYPE
"
=
"
\"
S
\"
"
]
;
then
SRV_HOST
=
${
HOST
%.
}
dig_it_srv
fi
...
...
@@ -50,7 +50,7 @@ host_it_naptr() {
${
HOSTCMD
}
-t
naptr
${
REALM
}
|
grep
x-eduroam:radius.tls |
sort
-n
-k5
|
while
read
line
;
do
set
$line
;
TYPE
=
$7
;
HOST
=
${
10
}
if
[
"
$TYPE
"
=
"
\"
s
\"
"
]
;
then
if
[
"
$TYPE
"
=
"
\"
s
\"
"
-o
"
$TYPE
"
=
"
\"
S
\"
"
]
;
then
SRV_HOST
=
${
HOST
%.
}
host_it_srv
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment