wiki:AUTH_utility_scripts

Version 2 (modified by lttoth@…, 10 years ago) (diff)

--

EDIR/AUTHSERV Utility Scripts

Original author: Beth Mercer - 20070522

"E" box ~ldapgw/local/scripts

disable_updates.ksh

Script "touches" the file recognized by EDIR/AUTHSERV/UPDATE interfaces as disabling updates.

Verified broken on 2/16/2010; see How to Disable EDIR/AUTHSERV Updates for details.

enable_updates.ksh

Script removes the file recognized by EDIR, AUTHSERV, and UPDATE interfaces as disabling updates.

Verified broken on 2/16/2010; see How to Disable EDIR/AUTHSERV Updates for details.

generate_class_attribs_list.pl

Script queries the Oracle registry LDAP_CLASS_ATTRIBS table to produce static files utilized by the EDIR interface (see static_list_maint.ksh in EDIR Related Batch Processes).

generate_gateway_lists.pl

Script queries the Oracle registry LDAP_GATEWAY_LISTS view to produce static files utilized by the EDIR interface (see static_list_maint.ksh in EDIR Related Batch Processes).

ldap_credVerify<Inst>

Script to verify that authserv03 credentials are working.

ldap_pcredVerify

Script verifies that authpriv03 credentials are working.

ldap_pquery

Script performs iPlanet ldapsearch using authpriv03 credentials.

$ ldap_pqueryTest "(bannerid=30057630)" mail uakEmployeeLocator

ldap_query

Script performs iPlanet ldapsearch using authserv03 credentials. You supply search filter and attribute list on command line:

$ ldap_queryTest "(bannerid=30057630)" mail uakEmployeeLocator

rsync<Inst>.ksh

Script synchronizes select directories and files with other "E" boxes (see rsync in AUTHSERV Related Processes and EDIR Related Batch Processes).

static_list_maint.ksh

Wrapper script calls generate_class_attribs_list.pl and generate_gateway_lists.pl to generate static files utilized by the EDIR interface.