sss_obfuscate revision 8d00718b943ab8b326320feb50820f0663031817
human-unreadable format and places it into \
appropriate domain section of the SSSD config \
file. The password can be passed in by stdin, \
specified on the command-line or entered \
interactively")
print >> sys.stderr, "Cannot parse options"
return 1
print('Passwords do not match. Try again')
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__":