add customer level

This commit is contained in:
Wolfgang Hottgenroth
2009-02-21 20:35:51 +01:00
parent 31c92eae50
commit cb38eef50f
8 changed files with 161 additions and 43 deletions

15
server/testxml Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python
import sys
import xmlrpclib
import md5
(x, dynid, subdomain, zone, sharedSecret, adminPwd) = sys.argv
d = "%s %s %s %s %s" % (dynid, subdomain, zone, sharedSecret, adminPwd)
checksum = md5.new(d).hexdigest()
s = xmlrpclib.ServerProxy("http://localhost:8024")
r = s.register(dynid, subdomain, zone, sharedSecret, checksum, "test@test.de")
print r