{
'quickStart' : False ,
'loadData' : True ,
'ldifFile' : '%s/clu/clu_start.ldif' % remote.data ,
'startServer' : True ,
'stopServer' : False ,
'allowPreEncodePassword' : True
}
'encode-password: list available schemes'
{
'listSchemes' : 'True'
}
{
'returnString' : returnString ,
'expectedString' : 'SSHA'
}
{
'returnString' : returnString ,
'expectedString' : 'MD5'
}
'encode-password: list available authPasswordSyntax schemes'
{
'listSchemes' : 'True' ,
'authPwdSyntax' : 'True'
}
{
'returnString' : returnString ,
'expectedString' : 'SHA1'
}
{
'returnString' : returnString ,
'expectedString' : 'MD5'
}
'encode-password: encode clear-text pwd'
{
'clearPwd' : 'mypassword' ,
'storageScheme' : 'SSHA'
}
{
'returnString' : returnString ,
'expectedString' : 'Encoded Password:'
}
'encode-password: encode clear-text pwd using \
authPasswordSyntax'
{
'clearPwd' : 'mypassword' ,
'storageScheme' : 'SHA1' ,
'authPwdSyntax' : 'True'
}
{
'returnString' : returnString ,
'expectedString' : 'Encoded Password:'
}
'encode-password: comparison error'
{
'clearPwd' : 'mypassword' ,
'encodedPwd' : pwd ,
'expectedRC' : 1
}
{
'returnString' : returnString ,
'expectedString' : 'No password storage scheme was specified'
}
'encode-password: comparison successful'
{
'clearPwd' : 'mypassword' ,
'encodedPwd' : pwd ,
'storageScheme' : 'SSHA'
}
{
'returnString' : returnString ,
'expectedString' : msg
}
'encode-password: comparison unsuccessful'
{
'clearPwd' : 'password' ,
'encodedPwd' : pwd ,
'storageScheme' : 'SSHA'
}
{
'returnString' : returnString ,
'expectedString' : msg
}
'encode-password: comparison error'
{
'clearPwd' : 'mypassword' ,
'encodedPwd' : pwd2 ,
'useCmpRC' : 'True' ,
'expectedRC' : 1
}
{
'returnString' : returnString ,
'expectedString' : 'No password storage scheme was specified'
}
'encode-password: comparison successful'
{
'clearPwd' : 'mypassword' ,
'encodedPwd' : pwd2 ,
'authPwdSyntax' : 'True' ,
'useCmpRC' : 'True' ,
'expectedRC' : 6
}
{
'returnString' : returnString ,
'expectedString' : msg
}
'encode-password: comparison unsuccessful'
{
'clearPwd' : 'password' ,
'encodedPwd' : pwd2 ,
'authPwdSyntax' : 'True' ,
'useCmpRC' : 'True' ,
'expectedRC' : 5
}
{
'returnString' : returnString ,
'expectedString' : msg
}
'encode-password: comparison successful'
{
'clearPwdFile' : clearFile ,
'encodedPwdFile' : encodedFile ,
'useCmpRC' : 'True' ,
'expectedRC' : 6
}
{
'returnString' : returnString ,
'expectedString' : msg
}
'Finally: Global CLU Cleanup.'
'Cleanup of test suite failed.'