Lines Matching refs:ECHO

627 	    [ "$ANS" = "" ] && ${ECHO} "" && ${ECHO} "NULL passwd not allowed!"
632 ${ECHO} ""
642 ${ECHO} ""
643 ${ECHO} "ERROR: passwords don't match; try again."
648 ${ECHO} ""
658 [ $DEBUG -eq 1 ] && ${ECHO} "In get_passwd_nochk()"
666 ${ECHO} ""
685 ${ECHO} "get_menu_choice(): Did not get required parameters."
701 ${ECHO} "Invalid choice: $MN_CH"
720 ${ECHO} "INTERNAL ERROR: get_confirm requires 2 args, 3rd is optional."
725 ${ECHO} "$1 [$2] \c"
736 * ) ${ECHO} "Please enter y or n." ;;
752 ${ECHO} "$@ \c"
757 * ) ${ECHO} "Please enter y or n." ;;
862 ${ECHO} " Checking LDAP Base DN ..."
864 [ $DEBUG -eq 1 ] && ${ECHO} "Checking baseDN: $ck_DN"
866 ${ECHO} "$ck_DN" | ${GREP} "=" > /dev/null 2>&1
868 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: No '=' in baseDN."
876 dkey=`${ECHO} $ck_DN | cut -d'=' -f1`
881 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: invalid key=${dkey}"
885 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: valid key=${dkey}"
888 ck_DN=`${ECHO} $ck_DN | cut -s -d',' -f2-`
913 domtmp="`${ECHO} ${_DOM} | tr '.' ' '`"
952 *) ${ECHO} "**ERROR: Supported option missing handler!"
970 ECHO="/bin/echo" # print message on screen
1079 export DEBUG VERB ECHO EVAL EGREP GREP STEP TMPDIR
1102 [ $DEBUG -eq 1 ] && ${ECHO} " IDS_SERVER = $IDS_SERVER"
1103 [ $DEBUG -eq 1 ] && ${ECHO} " IDS_PORT = $IDS_PORT"
1104 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_ROOTDN = $LDAP_ROOTDN"
1105 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_ROOTPWD = $LDAP_ROOTPWD"
1106 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_DOMAIN = $LDAP_DOMAIN"
1107 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SUFFIX = $LDAP_SUFFIX"
1108 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_BASEDN = $LDAP_BASEDN"
1109 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_PROFILE_NAME = $LDAP_PROFILE_NAME"
1110 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SERVER_LIST = $LDAP_SERVER_LIST"
1111 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_PREF_SRVLIST = $LDAP_PREF_SRVLIST"
1112 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SEARCH_SCOPE = $LDAP_SEARCH_SCOPE"
1113 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_CRED_LEVEL = $LDAP_CRED_LEVEL"
1114 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_AUTHMETHOD = $LDAP_AUTHMETHOD"
1115 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_FOLLOWREF = $LDAP_FOLLOWREF"
1116 [ $DEBUG -eq 1 ] && ${ECHO} " IDS_TIMELIMIT = $IDS_TIMELIMIT"
1117 [ $DEBUG -eq 1 ] && ${ECHO} " IDS_SIZELIMIT = $IDS_SIZELIMIT"
1118 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_CRYPT = $NEED_CRYPT"
1119 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_SRVAUTH_PAM = $NEED_SRVAUTH_PAM"
1120 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_SRVAUTH_KEY = $NEED_SRVAUTH_KEY"
1121 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_SRVAUTH_CMD = $NEED_SRVAUTH_CMD"
1122 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SRV_AUTHMETHOD_PAM = $LDAP_SRV_AUTHMETHOD_PAM"
1123 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SRV_AUTHMETHOD_KEY = $LDAP_SRV_AUTHMETHOD_KEY"
1124 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SRV_AUTHMETHOD_CMD = $LDAP_SRV_AUTHMETHOD_CMD"
1125 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SEARCH_TIME_LIMIT = $LDAP_SEARCH_TIME_LIMIT"
1126 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_PROFILE_TTL = $LDAP_PROFILE_TTL"
1127 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_BIND_LIMIT = $LDAP_BIND_LIMIT"
1128 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_ENABLE_SHADOW_UPDATE = $LDAP_ENABLE_SHADOW_UPDATE"
1131 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_PROXY = $NEED_PROXY"
1133 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_PROXYAGENT = $LDAP_PROXYAGENT"
1134 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_PROXYAGENT_CRED = $LDAP_PROXYAGENT_CRED"
1138 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_ADMIN = $NEED_ADMIN"
1139 [ $DEBUG -eq 1 ] && ${ECHO} " NEED_HOSTACL = $NEED_HOSTACL"
1141 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_ADMINDN = $LDAP_ADMINDN"
1142 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_ADMIN_CRED = $LDAP_ADMIN_CRED"
1146 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SERV_SRCH_DES = $LDAP_SERV_SRCH_DES"
1155 [ $DEBUG -eq 1 ] && ${ECHO} "In load_config_file()"
1211 ${ECHO} "ERROR: Server '${IDS_SERVER}' is invalid or unreachable."
1242 ${ECHO} "ERROR: Invalid host or port: ${IDS_SERVER}:${IDS_PORT}, Please re-enter!"
1258 [ $DEBUG -eq 1 ] && ${ECHO} "In chk_ids_version()"
1263 ${ECHO} "ERROR: Can not determine the version number of iDS!"
1267 IDS_MAJVER=`${ECHO} ${IDS_VER} | cut -f1 -d.`
1268 IDS_MINVER=`${ECHO} ${IDS_VER} | cut -f2 -d.`
1271 …*) ${ECHO} "ERROR: $PROG only works with JES DS version 5.x, 6.x or 7.x, not ${IDS_VER}."; exit …
1275 ${ECHO} " IDS_MAJVER = $IDS_MAJVER"
1276 ${ECHO} " IDS_MINVER = $IDS_MINVER"
1320 ${ECHO} "ERROR: Root DN passwd is invalid."
1322 ${ECHO} "ERROR: Invalid Root DN <${LDAP_ROOTDN}>."
1349 * ) ${ECHO} "Invalid domainname: \"${ANS}\"."
1382 * ) ${ECHO} "Invalid base DN: \"${ANS}\"."
1427 LDAP_KRB_REALM=`${ECHO} ${LDAP_DOMAIN} | ${NAWK} '{ print toupper($0) }'`
1430 LDAP_KRB_REALM=`${ECHO} ${ANS} | ${NAWK} '{ print toupper($0) }'`
1439 ${ECHO} " ${1} already exists"
1444 ${ECHO} " ${1} is added"
1447 ${ECHO} " ERROR: failed to add ${1}"
1460 ${ECHO} " Adding Kerberos principal to DN mapping rules..."
1531 ${ECHO} " ${_P_DN} does not exist"
1543 ${ECHO} " ${_P_DN} already exists"
1551 ${ECHO} " userpassword ACL ${_P_ACI} already exists."
1554 ${ECHO} " userpassword ACL ${_P_ACI} not found. Create a new one."
1557 ${ECHO} " Error searching aci for ${_P_DN}"
1577 ${ECHO} " ${_P_DN} uaserpassword ACL is updated."
1580 ${ECHO} " ${_P_DN} uaserpassword ACL already exists."
1583 ${ECHO} " ERROR: update of userpassword ACL for ${_P_DN} failed!"
1598 ${ECHO} "${1} ${2} does not exist."
1603 ${ECHO} "${1} ${2} already exists. Schema has been updated"
1620 ${ECHO} " sasl/GSSAPI is not supported by this LDAP server"
1627 ${ECHO}
1628 ${ECHO} "GSSAPI is not set up."
1629 ${ECHO} "sasl/GSSAPI bind may not work if it's not set up first."
1674 [ $DEBUG -eq 1 ] && ${ECHO} "set up shadow update"
1688 ${ECHO} "Please re-enter a new profile name."
1752 [ $DEBUG -eq 1 ] && ${ECHO} "In get_search_scope()"
1765 *) ${ECHO} "Please enter \"one\", \"sub\", or \"h\"." ;;
1778 [ $DEBUG -eq 1 ] && ${ECHO} "In get_cred_level()"
1785 ${ECHO} '"self" is needed for GSSAPI profile'
1799 *) ${ECHO} "Please enter 1, 2, 3 or 4." ;;
1839 *) ${ECHO} "Please enter 1-5 or 0 to reset." ;;
1857 ${ECHO} '"sasl/GSSAPI" is needed for GSSAPI profile'
1885 *) ${ECHO} "Please enter 1-6, 0=reset, or h=help." ;;
1896 [ $DEBUG -eq 1 ] && ${ECHO} "In get_auth()"
1916 ${ECHO} ""
1917 ${ECHO} "Current authenticationMethod: ${LDAP_AUTHMETHOD}"
1918 ${ECHO} ""
1951 ${ECHO} " ERROR: Could not reach LDAP server to check current timeout!"
1970 ${ECHO} " ERROR: Could not reach LDAP server to check current sizelimit!"
2002 [ $DEBUG -eq 1 ] && ${ECHO} "In get_srv_authMethod_pam()"
2026 ${ECHO} ""
2027 ${ECHO} "Current authenticationMethod: ${LDAP_SRV_AUTHMETHOD_PAM}"
2028 ${ECHO} ""
2051 [ $DEBUG -eq 1 ] && ${ECHO} "In get_srv_authMethod_key()"
2075 ${ECHO} ""
2076 ${ECHO} "Current authenticationMethod: ${LDAP_SRV_AUTHMETHOD_KEY}"
2077 ${ECHO} ""
2100 [ $DEBUG -eq 1 ] && ${ECHO} "In get_srv_authMethod_cmd()"
2124 ${ECHO} ""
2125 ${ECHO} "Current authenticationMethod: ${LDAP_SRV_AUTHMETHOD_CMD}"
2126 ${ECHO} ""
2182 [ $DEBUG -eq 1 ] && ${ECHO} "In add_ssd()"
2197 ${ECHO} "ERROR: Service id ${ANS} already exists."
2208 case `${ECHO} ${_SCOPE} | tr '[A-Z]' '[a-z]'` in
2211 *) ${ECHO} "${_SCOPE} is Not valid - Enter 'one' or 'sub'" ;;
2219 ${ECHO} "${_SSD}" >> ${SSD_FILE}
2228 [ $DEBUG -eq 1 ] && ${ECHO} "In delete_ssd()"
2236 ${ECHO} "Invalid service id: $ANS not present in list."
2243 ${ECHO} "ERROR: could not create file: ${SSD_FILE}.bak"
2258 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_ssd()"
2266 ${ECHO} "Invalid service id: $ANS"
2271 ${ECHO} ""
2272 ${ECHO} "Current SSD: $_LINE"
2273 ${ECHO} ""
2276 _CURR_BASE=`${ECHO} $_LINE | cut -d: -f2 | cut -d'?' -f 1`
2277 _CURR_SCOPE=`${ECHO} $_LINE | cut -d: -f2 | cut -d'?' -f 2`
2282 ${ECHO} "ERROR: could not create file: ${SSD_FILE}.bak"
2301 ${ECHO} "${_SSD}" >> ${SSD_FILE}
2310 [ $DEBUG -eq 1 ] && ${ECHO} "In display_ssd()"
2312 ${ECHO} ""
2313 ${ECHO} "Current Service Search Descriptors:"
2314 ${ECHO} "=================================="
2316 ${ECHO} ""
2317 ${ECHO} "Hit return to continue."
2327 [ $DEBUG -eq 1 ] && ${ECHO} "In prompt_ssd()"
2344 ${ECHO} " Press return to continue."
2347 *) ${ECHO} "Invalid choice: $ANS please re-enter from menu." ;;
2358 [ $DEBUG -eq 1 ] && ${ECHO} "In reset_ssd_file()"
2370 [ $DEBUG -eq 1 ] && ${ECHO} "In create_ssd_file()"
2384 [ $DEBUG -eq 1 ] && ${ECHO} "In ssd_2_config()"
2396 [ $DEBUG -eq 1 ] && ${ECHO} "In ssd_2_profile()"
2404 ${ECHO} " -a \"serviceSearchDescriptor=${SSD_LINE}\"\c" >> ${GEN_TMPFILE}
2419 [ $DEBUG -eq 1 ] && ${ECHO} "LDAP_ADMINDN = $LDAP_ADMINDN"
2429 [ $DEBUG -eq 1 ] && ${ECHO} "LDAP_ADMIN_CRED = $LDAP_ADMIN_CRED"
2437 [ $DEBUG -eq 1 ] && ${ECHO} "In add_admin()"
2444 ${ECHO} " NOT ADDED: $MSG"
2446 ${ECHO} " ${STEP}. $MSG"
2453 cn_tmp=`${ECHO} ${LDAP_ADMINDN} | cut -f1 -d, | cut -f2 -d=`
2469 ${ECHO} " ERROR: Adding administrator identity failed!"
2479 ${ECHO} " ADDED: $MSG."
2481 ${ECHO} " ${STEP}. $MSG added."
2492 [ $DEBUG -eq 1 ] && ${ECHO} "In allow_admin_read_write_shadow()"
2508 ${ECHO} " NOT SET: $MSG"
2510 ${ECHO} " ${STEP}. $MSG"
2537 ${ECHO} " ERROR: Allow ${LDAP_ADMINDN} read/write access to shadow data failed!"
2546 ${ECHO} " ACI SET: $MSG"
2548 ${ECHO} " ${STEP}. $MSG"
2559 [ $DEBUG -eq 1 ] && ${ECHO} "In allow_host_read_write_shadow()"
2570 ${ECHO} " NOT ADDED: $MSG"
2572 ${ECHO} " ${STEP}. $MSG"
2590 ${ECHO} " ERROR: Allow Host Principal to write shadow data failed!"
2598 ${ECHO} " ACI SET: $MSG"
2600 ${ECHO} " ${STEP}. $MSG"
2609 [ $DEBUG -eq 1 ] && ${ECHO} "In setup_shadow_update()"
2616 [ $DEBUG -eq 1 ] && ${ECHO} "Profile ${LDAP_PROFILE_NAME} does not exist"
2633 [ $DEBUG -eq 1 ] && ${ECHO} "NEED_HOSTACL = $NEED_HOSTACL"
2642 ${ECHO} ""
2643 ${ECHO} " Shadow update has been enabled."
2645 ${ECHO} ""
2646 ${ECHO} " Shadow update may not work."
2661 ${ECHO} ""
2662 ${ECHO} " Shadow update has been enabled."
2666 ${ECHO} " No administrator identity specified, shadow update may not work."
2676 [ $DEBUG -eq 1 ] && ${ECHO} "In prompt_config_info()"
2774 ${ECHO} " "
2809 [ $DEBUG -eq 1 ] && ${ECHO} "In display_summary()"
2847 if ${ECHO} "$LDAP_CRED_LEVEL" | ${GREP} "proxy" > /dev/null 2>&1
2854 ${ECHO} "WARNING: Since Authentication method is 'none'."
2855 ${ECHO} " Credential level will be set to 'anonymous'."
2863 if ${ECHO} "$LDAP_CRED_LEVEL" | ${GREP} "self" > /dev/null 2>&1; then
2864 if ${ECHO} "$LDAP_AUTHMETHOD" | ${GREP} "GSSAPI" > /dev/null 2>&1; then
2869 [ $DEBUG -eq 1 ] && ${ECHO} "NEED_HOSTACL = $NEED_HOSTACL"
2870 [ $DEBUG -eq 1 ] && ${ECHO} "NEED_ADMIN = $NEED_ADMIN"
2881 ${ECHO} " "
2884 ${ECHO} "Terminating setup without making changes at users request."
2890 ${ECHO} " "
2899 [ $DEBUG -eq 1 ] && ${ECHO} "In create_config_file()"
2984 ${ECHO} "" >> ${OUTPUT_FILE}
2985 ${ECHO} "# End of $OUTPUT_FILE" >> ${OUTPUT_FILE}
2998 ${ECHO} "ERROR: VLV is not supported on LDAP server!"
3002 [ $DEBUG -eq 1 ] && ${ECHO} " VLV controls found on LDAP server."
3021 [ $DEBUG -eq 1 ] && ${ECHO} "In get_backend()"
3028 [ $DEBUG -eq 1 ] && ${ECHO} "testing LDAP suffix: ${cur_suffix}"
3038 cur_suffix=`${ECHO} ${cur_suffix} | cut -f2- -d','`
3044 ${ECHO} "ERROR: More than one database is configured "
3045 ${ECHO} " for $LDAP_SUFFIX!"
3046 ${ECHO} " $PROG can not configure suffixes where "
3047 ${ECHO} " more than one database is used for one suffix."
3059 ${ECHO} "Could not find a valid backend for ${LDAP_BASEDN}."
3060 ${ECHO} "Exiting."
3065 [ $DEBUG -eq 1 ] && ${ECHO} "IDS_DATABASE: ${IDS_DATABASE}"
3074 [ $DEBUG -eq 1 ] && ${ECHO} "In validate_suffix()"
3078 ${ECHO} "Invalid suffix (null suffix)"
3090 [ $DEBUG -eq 1 ] && ${ECHO} "LOWER_BASEDN: ${LOWER_BASEDN}"
3091 [ $DEBUG -eq 1 ] && ${ECHO} "LOWER_SUFFIX: ${LOWER_SUFFIX}"
3096 ${ECHO} "Invalid suffix ${LOWER_SUFFIX}"
3097 ${ECHO} "for Base DN ${LOWER_BASEDN}"
3130 [ $DEBUG -eq 1 ] && ${ECHO} "Suffix $LDAP_SUFFIX, Database $IDS_DATABASE"
3140 [ $DEBUG -eq 1 ] && ${ECHO} "In validate_info()"
3154 ${ECHO} "ERROR: Root DN passwd is invalid."
3156 ${ECHO} "ERROR2: Invalid Root DN <${LDAP_ROOTDN}>."
3161 [ $DEBUG -eq 1 ] && ${ECHO} " RootDN ... OK"
3162 [ $DEBUG -eq 1 ] && ${ECHO} " RootDN passwd ... OK"
3166 [ $DEBUG -eq 1 ] && ${ECHO} " VLV indexes ... OK"
3170 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP suffix ... OK"
3181 FMT_STR=`${ECHO} "$1" | tr '[A-Z]' '[a-z]' |
3196 [ $DEBUG -eq 1 ] && ${ECHO} "In prep_create_sfx_entry()"
3200 ${ECHO} ",${FMT_STR}" | ${GREP} ",${LDAP_SUFFIX}$" >/dev/null 2>&1 ||
3207 _RDN=`${ECHO} "${LDAP_SUFFIX}" | cut -d, -f1`
3208 _ATT=`${ECHO} "${_RDN}" | cut -d= -f1`
3209 _VAL=`${ECHO} "${_RDN}" | cut -d= -f2-`
3222 [ $DEBUG -eq 1 ] && ${ECHO} "Suffix entry object is ${LDAP_SUFFIX_OBJ}"
3280 [ $DEBUG -eq 1 ] && ${ECHO} "Suffix mapping already exists"
3297 [ $DEBUG -eq 1 ] && ${ECHO} "DEBUG: backend needs to be created ..."
3314 [ $DEBUG -eq 1 ] && ${ECHO} "In prep_create_sfx_backend()"
3329 ${ECHO} "${_LDBM_DBS}" | ${GREP} -i "^cn=${_name}$" >/dev/null 2>&1 ||
3360 [ $DEBUG -eq 1 ] && ${ECHO} "In add_suffix()"
3388 ${ECHO} " ${STEP}. Database ${IDS_DATABASE} successfully created"
3404 ${ECHO} " ${STEP}. Suffix ${LDAP_SUFFIX} successfully created"
3422 [ $DEBUG -eq 1 ] && ${ECHO} "In get_suffix()"
3493 [ $DEBUG -eq 1 ] && ${ECHO} "In check_basedn_suffix()"
3500 ${ECHO} " Validating LDAP Base DN and Suffix ..."
3507 [ $DEBUG -eq 1 ] && ${ECHO} "testing LDAP entry: ${cur_ldap_entry}"
3514 cur_ldap_entry=`${ECHO} ${cur_ldap_entry} | cut -f2- -d','`
3519 ${ECHO} " No valid suffixes were found for Base DN ${LDAP_BASEDN}"
3525 [ $DEBUG -eq 1 ] && ${ECHO} "found valid LDAP entry: ${cur_ldap_entry}"
3532 [ $DEBUG -eq 1 ] && ${ECHO} "final suffix list: ${LDAP_SUFFIX_LIST}"
3534 [ $DEBUG -eq 1 ] && ${ECHO} "setting IFS to new line"
3539 [ $DEBUG -eq 1 ] && ${ECHO} "testing suffix: ${suff}"
3557 [ $DEBUG -eq 1 ] && ${ECHO} "setting IFS to original value"
3560 [ $DEBUG -eq 1 ] && ${ECHO} "LDAP_SUFFIX: ${LDAP_SUFFIX}"
3564 ${ECHO} "Could not find a valid suffix for ${LDAP_BASEDN}."
3565 ${ECHO} "Exiting."
3584 [ $DEBUG -eq 1 ] && ${ECHO} "In discover_serv_suffix()"
3593 [ $DEBUG -eq 1 ] && ${ECHO} "DEBUG: No suffix found in LDAP tree"
3603 [ $DEBUG -eq 1 ] && ${ECHO} " LDAP_SUFFIX_LIST = $LDAP_SUFFIX_LIST"
3613 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_cn()"
3626 ${ECHO} " ERROR: update of cn for ipNetwork failed!"
3636 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_timelimit()"
3650 ${ECHO} " ERROR: update of nsslapd-timelimit failed!"
3656 ${ECHO} " ${STEP}. Changed timelimit to ${IDS_TIMELIMIT} in cn=config."
3664 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_sizelimit()"
3678 ${ECHO} " ERROR: update of nsslapd-sizelimit failed!"
3684 ${ECHO} " ${STEP}. Changed sizelimit to ${IDS_SIZELIMIT} in cn=config."
3692 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_pwd_crypt()"
3717 ${ECHO} " ERROR: update of passwordstoragescheme failed!"
3723 ${ECHO} " ${STEP}. Changed passwordstoragescheme to \"crypt\" in cn=config."
3733 [ $DEBUG -eq 1 ] && ${ECHO} "In add_eq_indexes()"
3746 ${ECHO} " ${STEP}. Processing eq,pres indexes:"
3751 [ $DEBUG -eq 1 ] && ${ECHO} " Adding index for ${i}"
3758 ${ECHO} " ${i} (eq,pres) skipped already exists"
3777 ${ECHO} " ERROR: Adding EQ,PRES index for ${i} failed!"
3808 ${ECHO} " ERROR: Adding task for ${i} failed!"
3825 ${ECHO} " ${i} (eq,pres) $TASK_STATUS \r\c"
3826 ${ECHO} "$TASK_STATUS" | ${GREP} "Finished" > /dev/null 2>&1
3834 ${ECHO} " "
3844 [ $DEBUG -eq 1 ] && ${ECHO} "In add_sub_indexes()"
3854 ${ECHO} " ${STEP}. Processing eq,pres,sub indexes:"
3859 [ $DEBUG -eq 1 ] && ${ECHO} " Adding index for ${i}"
3866 ${ECHO} " ${i} (eq,pres,sub) skipped already exists"
3886 ${ECHO} " ERROR: Adding EQ,PRES,SUB index for ${i} failed!"
3917 ${ECHO} " ERROR: Adding task for ${i} failed!"
3934 ${ECHO} " ${i} (eq,pres,sub) $TASK_STATUS \r\c"
3935 ${ECHO} "$TASK_STATUS" | ${GREP} "Finished" > /dev/null 2>&1
3943 ${ECHO} " "
3953 [ $DEBUG -eq 1 ] && ${ECHO} "In add_vlv_indexes()"
3988 ${ECHO} " ${STEP}. Processing VLV indexes:"
4010 [ $DEBUG -eq 1 ] && ${ECHO} " Adding index for ${i}"
4013 i=`${ECHO} $p | cut -d';' -f1`
4014 j=`${ECHO} $p | cut -d';' -f2`
4015 k=`${ECHO} $p | cut -d';' -f3`
4016 m=`${ECHO} $p | cut -d';' -f4`
4025 ${ECHO} " ${i} vlv_index skipped already exists"
4058 ${ECHO} " ERROR: Adding VLV index for ${i} failed!"
4064 ${ECHO} " ${i} vlv_index Entry created"
4067 …${ECHO} " directoryserver -s ${_INSTANCE} vlvindex -n ${IDS_DATABASE} -T ${i}" >> ${TMPDIR}/ds5_v…
4068 …${ECHO} " <install-path>/bin/dsadm reindex -l -t ${i} <directory-instance-path> ${LDAP_SUFFIX}" >…
4127 [ $DEBUG -eq 1 ] && ${ECHO} "In update_schema_attr()"
4236 ${ECHO} " ERROR: update of schema attributes failed!"
4242 ${ECHO} " ${STEP}. Schema attributes have been updated."
4252 [ $DEBUG -eq 1 ] && ${ECHO} "In update_schema_obj()"
4391 ${ECHO} " ERROR: update of schema objectclass definitions failed!"
4397 ${ECHO} " ${STEP}. Schema objectclass definitions have been added."
4407 [ $DEBUG -eq 1 ] && ${ECHO} "In modify_top_aci()"
4415 ${ECHO} "Error searching aci for ${LDAP_BASEDN}"
4422 ${ECHO} " ${STEP}. Top level ACI ${ACI_NAME} already exists for ${LDAP_BASEDN}."
4440 ${ECHO} " ERROR: Modify of top level ACI failed! (restricts self modify)"
4448 ${ECHO} " ACI SET: $MSG"
4450 ${ECHO} " ${STEP}. $MSG"
4461 [ $DEBUG -eq 1 ] && ${ECHO} "In find_and_delete_ACI"
4480 ${ECHO} " ERROR: Remove of $3 ACI failed!"
4489 ${ECHO} " ACI DELETED: $MSG"
4491 ${ECHO} " ${STEP}. $MSG"
4503 [ $DEBUG -eq 1 ] && ${ECHO} "In deny_non_admin_shadow_access()"
4512 ${ECHO} "Error searching aci for ${LDAP_BASEDN}"
4522 ${ECHO} " NOT SET: $MSG"
4524 ${ECHO} " ${STEP}. $MSG"
4549 ${ECHO} " ERROR: Adding ACI ${ACI_TO_ADD} failed!"
4559 ${ECHO} " ACI SET: $MSG"
4561 ${ECHO} " ${STEP}. $MSG"
4572 [ $DEBUG -eq 1 ] && ${ECHO} "In deny_non_host_shadow_access()"
4581 ${ECHO} "Error searching aci for ${LDAP_BASEDN}"
4591 ${ECHO} " NOT SET: $MSG"
4593 ${ECHO} " ${STEP}. $MSG"
4619 ${ECHO} " ERROR: Adding ACI ${ACI_TO_ADD} failed!"
4629 ${ECHO} " ACI SET: $MSG"
4631 ${ECHO} " ${STEP}. $MSG"
4641 [ $DEBUG -eq 1 ] && ${ECHO} "In add_vlv_aci()"
4655 ${ECHO} " ERROR: Add of VLV ACI failed!"
4661 ${ECHO} " ${STEP}. Add of VLV Access Control Information (ACI)."
4671 [ $DEBUG -eq 1 ] && ${ECHO} "In set_nisdomain()"
4678 ${ECHO} " ${STEP}. NisDomainObject for ${LDAP_BASEDN} was already set."
4695 ${ECHO} " ERROR: update of NisDomainObject in ${LDAP_BASEDN} failed."
4701 ${ECHO} " ${STEP}. NisDomainObject added to ${LDAP_BASEDN}."
4713 [ $DEBUG -eq 1 ] && ${ECHO} "In check_attrName()"
4714 [ $DEBUG -eq 1 ] && ${ECHO} "check_attrName: Input Param = $1"
4716 ${ECHO} $1 | ${EGREP} '^[0-9]+(\.[0-9]+)*$' > /dev/null 2>&1
4744 [ $DEBUG -eq 1 ] && ${ECHO} "In get_objectclass()"
4745 [ $DEBUG -eq 1 ] && ${ECHO} "get_objectclass: Input Param = $1"
4751 case `${ECHO} ${1} | tr '[A-Z]' '[a-z]'` in
4759 [ $DEBUG -eq 1 ] && ${ECHO} "get_objectclass: _ATTR_NAME = $_ATTR_NAME"
4768 [ $DEBUG -eq 1 ] && ${ECHO} "In add_base_objects()"
4776 [ $DEBUG -eq 1 ] && ${ECHO} "LOWER_BASEDN: ${LOWER_BASEDN}"
4777 [ $DEBUG -eq 1 ] && ${ECHO} "LOWER_SUFFIX: ${LOWER_SUFFIX}"
4781 [ $DEBUG -eq 1 ] && ${ECHO} "Base DN and Suffix equivalent"
4787 ${ECHO} "Invalid suffix ${LOWER_SUFFIX}"
4788 ${ECHO} "for Base DN ${LOWER_BASEDN}"
4794 dcstmp2="`${ECHO} ${LDAP_BASEDN} |
4803 i2=`${ECHO} "$dcstmp2" | cut -f1 -d','`
4804 dk=`${ECHO} $i2 | awk -F= '{print $1}'`
4805 dc=`${ECHO} $i2 | awk -F= '{print $2}'`
4807 dcstmp2=`${ECHO} "$dcstmp2" | cut -f2- -d','`
4808 dcstmp=`${ECHO} "$dcstmp" | cut -f2- -d','`
4810 ${ECHO} "dcs: ${dcs}\ndcstmp: ${dcstmp}\ndcstmp2: ${dcstmp2}\n"
4816 dc=`${ECHO} "${dcs}" | cut -f1 -d','`
4817 dcstmp=`${ECHO} "${dcs}" | cut -f2- -d','`
4820 dk2=`${ECHO} $dc | awk -F= '{print $1}'`
4821 dc2=`${ECHO} $dc | awk -F= '{print $2}'`
4832 dc=`${ECHO} "${dcstmp}" | cut -f1 -d','`
4833 dcstmp=`${ECHO} "${dcstmp}" | cut -f2- -d','`
4842 ${ECHO} "Cannot determine objectclass for $dk2"
4843 ${ECHO} "Please create ${dk2}=${dc2},$lastdc entry and rerun idsconfig"
4863 ${ECHO} " ERROR: update of base objects ${dc} failed."
4869 ${ECHO} " ${STEP}. Created DN component ${dc}."
4873 dc=`${ECHO} "${dcstmp}" | cut -f1 -d','`
4874 dcstmp=`${ECHO} "${dcstmp}" | cut -f2- -d','`
4887 [ $DEBUG -eq 1 ] && ${ECHO} "In add_new_containers()"
4911 ${ECHO} " ERROR: Add of ou=${ou} container failed!"
4918 ${ECHO} " ${STEP}. Top level \"ou\" containers complete."
4930 [ $DEBUG -eq 1 ] && ${ECHO} "In add_auto_maps()"
4954 ${ECHO} " ERROR: Add of automap ${automap} failed!"
4961 ${ECHO} " ${STEP}. automount maps: $AUTO_MAPS processed."
4971 [ $DEBUG -eq 1 ] && ${ECHO} "In add_proxyagent()"
4976 ${ECHO} " ${STEP}. Proxy Agent ${LDAP_PROXYAGENT} already exists."
4982 cn_tmp=`${ECHO} ${LDAP_PROXYAGENT} | cut -f1 -d, | cut -f2 -d=`
4998 ${ECHO} " ERROR: Adding proxyagent failed!"
5004 ${ECHO} " ${STEP}. Proxy Agent ${LDAP_PROXYAGENT} added."
5013 [ $DEBUG -eq 1 ] && ${ECHO} "In allow_proxy_read_pw()"
5019 ${ECHO} " ${STEP}. Proxy ACI ${PROXY_ACI_NAME=} already exists for ${LDAP_BASEDN}."
5038 ${ECHO} " ERROR: Allow ${LDAP_PROXYAGENT} to read password failed!"
5044 ${ECHO} " ${STEP}. Give ${LDAP_PROXYAGENT} read permission for password."
5051 [ $DEBUG -eq 1 ] && ${ECHO} "In delete_proxy_read_pw()"
5058 ${ECHO} "Proxy ACI ${PROXY_ACI_NAME} does not exist for ${LDAP_BASEDN}."
5068 ${ECHO} "Proxy ACI ${PROXY_ACI_NAME} does not exist for ${LDAP_BASEDN}."
5111 ${ECHO} " ERROR: Remove of ${PROXY_ACI_NAME} ACI failed!"
5119 ${ECHO} " "
5120 ${ECHO} " ACI REMOVED: $MSG"
5121 ${ECHO} " The ACI removed is $proxy_aci"
5122 ${ECHO} " "
5130 [ $DEBUG -eq 1 ] && ${ECHO} "In add_profile()"
5143 ${ECHO} "ERROR: Profile name ${LDAP_PROFILE_NAME} exists! Add failed!"
5150 ${ECHO} " ERROR: Attempt to DELETE profile failed!"
5196 ${ECHO} " ERROR: ldapclient genprofile failed!"
5204 ${ECHO} " ERROR: Attempt to add profile failed!"
5210 ${ECHO} " ${STEP}. Generated client profile and loaded on server."
5220 [ $DEBUG -eq 1 ] && ${ECHO} "In cleanup()"
5245 ${ECHO} " "
5340 ${ECHO} " ACL for GSSAPI was not set because of incompatibility in profile."