- Timestamp:
- Aug 3, 2008, 12:32:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remote-server/files/usr/sbin/sipb-xen-remconffs
r519 r830 14 14 15 15 import sipb_xen_database 16 from invirt.config import structs as config 16 17 17 18 fuse.fuse_python_api = (0, 2) … … 121 122 else: 122 123 princ = user 123 realm = "ATHENA.MIT.EDU"124 realm = config.authn[0].realm 124 125 125 126 return princ.replace('.', '/') + '@' + realm … … 228 229 229 230 if __name__ == '__main__': 230 sipb_xen_database.connect( 'postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')231 sipb_xen_database.connect(db.uri) 231 232 usage=""" 232 233 $0 [mount_path]
Note: See TracChangeset
for help on using the changeset viewer.