sss_obfuscate revision 530ba03ecabb472f17d5d1ab546aec9390492de1
# If no password given as positional paramater, read up from stdin
print >>sys.stderr, "Cannot parse options"
return 1
if not options.stdin:
try:
print "Missing password parameter!"
return 1
else:
try:
return 1
# Obfuscate the password
# Save the obfuscated password into the domain
try:
print "Cannot open config file %s" % options.filename
return 1
try:
print "No such domain %s" % options.domain
return 1
try:
print "The domain %s does not seem to support the required options" % \
return 1
return 0
if __name__ == "__main__":