'Test Name = %s' % STAXCurrentTestcase
{ 'functionName' : 'ldapModifyWithScript' ,
'functionMessage' : 'Add solaris schema entries' ,
'functionException' : 'LDAP.ModifyException' ,
'functionArguments' : { 'location' : server.location ,
'dsInstanceHost': server.host ,
'dsInstancePort': server.port ,
'dsInstanceDn' : server.dn ,
'dsInstancePswd': server.password ,
'dsAdd' : 'TRUE' ,
'dsFilename' : solarisLdif }
}
{ 'functionName' : 'ldapSearchWithScript' ,
'functionMessage' : 'Search for the entry just added and return rfc822mailMember.' ,
'functionException' : 'LDAP.SearchException' ,
'functionArguments' : { 'dsInstanceHost' : server.host ,
'dsInstancePort' : server.port ,
'dsInstanceDn' : server.dn ,
'dsInstancePswd' : server.password ,
'dsBaseDN' : __baseDN ,
'dsFilter' : 'objectclass=*' ,
'dsAttributes' : 'rfc822mailMember' }
}
{ 'functionName' : 'checktestString' ,
'functionMessage' : 'Check that the rfc822mailMember attribute is returned.' ,
'functionException' : 'Utils.CheckStringException' ,
'functionArguments' : { 'expectedString' : 'rfc822mailMember: nisMailAlias@sun.com' ,
'returnString' : _functionString }
}
'%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo)
'%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo)
'%s: UtilsCheck failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'functionName' : 'ldapModifyWithScript' ,
'functionMessage' : 'Add solaris schema entries' ,
'functionException' : 'LDAP.ModifyException' ,
'functionArguments' : { 'location' : server.location ,
'dsInstanceHost': server.host ,
'dsInstancePort': server.port ,
'dsInstanceDn' : server.dn ,
'dsInstancePswd': server.password ,
'dsAdd' : 'TRUE' ,
'dsFilename' : rfc4876ldif }
}
{ 'functionName' : 'ldapSearchWithScript' ,
'functionMessage' : 'Search for the entry just added and return nisDomain.' ,
'functionException' : 'LDAP.SearchException' ,
'functionArguments' : { 'dsInstanceHost' : server.host ,
'dsInstancePort' : server.port ,
'dsInstanceDn' : server.dn ,
'dsInstancePswd' : server.password ,
'dsBaseDN' : __baseDN ,
'dsFilter' : 'objectclass=*' ,
'dsAttributes' : 'nisDomain' }
}
{ 'functionName' : 'checktestString' ,
'functionMessage' : 'Check that the nisDomain attribute is returned.' ,
'functionException' : 'Utils.CheckStringException' ,
'functionArguments' : { 'expectedString' : 'nisDomain: rfc4876' ,
'returnString' : _functionString }
}
'%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo)
'%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo)
'%s: UtilsCheck failed. eInfo(%s)' % (eType,eInfo)