Revision 25407,
1.8 KB
checked in by jdreed, 13 years ago
(diff) |
In kerberos-config:
* Add win.mit.edu (Trac: #1086)
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/usr/bin/perl -p0 |
---|
2 | s/^([ \t]*default_realm *=).*$/\1 ATHENA.MIT.EDU/m or die; |
---|
3 | s/(\[realms\][^[]*\n)[ \t]*NUMENOR\.MIT\.EDU\s*=\s*\{[^}]*\}\s*\n/\1/; |
---|
4 | s/(\[realms\]\n)/\1\tNUMENOR.MIT.EDU = {\n\t\tkdc = numenor.mit.edu\n\t\tadmin_server = numenor.mit.edu\n\t}\n/ or die; |
---|
5 | s/(\[realms\][^[]*\n)[ \t]*CSAIL\.MIT\.EDU\s*=\s*\{[^}]*\}\s*\n/\1/; |
---|
6 | s/(\[realms\]\n)/\1\tCSAIL.MIT.EDU = {\n\t\tkdc = kerberos-1.csail.mit.edu\n\t\tkdc = kerberos-2.csail.mit.edu\n\t\tadmin_server = kerberos.csail.mit.edu\n\t\tdefault_domain = csail.mit.edu\n\t\tkrb524_server = krb524.csail.mit.edu\n\t}\n/ or die; |
---|
7 | s/(\[realms\][^[]*\n)[ \t]*ATHENA\.MIT\.EDU\s*=\s*\{[^}]*\}\s*\n/\1/; |
---|
8 | s/(\[realms\]\n)/\1\tATHENA.MIT.EDU = {\n\t\tkdc = kerberos.mit.edu:88\n\t\tkdc = kerberos-1.mit.edu:88\n\t\tkdc = kerberos-2.mit.edu:88\n\t\tadmin_server = kerberos.mit.edu\n\t\tdefault_domain = mit.edu\n\t}\n/ or die; |
---|
9 | s/(\[domain_realm\][^[]*\n)[ \t]*numenor\.mit\.edu\s*=[^\n]*\n/\1/; |
---|
10 | s/(\[domain_realm\]\n)/\1\tnumenor.mit.edu = NUMENOR.MIT.EDU\n/ or die; |
---|
11 | s/(\[domain_realm\][^[]*\n)[ \t]*csail\.mit\.edu\s*=[^\n]*\n/\1/; |
---|
12 | s/(\[domain_realm\]\n)/\1\tcsail.mit.edu = CSAIL.MIT.EDU\n/ or die; |
---|
13 | s/(\[domain_realm\][^[]*\n)[ \t]*\.csail\.mit\.edu\s*=[^\n]*\n/\1/; |
---|
14 | s/(\[domain_realm\]\n)/\1\t.csail.mit.edu = CSAIL.MIT.EDU\n/ or die; |
---|
15 | s/(\[domain_realm\][^[]*\n)[ \t]*win.mit\.edu\s*=[^\n]*\n/\1/; |
---|
16 | s/(\[domain_realm\]\n)/\1\twin.mit.edu = WIN.MIT.EDU\n/ or die; |
---|
17 | s/(\[domain_realm\][^[]*\n)[ \t]*\.win\.mit\.edu\s*=[^\n]*\n/\1/; |
---|
18 | s/(\[domain_realm\]\n)/\1\t.win.mit.edu = WIN.MIT.EDU\n/ or die; |
---|
19 | s/(\[domain_realm\][^[]*\n)[ \t]*mit\.edu\s*=[^\n]*\n/\1/; |
---|
20 | s/(\[domain_realm\]\n)/\1\tmit.edu = ATHENA.MIT.EDU\n/ or die; |
---|
21 | s/(\[domain_realm\][^[]*\n)[ \t]*\.mit\.edu\s*=[^\n]*\n/\1/; |
---|
22 | s/(\[domain_realm\]\n)/\1\t.mit.edu = ATHENA.MIT.EDU\n/ or die; |
---|
23 | s/(\[libdefaults\]\n)/\1\tallow_weak_crypto = true\n/ or die; |
---|
Note: See
TracBrowser
for help on using the repository browser.