Guest User

Untitled

a guest
Oct 20th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/usr/bin/python -u
  2.  
  3. from MAPI import *
  4. from MAPI.Util import *
  5. import sys
  6.  
  7. s = OpenECSession(sys.argv[1], '', 'file:///var/run/zarafa')
  8. st = GetDefaultStore(s)
  9. print 'Server guid: ' + st.GetProps([PR_MAPPING_SIGNATURE], 0)[0].Value.encode('hex')
  10. print 'Store guid: ' + st.GetProps([PR_RECORD_KEY], 0)[0].Value.encode('hex')
Add Comment
Please, Sign In to add comment