Ignore:
Timestamp:
Aug 3, 2008, 12:32:21 AM (16 years ago)
Author:
y_z
Message:

use invirt config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remote-server/files/usr/sbin/sipb-xen-remconffs

    r519 r830  
    1414
    1515import sipb_xen_database
     16from invirt.config import structs as config
    1617
    1718fuse.fuse_python_api = (0, 2)
     
    121122                else:
    122123                        princ = user
    123                         realm = "ATHENA.MIT.EDU"
     124                        realm = config.authn[0].realm
    124125               
    125126                return princ.replace('.', '/') + '@' + realm
     
    228229
    229230if __name__ == '__main__':
    230         sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
     231        sipb_xen_database.connect(db.uri)
    231232        usage="""
    232233$0 [mount_path]
Note: See TracChangeset for help on using the changeset viewer.