diff --git a/base/container_files/conf/subject.properties b/base/container_files/conf/subject.properties index 3d1ac88..40cd376 100644 --- a/base/container_files/conf/subject.properties +++ b/base/container_files/conf/subject.properties @@ -7,7 +7,7 @@ subjectApi.source.ldap.param.SubjectID_AttributeType.value = employeeNumber subjectApi.source.ldap.param.Name_AttributeType.value = cn subjectApi.source.ldap.param.Description_AttributeType.value = cn subjectApi.source.ldap.param.emailAttributeName.value = mail -subjectApi.source.ldap.numberOfAttributes = 6 +subjectApi.source.ldap.numberOfAttributes = 7 subjectApi.source.ldap.attribute.0.name = uid subjectApi.source.ldap.attribute.0.subjectIdentifier = true subjectApi.source.ldap.attribute.0.translationType = sourceAttributeSameAsSubjectAttribute @@ -27,8 +27,13 @@ subjectApi.source.ldap.attribute.4.formatToLowerCase = false subjectApi.source.ldap.attribute.5.name = employeeNumber subjectApi.source.ldap.attribute.5.translationType = sourceAttributeSameAsSubjectAttribute subjectApi.source.ldap.attribute.5.formatToLowerCase = false - +subjectApi.source.ldap.attribute.6.name = searchAttribute0 +subjectApi.source.ldap.attribute.6.translationType = translation +subjectApi.source.ldap.attribute.6.translation = ${subject_attribute__employeenumber + '|' + subject_attribute__uid + '|' + subject_attribute__cn} +subjectApi.source.ldap.attribute.6.internal = true +subjectApi.source.ldap.attribute.6.formatToLowerCase = true subjectApi.source.ldap.search.search.param.filter.value = (&(|(uid=%TERM%)(employeeNumber=%TERM%)(cn=*%TERM%*))(objectclass=eduPerson)) + #todo ??? not created by UI: subjectApi.source.ldap.search.search.param.base.value = ou=people,dc=internet2,dc=edu #todo ??? not created by UI: subjectApi.source.ldap.search.search.param.scope.value = SUBTREE_SCOPE @@ -43,10 +48,13 @@ subjectApi.source.ldap.search.searchSubjectByIdentifier.param.filter.value = (&( subjectApi.source.ldap.searchAttributeCount = 1 -subjectApi.source.ldap.searchAttribute.0.attributeName = employeeNumber +subjectApi.source.ldap.searchAttribute.0.attributeName = searchAttribute0 subjectApi.source.ldap.sortAttribute.0.attributeName = employeeNumber subjectApi.source.ldap.sortAttributeCount = 1 +subjectApi.source.ldap.param.stringToFindOnCheckConfig.value = Dawn Gilmore +subjectApi.source.ldap.param.subjectIdToFindOnCheckConfig.value = 800002999 +subjectApi.source.ldap.param.subjectIdentifierToFindOnCheckConfig.value = dgilmore # STATUS SECTION for searches to filter out inactives and allow # the user to filter by status with e.g. status=all