Monday, September 17, 2007

PeopleSoft LDAP Schema Cache Error

There is an issue sometimes when you try to cache the LDAP Server's schema if the user you are using has access to attributes with names that are longer than 50 Characters.

When it is time to setup the LDAP Directory you have the cache the the Ldap Schema on the app server. The problem comes in when we have an attribute that is longer than 50 Chars in ldap, and the process bombs.
In order to fix this, we modify the peoplecode on the PSDSCHEMA.DSDIRID fieldforula and replace ":3" with "substr(:3,1,50)" in the insert statements at lines 811, 819, 826 and 843. (In PeopleTool 8.48). Then re-run the Schema Cache Process.
If you can't modify the PSDSCHEMA.DSDIRID People code, you might need to temporally take the PSDSCHEMA record out of the peopletools permission group, just make sure u put it back in.

No comments: