So you are trying to auto populate attributes for the user based on specific attribute from LDAP server ,so to be able to do that :
First of all define which attribute you would like to use to call rest of attributes :
so for example :
you have LDAP Attribute of :
employeeid:789
mobile :0123456789
mail: user@domain.com
now you want user to user his/her employee id to be validated and also to populate the rest of attributes in clearpass:
now you need to configure your fields which you need to populate for example create new fields with same relevant attribute names and make it hidden fields :
for example we created clearpass fields as below:
employeeid (to be shown in the form and it will have LDAP search this field you cna copy from sponser_lookup) or even you can use sponser_lookup field itself)
mobile (hidden field)
email (hidden field)
configure your bind LDAP server under guest operator logins
and use Filter Expression as below :
(&
(objectClass=user)
(objectCategory=person)
(|
# Match users by any of these criteria
(employeeid=@SEARCH@)
)
)
this filter will enable you to search base on employeeid attribute ,for sure you can change it to what ever attribute you want or even add more attributes to be searchable
now you need to define what will be your display attribute which will be actually added to the employeeid field inside the form ,inside display attribute add:
employeeid = id
which mean use the employeeid inside the field ,you can add text or desc to show some info while searching,
now the part which will map LDAP attribute to your fields inside your form add in Attribute Mapping in below format :
Clearpass_FIELD | LDAP_ATTRIBUTE
example :
employeeid | employeeid
mobile | mobile
email | mail
now when user is putting his/her employee id (789) and click register ,automatically you will see that mobile : 0123456789 is same employee id and email : user@domain.com is same as email id of same user ,so you can send SMS or mail on actions .
employeeid:789
mobile :0123456789
mail: user@domain.com
I hope this would solve your issue.
Thanks,
Islam Zidan
ACEX#86