projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a like for kerberos authentication for the website
[invirt/packages/invirt-web.git]
/
invirt-cache-acls
diff --git
a/invirt-cache-acls
b/invirt-cache-acls
index
19673a7
..
79a7650
100755
(executable)
--- a/
invirt-cache-acls
+++ b/
invirt-cache-acls
@@
-1,4
+1,9
@@
#!/bin/sh
#!/bin/sh
+cells () {
+ for i in $(invirt-getconf -l authz.afs.cells); do
+ invirt-getconf authz.afs.cells.$i.cell
+ done
+}
kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
-aklog athena sipb
+aklog $(cells)
python /var/www/invirt-web/cache_acls.py
python /var/www/invirt-web/cache_acls.py