from syslog import *
import sipb_xen_database
+from invirt.config import structs as config
fuse.fuse_python_api = (0, 2)
(princ, realm) = user.split('@')
else:
princ = user
- realm = "ATHENA.MIT.EDU"
+ realm = config.authn[0].realm
return princ.replace('.', '/') + '@' + realm
if __name__ == '__main__':
- sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
+ sipb_xen_database.connect(db.uri)
usage="""
$0 [mount_path]
"""