Skip to content

Commit

Permalink
eduLDAP description to be 'FirstName LastName (uid)'
Browse files Browse the repository at this point in the history
  • Loading branch information
credman committed May 7, 2022
1 parent 43f93ff commit 1045a21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions base/container_files/conf/subject.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ subjectApi.source.ldap.adapterClass = edu.internet2.middleware.grouper.subj.Grou
subjectApi.source.ldap.param.ldapServerId.value = demo
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.Description_AttributeType.value = description
subjectApi.source.ldap.param.emailAttributeName.value = mail
subjectApi.source.ldap.numberOfAttributes = 7
subjectApi.source.ldap.numberOfAttributes = 8
subjectApi.source.ldap.attribute.0.name = uid
subjectApi.source.ldap.attribute.0.subjectIdentifier = true
subjectApi.source.ldap.attribute.0.translationType = sourceAttributeSameAsSubjectAttribute
Expand All @@ -32,6 +32,10 @@ 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.attribute.7.name = description
subjectApi.source.ldap.attribute.7.formatToLowerCase = false
subjectApi.source.ldap.attribute.7.translation = ${source_attribute__cn + ' (' + source_attribute__uid + ')'}
subjectApi.source.ldap.attribute.7.translationType = translation
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
Expand Down

0 comments on commit 1045a21

Please sign in to comment.