Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python -u
- from MAPI import *
- from MAPI.Util import *
- import sys
- s = OpenECSession(sys.argv[1], '', 'file:///var/run/zarafa')
- st = GetDefaultStore(s)
- print 'Server guid: ' + st.GetProps([PR_MAPPING_SIGNATURE], 0)[0].Value.encode('hex')
- print 'Store guid: ' + st.GetProps([PR_RECORD_KEY], 0)[0].Value.encode('hex')
Add Comment
Please, Sign In to add comment