Reply from GN on Apr 17 at 2:38 PM You need to modify the code for it. Add the following code before (&bEntryRead = LDAPRead(&global_DN, &props); at the end of the function getProfileMap ) /*Begin Customization */ &prop = create PT_SECURITY:LDAP:UserProfileProperty(); &prop.NAME = "employeeType"; &prop.LDAPATTRNAME = "employeeType"; /*check your attribute name */ &prop.AlwaysUpdate = False; &prop.USELDAP = False; &props.AddProperty(&prop); /*end Customization */ &bEntryRead = LDAPRead(&global_DN, &props); ...... .... Now when you look through the properties (&prflProps) you should see the above attribute and its value.
| | | ---------------Original Message--------------- From: Kevin P Sent: Monday, March 12, 2012 2:15 PM Subject: Possible to Add an Extra Validation Field in LDAP Active Directory Authentication? We have had a requirement to add an extra field to the LDAP verification process. So, not only would we authenticate the USER_ID / Pwd with the uid / pwd in the active directory, but we would "lookup" another field (e.g. Dept.) and validate that against the relevant Active directory field. I don't see any way to do this using the delivered setup pages. So, we looking at modifying the code in FUNCLIB_LDAP.LDAPAUTH.FieldDefault. Has anyone else done something similar? Just wondering if this is a good approach to this request. Thanks! | | Reply to this email to post your response. __.____._ | _.____.__ |
No comments:
Post a Comment