chore: add stta code

This commit is contained in:
JesusPerez 2021-10-01 20:35:43 +01:00
parent 72e6a75453
commit 0057ba2569
5196 changed files with 387129 additions and 0 deletions
stta

254
stta/.brandinfofile Executable file
View File

@ -0,0 +1,254 @@
stta/acl_security.pl::1.31051043346-::9401::[2004_01_29_102036]::
stta/addact.cgi::1.31051043346-::4578::[2004_01_29_102036]::
stta/addapps.cgi::1.31051043346-::4554::[2004_01_29_102036]::
stta/adddomains.cgi::1.31051043346-::3543::[2004_01_29_102036]::
stta/addfile.cgi::1.31051043346-::3067::[2004_01_29_102036]::
stta/addgrpapps.cgi::1.31051043346-::4301::[2004_01_29_102036]::
stta/addgrphosts.cgi::1.31051043346-::4824::[2004_01_29_102036]::
stta/addhosts.cgi::1.31051043346-::5411::[2004_01_29_102036]::
stta/addhostsuser.cgi::1.31051043346-::1512::[2004_01_29_102036]::
stta/addlinks.cgi::1.31051043346-::3361::[2004_01_29_102036]::
stta/addobj.cgi::1.31051043346-::4770::[2004_01_29_102036]::
stta/addou.cgi::1.31051043346-::4995::[2004_01_29_102036]::
stta/addprofcache.cgi::1.31051043346-::1820::[2004_01_29_102036]::
stta/addusr.cgi::1.31051043346-::9221::[2004_01_29_102036]::
stta/app-lib.pl::1.31051043346-::4915::[2004_01_29_102036]::
stta/base-lib.pl::1.31051043346-::9951::[2004_01_29_102036]::
stta/brandmgr.pl::1.31051043346-::6047::[2004_01_29_102036]::
stta/cache_addapps.cgi::1.31051043346-::8940::[2004_01_29_102036]::
stta/cache_adddomains.cgi::1.31051043346-::6205::[2004_01_29_102036]::
stta/cache_addgrpapps.cgi::1.31051043346-::6227::[2004_01_29_102036]::
stta/cache_addobj.cgi::1.31051043346-::13332::[2004_01_29_102036]::
stta/cache_delapps.cgi::1.31051043346-::2924::[2004_01_29_102036]::
stta/cache_deldomains.cgi::1.31051043346-::3018::[2004_01_29_102036]::
stta/cache_delgrpapps.cgi::1.31051043346-::3036::[2004_01_29_102036]::
stta/cache_delobj.cgi::1.31051043346-::6467::[2004_01_29_102036]::
stta/cache_filter.cgi::1.31051043346-::15362::[2004_01_29_102036]::
stta/cache_modapps.cgi::1.31051043346-::7247::[2004_01_29_102036]::
stta/cache_moddomains.cgi::1.31051043346-::5214::[2004_01_29_102036]::
stta/cache_modgrpapps.cgi::1.31051043346-::8130::[2004_01_29_102036]::
stta/cache_modobj.cgi::1.31051043346-::6344::[2004_01_29_102036]::
stta/cache_mvapps.cgi::1.31051043346-::302::[2004_01_29_102036]::
stta/cache_mvdomains.cgi::1.31051043346-::308::[2004_01_29_102036]::
stta/cache_mvgrpapps.cgi::1.31051043346-::308::[2004_01_29_102036]::
stta/cache_selapps.cgi::1.31051043346-::4472::[2004_01_29_102036]::
stta/cache_seldomains.cgi::1.31051043346-::4574::[2004_01_29_102036]::
stta/cache_selgrpapps.cgi::1.31051043346-::4810::[2004_01_29_102036]::
stta/cache_selobj.cgi::1.31051043346-::15169::[2004_01_29_102036]::
stta/cleanfile.cgi::1.31051043346-::2729::[2004_01_29_102036]::
stta/config.cgi::1.31051043346-::1872::[2004_01_29_102036]::
stta/config_info.pl::1.31051043346-::19802::[2004_01_29_102036]::
stta/delact.cgi::1.31051043346-::1750::[2004_01_29_102036]::
stta/delapps.cgi::1.31051043346-::2289::[2004_01_29_102036]::
stta/deldomains.cgi::1.31051043346-::2426::[2004_01_29_102036]::
stta/delfile.cgi::1.31051043346-::2585::[2004_01_29_102036]::
stta/delgrpapps.cgi::1.31051043346-::2429::[2004_01_29_102036]::
stta/delgrphosts.cgi::1.31051043346-::2218::[2004_01_29_102036]::
stta/delhosts.cgi::1.31051043346-::2172::[2004_01_29_102036]::
stta/delhostsuser.cgi::1.31051043346-::1214::[2004_01_29_102036]::
stta/dellinks.cgi::1.31051043346-::2384::[2004_01_29_102036]::
stta/delobj.cgi::1.31051043346-::2504::[2004_01_29_102036]::
stta/delou.cgi::1.31051043346-::2554::[2004_01_29_102036]::
stta/delprofcache.cgi::1.31051043346-::1289::[2004_01_29_102036]::
stta/delusr.cgi::1.31051043346-::4463::[2004_01_29_102036]::
stta/dir_save.cgi::1.31051043346-::404::[2004_01_29_102036]::
stta/dirdef_stta.cgi::1.31051043346-::410::[2004_01_29_102036]::
stta/dirlogs_cache.cgi::1.31051043346-::426::[2004_01_29_102036]::
stta/dirlogs_tta.cgi::1.31051043346-::409::[2004_01_29_102036]::
stta/feedback.cgi::1.31051043346-::17508::[2004_01_29_102036]::
stta/feedback_form.cgi::1.31051043346-::5079::[2004_01_29_102036]::
stta/file_clean.cgi::1.31051043346-::4530::[2004_01_29_102036]::
stta/file_deflists.cgi::1.31051043346-::3117::[2004_01_29_102036]::
stta/file_del.cgi::1.31051043346-::4390::[2004_01_29_102036]::
stta/file_manager.cgi::1.31051043346-::10495::[2004_01_29_102036]::
stta/file_mod.cgi::1.31051043346-::9797::[2004_01_29_102036]::
stta/file_showlist.cgi::1.31051043346-::7261::[2004_01_29_102036]::
stta/fixhosts.cgi::1.31051043346-::2123::[2004_01_29_102036]::
stta/fixobjs.cgi::1.31051043346-::5182::[2004_01_29_102036]::
stta/footer.pl::1.31051043346-::1339::[2004_01_29_102036]::
stta/global-lib.pl::1.31051043346-::55908::[2004_01_29_102036]::
stta/global.js::1.31051043346-::5883::[2004_01_29_102036]::
stta/help-lib.pl::1.31051043346-::27064::[2004_01_29_102036]::
stta/help.cgi::1.31051043346-::4085::[2004_01_29_102036]::
stta/host_chooser.cgi::1.31051043346-::8259::[2004_01_29_102036]::
stta/html-lib.pl::1.31051043346-::62506::[2004_01_29_102036]::
stta/index.cgi::1.31051043346-::1260::[2004_01_29_102036]::
stta/index/admin.pl::1.31051043346-::4105::[2004_01_29_102036]::
stta/index/apps.pl::1.31051043346-::1009::[2004_01_29_102036]::
stta/index/browsers.pl::1.31051043346-::930::[2004_01_29_102036]::
stta/index/domains.pl::1.31051043346-::1066::[2004_01_29_102036]::
stta/index/grpapps.pl::1.31051043346-::1013::[2004_01_29_102036]::
stta/index/grphosts.pl::1.31051043346-::1079::[2004_01_29_102036]::
stta/index/hosts.pl::1.31051043346-::1077::[2004_01_29_102036]::
stta/index/hostsuser.pl::1.31051043346-::998::[2004_01_29_102036]::
stta/index/index_table.pl::1.31051043346-::1743::[2004_01_29_102036]::
stta/index/index_tabs.pl::1.31051043346-::4704::[2004_01_29_102036]::
stta/index/insupd.pl::1.31051043346-::1003::[2004_01_29_102036]::
stta/index/ldap.pl::1.31051043346-::5906::[2004_01_29_102036]::
stta/index/ldapcache.pl::1.31051043346-::848::[2004_01_29_102036]::
stta/index/ldapprofile.pl::1.31051043346-::844::[2004_01_29_102036]::
stta/index/links.pl::1.31051043346-::960::[2004_01_29_102036]::
stta/index/master.pl::1.31051043346-::863::[2004_01_29_102036]::
stta/index/monitor.pl::1.31051043346-::831::[2004_01_29_102036]::
stta/index/objects.pl::1.31051043346-::2054::[2004_01_29_102036]::
stta/index/ou.pl::1.31051043346-::1177::[2004_01_29_102036]::
stta/index/password.pl::1.31051043346-::842::[2004_01_29_102036]::
stta/index/servers.pl::1.31051043346-::2696::[2004_01_29_102036]::
stta/index/supervision.pl::1.31051043346-::5171::[2004_01_29_102036]::
stta/index/tta.pl::1.31051043346-::4661::[2004_01_29_102036]::
stta/index/users.pl::1.31051043346-::1230::[2004_01_29_102036]::
stta/installupd-lib.pl::1.31051043346-::25629::[2004_01_29_102036]::
stta/inststta-lib.pl::1.31051043346-::30746::[2004_01_29_102036]::
stta/ldap-lib.pl::1.31051043346-::39084::[2004_01_29_102036]::
stta/ldap_backup.cgi::1.31051043346-::1406::[2004_01_29_102036]::
stta/ldap_ldif.cgi::1.31051043346-::1430::[2004_01_29_102036]::
stta/ldap_load.cgi::1.31051043346-::2773::[2004_01_29_102036]::
stta/ldap_loglist.cgi::1.31051043346-::6163::[2004_01_29_102036]::
stta/ldap_replica.cgi::1.31051043346-::1312::[2004_01_29_102036]::
stta/ldap_restart.cgi::1.31051043346-::2784::[2004_01_29_102036]::
stta/ldap_schema.cgi::1.31051043346-::1405::[2004_01_29_102036]::
stta/ldapbase-lib.pl::1.31051043346-::8152::[2004_01_29_102036]::
stta/ldapcache_backup.cgi::1.31051043346-::1501::[2004_01_29_102036]::
stta/ldapcache_ldif.cgi::1.31051043346-::1546::[2004_01_29_102036]::
stta/ldapcache_load.cgi::1.31051043346-::2862::[2004_01_29_102036]::
stta/ldapcache_restart.cgi::1.31051043346-::2934::[2004_01_29_102036]::
stta/ldapcache_schema.cgi::1.31051043346-::1482::[2004_01_29_102036]::
stta/license.cgi::1.31051043346-::1303::[2004_01_29_102036]::
stta/lists-lib.pl::1.31051043346-::35022::[2004_01_29_102036]::
stta/localenv_vars.sh::1.31051043346-::432::[2004_01_29_102036]::
stta/log_http.cgi::1.31051043346-::362::[2004_01_29_102036]::
stta/log_httpacc.cgi::1.31051043346-::370::[2004_01_29_102036]::
stta/log_https.cgi::1.31051043346-::365::[2004_01_29_102036]::
stta/log_httpsacc.cgi::1.31051043346-::374::[2004_01_29_102036]::
stta/log_ldap.cgi::1.31051043346-::377::[2004_01_29_102036]::
stta/log_parser.pl::1.31051043346-::1105::[2004_01_29_102036]::
stta/log_stta.cgi::1.31051043346-::404::[2004_01_29_102036]::
stta/log_system.cgi::1.31051043346-::413::[2004_01_29_102036]::
stta/logldap_acc.cgi::1.31051043346-::377::[2004_01_29_102036]::
stta/logldap_cache.cgi::1.31051043346-::392::[2004_01_29_102036]::
stta/logldapcache_acc.cgi::1.31051043346-::392::[2004_01_29_102036]::
stta/logs_list.cgi::1.31051043346-::365::[2004_01_29_102036]::
stta/logusers_ldap.cgi::1.31051043346-::359::[2004_01_29_102036]::
stta/mkhelplang.sh::1.31051043346-::1435::[2004_01_29_102036]::
stta/mktools.sh::1.31051043346-::6016::[2004_01_29_102036]::
stta/modact.cgi::1.31051043346-::3650::[2004_01_29_102036]::
stta/modapps.cgi::1.31051043346-::4336::[2004_01_29_102036]::
stta/moddomains.cgi::1.31051043346-::2873::[2004_01_29_102036]::
stta/modfile.cgi::1.31051043346-::2681::[2004_01_29_102036]::
stta/modgrpapps.cgi::1.31051043346-::3892::[2004_01_29_102036]::
stta/modgrphosts.cgi::1.31051043346-::3169::[2004_01_29_102036]::
stta/modhosts.cgi::1.31051043346-::4953::[2004_01_29_102036]::
stta/modlinks.cgi::1.31051043346-::2920::[2004_01_29_102036]::
stta/modobj.cgi::1.31051043346-::2463::[2004_01_29_102036]::
stta/modou.cgi::1.31051043346-::4037::[2004_01_29_102036]::
stta/modusr.cgi::1.31051043346-::6355::[2004_01_29_102036]::
stta/mon_actarget.cgi::1.31051043346-::16761::[2004_01_29_102036]::
stta/mon_actdef.cgi::1.31051043346-::9004::[2004_01_29_102036]::
stta/mon_delact.cgi::1.31051043346-::6092::[2004_01_29_102036]::
stta/mon_runact.cgi::1.31051043346-::2006::[2004_01_29_102036]::
stta/mon_script.cgi::1.31051043346-::467::[2004_01_29_102036]::
stta/mon_selact.cgi::1.31051043346-::10627::[2004_01_29_102036]::
stta/monitor-lib.pl::1.31051043346-::10150::[2004_01_29_102036]::
stta/monitor.cgi::1.31051043346-::7012::[2004_01_29_102036]::
stta/monitor.pl::1.31051043346-::5157::[2004_01_29_102036]::
stta/mvobjs.cgi::1.31051043346-::11085::[2004_01_29_102036]::
stta/obj_chooser.cgi::1.31051043346-::6258::[2004_01_29_102036]::
stta/passwd.cgi::1.31051043346-::5567::[2004_01_29_102036]::
stta/postinstall.pl::1.31051043346-::1307::[2004_01_29_102036]::
stta/print-lib.pl::1.31051043346-::4004::[2004_01_29_102036]::
stta/runfile.cgi::1.31051043346-::2876::[2004_01_29_102036]::
stta/search.cgi::1.31051043346-::4642::[2004_01_29_102036]::
stta/sess_filter.cgi::1.31051043346-::3890::[2004_01_29_102036]::
stta/sess_mgmt.cgi::1.31051043346-::2244::[2004_01_29_102036]::
stta/setup_config.pl::1.31051043346-::5038::[2004_01_29_102036]::
stta/shells/ensdump.sh::1.31051043346-::507::[2004_01_29_102036]::
stta/shells/ensload.sh::1.31051043346-::1063::[2004_01_29_102036]::
stta/shells/ensrecreate.sh::1.31051043346-::1217::[2004_01_29_102036]::
stta/shells/ensrestore.sh::1.31051043346-::829::[2004_01_29_102036]::
stta/shells/getOSdata.sh::1.31051043346-::355::[2004_01_29_102036]::
stta/shells/ldapreplicate.sh::1.31051043346-::6371::[2004_01_29_102036]::
stta/shells/monitor.sh::1.31051043346-::533::[2004_01_29_102036]::
stta/shells/oldapadm.sh::1.31051043346-::4546::[2004_01_29_102036]::
stta/shells/openldap.sh::1.31051043346-::3195::[2004_01_29_102036]::
stta/shells/scanttacache.sh::1.31051043346-::5658::[2004_01_29_102036]::
stta/shells/setenv_vars.sh::1.31051043346-::2025::[2004_01_29_102036]::
stta/shells/stta.sh::1.31051043346-::794::[2004_01_29_102036]::
stta/shells/tta.sh::1.31051043346-::253::[2004_01_29_102036]::
stta/shells/ttabackup.sh::1.31051043346-::1248::[2004_01_29_102036]::
stta/shells/ttasess.sh::1.31051043346-::388::[2004_01_29_102036]::
stta/shells/ttatcl.sh::1.31051043346-::325::[2004_01_29_102036]::
stta/stta-lib.pl::1.31051043346-::21502::[2004_01_29_102036]::
stta/stta_brandlst.cgi::1.31051043346-::5043::[2004_01_29_102036]::
stta/stta_brandmgr.cgi::1.31051043346-::8233::[2004_01_29_102036]::
stta/stta_checksync.cgi::1.31051043346-::10489::[2004_01_29_102036]::
stta/stta_installupd.cgi::1.31051043346-::6821::[2004_01_29_102036]::
stta/stta_mvobjs.cgi::1.31051043346-::8443::[2004_01_29_102036]::
stta/stta_proc.cgi::1.31051043346-::1185::[2004_01_29_102036]::
stta/stta_report.cgi::1.31051043346-::6065::[2004_01_29_102036]::
stta/stta_synclist.cgi::1.31051043346-::1288::[2004_01_29_102036]::
stta/stta_view.cgi::1.31051043346-::959::[2004_01_29_102036]::
stta/stta_warn.cgi::1.31051043346-::1538::[2004_01_29_102036]::
stta/stta_webhelp.cgi::1.31051043346-::15609::[2004_01_29_102036]::
stta/sttaconfig.cgi::1.31051043346-::287::[2004_01_29_102036]::
stta/sttaremote-lib.pl::1.31051043346-::732::[2004_01_29_102036]::
stta/ttaDumpDs.tcl::1.31051043346-::4072::[2004_01_29_102036]::
stta/ttaRestoreDs.tcl::1.31051043346-::4738::[2004_01_29_102036]::
stta/tta_addgrphosts.cgi::1.31051043346-::6237::[2004_01_29_102036]::
stta/tta_addhosts.cgi::1.31051043346-::8729::[2004_01_29_102036]::
stta/tta_addhostsuser.cgi::1.31051043346-::4789::[2004_01_29_102036]::
stta/tta_addlinks.cgi::1.31051043346-::6070::[2004_01_29_102036]::
stta/tta_addou.cgi::1.31051043346-::5680::[2004_01_29_102036]::
stta/tta_addprofcache.cgi::1.31051043346-::6887::[2004_01_29_102036]::
stta/tta_addusr.cgi::1.31051043346-::8697::[2004_01_29_102036]::
stta/tta_alivehosts.cgi::1.31051043346-::1764::[2004_01_29_102036]::
stta/tta_archive.cgi::1.31051043346-::1170::[2004_01_29_102036]::
stta/tta_backup.cgi::1.31051043346-::1189::[2004_01_29_102036]::
stta/tta_delgrphosts.cgi::1.31051043346-::3042::[2004_01_29_102036]::
stta/tta_delhosts.cgi::1.31051043346-::2952::[2004_01_29_102036]::
stta/tta_delhostsuser.cgi::1.31051043346-::3067::[2004_01_29_102036]::
stta/tta_dellinks.cgi::1.31051043346-::2958::[2004_01_29_102036]::
stta/tta_delou.cgi::1.31051043346-::2893::[2004_01_29_102036]::
stta/tta_delprofcache.cgi::1.31051043346-::3161::[2004_01_29_102036]::
stta/tta_delusr.cgi::1.31051043346-::4930::[2004_01_29_102036]::
stta/tta_ensbk.cgi::1.31051043346-::1174::[2004_01_29_102036]::
stta/tta_ensdump.cgi::1.31051043346-::2156::[2004_01_29_102036]::
stta/tta_ensload.cgi::1.31051043346-::2190::[2004_01_29_102036]::
stta/tta_ensrecreate.cgi::1.31051043346-::2762::[2004_01_29_102036]::
stta/tta_ensrestore.cgi::1.31051043346-::2284::[2004_01_29_102036]::
stta/tta_filter.cgi::1.31051043346-::6546::[2004_01_29_102036]::
stta/tta_loadous.cgi::1.31051043346-::7521::[2004_01_29_102036]::
stta/tta_loadusrs.cgi::1.31051043346-::8228::[2004_01_29_102036]::
stta/tta_modgrphosts.cgi::1.31051043346-::5227::[2004_01_29_102036]::
stta/tta_modhosts.cgi::1.31051043346-::9578::[2004_01_29_102036]::
stta/tta_modlinks.cgi::1.31051043346-::4784::[2004_01_29_102036]::
stta/tta_modou.cgi::1.31051043346-::8722::[2004_01_29_102036]::
stta/tta_modusr.cgi::1.31051043346-::17850::[2004_01_29_102036]::
stta/tta_mvgrphosts.cgi::1.31051043346-::308::[2004_01_29_102036]::
stta/tta_mvhosts.cgi::1.31051043346-::302::[2004_01_29_102036]::
stta/tta_mvlinks.cgi::1.31051043346-::304::[2004_01_29_102036]::
stta/tta_mvou.cgi::1.31051043346-::296::[2004_01_29_102036]::
stta/tta_mvusr.cgi::1.31051043346-::300::[2004_01_29_102036]::
stta/tta_passwd.cgi::1.31051043346-::8343::[2004_01_29_102036]::
stta/tta_passwdcache.cgi::1.31051043346-::6186::[2004_01_29_102036]::
stta/tta_restart.cgi::1.31051043346-::1195::[2004_01_29_102036]::
stta/tta_selgrphosts.cgi::1.31051043346-::4594::[2004_01_29_102036]::
stta/tta_selhosts.cgi::1.31051043346-::5875::[2004_01_29_102036]::
stta/tta_selhostsuser.cgi::1.31051043346-::3396::[2004_01_29_102036]::
stta/tta_sellinks.cgi::1.31051043346-::4493::[2004_01_29_102036]::
stta/tta_selou.cgi::1.31051043346-::4439::[2004_01_29_102036]::
stta/tta_selprofcache.cgi::1.31051043346-::3500::[2004_01_29_102036]::
stta/tta_selusr.cgi::1.31051043346-::15679::[2004_01_29_102036]::
stta/tta_sess.cgi::1.31051043346-::17095::[2004_01_29_102036]::
stta/tta_sessbilling.cgi::1.31051043346-::23837::[2004_01_29_102036]::
stta/tta_sesscount.cgi::1.31051043346-::4621::[2004_01_29_102036]::
stta/tta_sesstotal.cgi::1.31051043346-::3990::[2004_01_29_102036]::
stta/tta_status.cgi::1.31051043346-::1619::[2004_01_29_102036]::
stta/tta_updatecache.cgi::1.31051043346-::3035::[2004_01_29_102036]::
stta/tta_works.cgi::1.31051043346-::900::[2004_01_29_102036]::
stta/ttacache-lib.pl::1.31051043346-::20534::[2004_01_29_102036]::
stta/ttasess-lib.pl::1.31051043346-::25750::[2004_01_29_102036]::
stta/ttasess.pl::1.31051043346-::3191::[2004_01_29_102036]::
stta/updateALLcache.cgi::1.31051043346-::6906::[2004_01_29_102036]::
stta/updatecache.cgi::1.31051043346-::6702::[2004_01_29_102036]::
stta/view.cgi::1.31051043346-::3639::[2004_01_29_102036]::
stta/web-lib.pl::1.31051043346-::6065::[2004_01_29_102036]::

270
stta/.brandinfofile.deploy Executable file
View File

@ -0,0 +1,270 @@
stta/acl_security.pl::1.31051043346-::9400::[2003_6_02_132702]::
stta/addact.cgi::1.31051043346-::4577::[2003_6_02_132702]::
stta/addapps.cgi::1.31051043346-::4553::[2003_6_02_132702]::
stta/adddomains.cgi::1.31051043346-::3542::[2003_6_02_132702]::
stta/addfile.cgi::1.31051043346-::3066::[2003_6_02_132702]::
stta/addgrpapps.cgi::1.31051043346-::4300::[2003_6_02_132702]::
stta/addgrphosts.cgi::1.31051043346-::4823::[2003_6_02_132702]::
stta/addhosts.cgi::1.31051043346-::5410::[2003_6_02_132702]::
stta/addhostsuser.cgi::1.31051043346-::1511::[2003_6_02_132702]::
stta/addlinks.cgi::1.31051043346-::3360::[2003_6_02_132702]::
stta/addobj.cgi::1.31051043346-::4769::[2003_6_02_132702]::
stta/addou.cgi::1.31051043346-::4994::[2003_6_02_132702]::
stta/addprofcache.cgi::1.31051043346-::1819::[2003_6_02_132702]::
stta/addusr.cgi::1.31051043346-::9220::[2003_6_02_132702]::
stta/app-lib.pl::1.31070448507-::4937::[2003_12_03_114827]::
stta/base-lib.pl::1.31051043346-::9950::[2003_6_02_132702]::
stta/brandmgr.pl::1.31068182932-::6047::[2003_11_07_062851]::
stta/cache_addapps.cgi::1.31070448507-::8940::[2003_12_03_114827]::
stta/cache_adddomains.cgi::1.31051043346-::6204::[2003_6_02_132702]::
stta/cache_addgrpapps.cgi::1.31051043346-::6226::[2003_6_02_132702]::
stta/cache_addobj.cgi::1.31051043346-::13331::[2003_6_02_132702]::
stta/cache_delapps.cgi::1.31051043346-::2923::[2003_6_02_132702]::
stta/cache_deldomains.cgi::1.31051043346-::3017::[2003_6_02_132702]::
stta/cache_delgrpapps.cgi::1.31051043346-::3035::[2003_6_02_132702]::
stta/cache_delobj.cgi::1.31056101209-::6467::[2003_06_20_112649]::
stta/cache_filter.cgi::1.31051043346-::15361::[2003_6_02_132702]::
stta/cache_modapps.cgi::1.31070448507-::7247::[2003_12_03_114827]::
stta/cache_moddomains.cgi::1.31051043346-::5213::[2003_6_02_132702]::
stta/cache_modgrpapps.cgi::1.31051043346-::8129::[2003_6_02_132702]::
stta/cache_modobj.cgi::1.31051043346-::6343::[2003_6_02_132702]::
stta/cache_mvapps.cgi::1.31051043346-::301::[2003_6_02_132702]::
stta/cache_mvdomains.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/cache_mvgrpapps.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/cache_selapps.cgi::1.31051043346-::4471::[2003_6_02_132702]::
stta/cache_seldomains.cgi::1.31051043346-::4573::[2003_6_02_132702]::
stta/cache_selgrpapps.cgi::1.31051043346-::4809::[2003_6_02_132702]::
stta/cache_selobj.cgi::1.31057471415-::15169::[2003_07_06_080334]::
stta/cleanfile.cgi::1.31051043346-::2728::[2003_6_02_132702]::
stta/config.cgi::1.31060696031-::1872::[2003_08_12_154710]::
stta/config_info.pl::1.31070277510-::19802::[2003_12_01_121830]::
stta/delact.cgi::1.31051043346-::1749::[2003_6_02_132702]::
stta/delapps.cgi::1.31051043346-::2288::[2003_6_02_132702]::
stta/deldomains.cgi::1.31051043346-::2425::[2003_6_02_132702]::
stta/delfile.cgi::1.31051043346-::2584::[2003_6_02_132702]::
stta/delgrpapps.cgi::1.31051043346-::2428::[2003_6_02_132702]::
stta/delgrphosts.cgi::1.31051043346-::2217::[2003_6_02_132702]::
stta/delhosts.cgi::1.31051043346-::2171::[2003_6_02_132702]::
stta/delhostsuser.cgi::1.31051043346-::1213::[2003_6_02_132702]::
stta/dellinks.cgi::1.31051043346-::2383::[2003_6_02_132702]::
stta/delobj.cgi::1.31051043346-::2503::[2003_6_02_132702]::
stta/delou.cgi::1.31051043346-::2553::[2003_6_02_132702]::
stta/delprofcache.cgi::1.31051043346-::1288::[2003_6_02_132702]::
stta/delusr.cgi::1.31051043346-::4462::[2003_6_02_132702]::
stta/dir_save.cgi::1.31059653812-::404::[2003_07_31_141652]::
stta/dirdef_stta.cgi::1.31051043346-::409::[2003_6_02_132702]::
stta/dirlogs_cache.cgi::1.31051043346-::425::[2003_6_02_132702]::
stta/dirlogs_tta.cgi::1.31051043346-::408::[2003_6_02_132702]::
stta/feedback.cgi::1.31057471415-::17508::[2003_07_06_080334]::
stta/feedback_form.cgi::1.31051043346-::5078::[2003_6_02_132702]::
stta/file_clean.cgi::1.31051043346-::4529::[2003_6_02_132702]::
stta/file_deflists.cgi::1.31051043346-::3116::[2003_6_02_132702]::
stta/file_del.cgi::1.31051043346-::4389::[2003_6_02_132702]::
stta/file_manager.cgi::1.31057471414-::10495::[2003_07_06_080334]::
stta/file_mod.cgi::1.31059653812-::9797::[2003_07_31_141652]::
stta/file_showlist.cgi::1.31051043346-::7260::[2003_6_02_132702]::
stta/fixhosts.cgi::1.31051043346-::2122::[2003_6_02_132702]::
stta/fixobjs.cgi::1.31051043346-::5181::[2003_6_02_132702]::
stta/footer.pl::1.31068182931-::1339::[2003_11_07_062851]::
stta/global-lib.pl::1.31068182932-::55908::[2003_11_07_062851]::
stta/global.js::1.31051043346-::5882::[2003_6_02_132702]::
stta/help-lib.pl::1.31070277510-::27064::[2003_12_01_121830]::
stta/help.cgi::1.31068182932-::4085::[2003_11_07_062851]::
stta/host_chooser.cgi::1.31070448507-::8259::[2003_12_03_114827]::
stta/html-lib.pl::1.31068182932-::62506::[2003_11_07_062851]::
stta/index.cgi::1.31051043346-::1259::[2003_6_02_132702]::
stta/index/admin.pl::1.31056101209-::4105::[2003_06_20_112649]::
stta/index/apps.pl::1.31051043346-::1008::[2003_6_02_132702]::
stta/index/browsers.pl::1.31051043346-::929::[2003_6_02_132702]::
stta/index/domains.pl::1.31051043346-::1065::[2003_6_02_132702]::
stta/index/grpapps.pl::1.31051043346-::1012::[2003_6_02_132702]::
stta/index/grphosts.pl::1.31051043346-::1078::[2003_6_02_132702]::
stta/index/hosts.pl::1.31051043346-::1076::[2003_6_02_132702]::
stta/index/hostsuser.pl::1.31051043346-::997::[2003_6_02_132702]::
stta/index/index_table.pl::1.31051043346-::1742::[2003_6_02_132702]::
stta/index/index_tabs.pl::1.31057471415-::4704::[2003_07_06_080334]::
stta/index/insupd.pl::1.31068182932-::1003::[2003_11_07_062851]::
stta/index/ldap.pl::1.31051043346-::5905::[2003_6_02_132702]::
stta/index/ldapcache.pl::1.31051043346-::847::[2003_6_02_132702]::
stta/index/ldapprofile.pl::1.31051043346-::843::[2003_6_02_132702]::
stta/index/links.pl::1.31051043346-::959::[2003_6_02_132702]::
stta/index/master.pl::1.31051043346-::862::[2003_6_02_132702]::
stta/index/monitor.pl::1.31051043346-::830::[2003_6_02_132702]::
stta/index/objects.pl::1.31051043346-::2053::[2003_6_02_132702]::
stta/index/ou.pl::1.31051043346-::1176::[2003_6_02_132702]::
stta/index/password.pl::1.31051043346-::841::[2003_6_02_132702]::
stta/index/servers.pl::1.31051043346-::2695::[2003_6_02_132702]::
stta/index/supervision.pl::1.31051043346-::5170::[2003_6_02_132702]::
stta/index/tta.pl::1.31051043346-::4660::[2003_6_02_132702]::
stta/index/users.pl::1.31051043346-::1229::[2003_6_02_132702]::
stta/installupd-lib.pl::1.31068182932-::25629::[2003_11_07_062851]::
stta/inststta-lib.pl::1.31051043346-::30745::[2003_6_02_132702]::
stta/ldap-lib.pl::1.31055419200-::39074::[2003_06_12_140000]::
stta/ldap_backup.cgi::1.31051043346-::1405::[2003_6_02_132702]::
stta/ldap_ldif.cgi::1.31057471414-::1430::[2003_07_06_080334]::
stta/ldap_load.cgi::1.31051043346-::2772::[2003_6_02_132702]::
stta/ldap_loglist.cgi::1.31051043346-::6162::[2003_6_02_132702]::
stta/ldap_replica.cgi::1.31051043346-::1311::[2003_6_02_132702]::
stta/ldap_restart.cgi::1.31051043346-::2783::[2003_6_02_132702]::
stta/ldap_schema.cgi::1.31051043346-::1404::[2003_6_02_132702]::
stta/ldapbase-lib.pl::1.31051043346-::8151::[2003_6_02_132702]::
stta/ldapcache_backup.cgi::1.31051043346-::1500::[2003_6_02_132702]::
stta/ldapcache_ldif.cgi::1.31057471414-::1546::[2003_07_06_080334]::
stta/ldapcache_load.cgi::1.31051043346-::2861::[2003_6_02_132702]::
stta/ldapcache_restart.cgi::1.31051043346-::2933::[2003_6_02_132702]::
stta/ldapcache_schema.cgi::1.31051043346-::1481::[2003_6_02_132702]::
stta/license.cgi::1.31057471415-::1303::[2003_07_06_080334]::
stta/lists-lib.pl::1.31055415586-::35022::[2003_06_12_125945]::
stta/localenv_vars.sh::1.31051043346-::431::[2003_6_02_132702]::
stta/log_http.cgi::1.31051043346-::361::[2003_6_02_132702]::
stta/log_httpacc.cgi::1.31051043346-::369::[2003_6_02_132702]::
stta/log_https.cgi::1.31051043346-::364::[2003_6_02_132702]::
stta/log_httpsacc.cgi::1.31051043346-::373::[2003_6_02_132702]::
stta/log_ldap.cgi::1.31051043346-::376::[2003_6_02_132702]::
stta/log_parser.pl::1.31051043346-::1104::[2003_6_02_132702]::
stta/log_stta.cgi::1.31051043346-::403::[2003_6_02_132702]::
stta/log_system.cgi::1.31051043346-::412::[2003_6_02_132702]::
stta/logldap_acc.cgi::1.31051043346-::376::[2003_6_02_132702]::
stta/logldap_cache.cgi::1.31051043346-::391::[2003_6_02_132702]::
stta/logldapcache_acc.cgi::1.31051043346-::391::[2003_6_02_132702]::
stta/logs_list.cgi::1.31051043346-::364::[2003_6_02_132702]::
stta/logusers_ldap.cgi::1.31051043346-::358::[2003_6_02_132702]::
stta/mkhelplang.sh::1.31060696031-::1435::[2003_08_12_154710]::
stta/mktools.sh::1.31051043346-::6015::[2003_6_02_132702]::
stta/modact.cgi::1.31051043346-::3649::[2003_6_02_132702]::
stta/modapps.cgi::1.31051043346-::4335::[2003_6_02_132702]::
stta/moddomains.cgi::1.31051043346-::2872::[2003_6_02_132702]::
stta/modfile.cgi::1.31051043346-::2680::[2003_6_02_132702]::
stta/modgrpapps.cgi::1.31051043346-::3891::[2003_6_02_132702]::
stta/modgrphosts.cgi::1.31054739308-::3168::[2003_6_04_170828]::
stta/modhosts.cgi::1.31051043346-::4952::[2003_6_02_132702]::
stta/modlinks.cgi::1.31051043346-::2919::[2003_6_02_132702]::
stta/modobj.cgi::1.31051043346-::2462::[2003_6_02_132702]::
stta/modou.cgi::1.31051043346-::4036::[2003_6_02_132702]::
stta/modusr.cgi::1.31051043346-::6354::[2003_6_02_132702]::
stta/mon_actarget.cgi::1.31051043346-::16760::[2003_6_02_132702]::
stta/mon_actdef.cgi::1.31051043346-::9003::[2003_6_02_132702]::
stta/mon_delact.cgi::1.31051043346-::6091::[2003_6_02_132702]::
stta/mon_runact.cgi::1.31051043346-::2005::[2003_6_02_132702]::
stta/mon_script.cgi::1.31051043346-::466::[2003_6_02_132702]::
stta/mon_selact.cgi::1.31057471415-::10627::[2003_07_06_080334]::
stta/monitor-lib.pl::1.31057471415-::10150::[2003_07_06_080334]::
stta/monitor.cgi::1.31051043346-::7011::[2003_6_02_132702]::
stta/monitor.pl::1.31051043346-::5156::[2003_6_02_132702]::
stta/mvobjs.cgi::1.31070299324-::11085::[2003_12_01_182204]::
stta/obj_chooser.cgi::1.31057471415-::6258::[2003_07_06_080334]::
stta/passwd.cgi::1.31070535854-::5500::[2003_12_04_120414]::
stta/postinstall.pl::1.31051043346-::1306::[2003_6_02_132702]::
stta/print-lib.pl::1.31051043346-::4003::[2003_6_02_132702]::
stta/runfile.cgi::1.31051043346-::2875::[2003_6_02_132702]::
stta/search.cgi::1.31057471415-::4642::[2003_07_06_080334]::
stta/sess_filter.cgi::1.31068182932-::3890::[2003_11_07_062851]::
stta/sess_mgmt.cgi::1.31057471415-::2244::[2003_07_06_080334]::
stta/setup_config.pl::1.31051043346-::5037::[2003_6_02_132702]::
stta/shells/ensdump.sh::1.31051043346-::506::[2003_6_02_132702]::
stta/shells/ensload.sh::1.31057471955-::1063::[2003_07_06_081235]::
stta/shells/ensrecreate.sh::1.31051043346-::1216::[2003_6_02_132702]::
stta/shells/ensrestore.sh::1.31051043346-::828::[2003_6_02_132702]::
stta/shells/getOSdata.sh::1.31051043346-::354::[2003_6_02_132702]::
stta/shells/ldapreplicate.sh::1.31051043346-::6370::[2003_6_02_132702]::
stta/shells/monitor.sh::1.31051043346-::532::[2003_6_02_132702]::
stta/shells/oldapadm.sh::1.31051043346-::4545::[2003_6_02_132702]::
stta/shells/openldap.sh::1.31051043346-::3194::[2003_6_02_132702]::
stta/shells/scanttacache.sh::1.31051043346-::5657::[2003_6_02_132702]::
stta/shells/setenv_vars.sh::1.31051043346-::2024::[2003_6_02_132702]::
stta/shells/stta.sh::1.31051043346-::793::[2003_6_02_132702]::
stta/shells/tta.sh::1.31051043346-::252::[2003_6_02_132702]::
stta/shells/ttabackup.sh::1.31051043346-::1247::[2003_6_02_132702]::
stta/shells/ttasess.sh::1.31051043346-::387::[2003_6_02_132702]::
stta/shells/ttatcl.sh::1.31051043346-::324::[2003_6_02_132702]::
stta/stta-lib.pl::1.31051043346-::21501::[2003_6_02_132702]::
stta/stta_brandmgr.cgi::1.31068182932-::8233::[2003_11_07_062851]::
stta/stta_brandlst.cgi::1.31068182932-::5043::[2003_11_07_062851]::
stta/stta_checksync.cgi::1.31051043346-::10488::[2003_6_02_132702]::
stta/stta_installupd.cgi::1.31068182932-::6821::[2003_11_07_062851]::
stta/stta_mvobjs.cgi::1.31051043346-::8442::[2003_6_02_132702]::
stta/stta_proc.cgi::1.31051043346-::1184::[2003_6_02_132702]::
stta/stta_report.cgi::1.31068182932-::6065::[2003_11_07_062851]::
stta/stta_synclist.cgi::1.31063615106-::1288::[2003_09_15_103826]::
stta/stta_view.cgi::1.31051043346-::958::[2003_6_02_132702]::
stta/stta_warn.cgi::1.31051043346-::1537::[2003_6_02_132702]::
stta/stta_webhelp.cgi::1.31068182931-::15609::[2003_11_07_062851]::
stta/sttaconfig.cgi::1.31051043346-::286::[2003_6_02_132702]::
stta/sttaremote-lib.pl::1.31051043346-::731::[2003_6_02_132702]::
stta/ttaDumpDs.tcl::1.31051043346-::4071::[2003_6_02_132702]::
stta/ttaRestoreDs.tcl::1.31070449302-::4738::[2003_12_03_120141]::
stta/tta_addgrphosts.cgi::1.31051043346-::6236::[2003_6_02_132702]::
stta/tta_addhosts.cgi::1.31051043346-::8728::[2003_6_02_132702]::
stta/tta_addhostsuser.cgi::1.31051043346-::4788::[2003_6_02_132702]::
stta/tta_addlinks.cgi::1.31051043346-::6069::[2003_6_02_132702]::
stta/tta_addou.cgi::1.31051043346-::5679::[2003_6_02_132702]::
stta/tta_addprofcache.cgi::1.31051043346-::6886::[2003_6_02_132702]::
stta/tta_addusr.cgi::1.31057471415-::8697::[2003_07_06_080334]::
stta/tta_alivehosts.cgi::1.31051043346-::1763::[2003_6_02_132702]::
stta/tta_archive.cgi::1.31051043346-::1169::[2003_6_02_132702]::
stta/tta_backup.cgi::1.31057471415-::1189::[2003_07_06_080334]::
stta/tta_delgrphosts.cgi::1.31051043346-::3041::[2003_6_02_132702]::
stta/tta_delhosts.cgi::1.31051043346-::2951::[2003_6_02_132702]::
stta/tta_delhostsuser.cgi::1.31051043346-::3066::[2003_6_02_132702]::
stta/tta_dellinks.cgi::1.31051043346-::2957::[2003_6_02_132702]::
stta/tta_delou.cgi::1.31051043346-::2892::[2003_6_02_132702]::
stta/tta_delprofcache.cgi::1.31051043346-::3160::[2003_6_02_132702]::
stta/tta_delusr.cgi::1.31070448507-::4930::[2003_12_03_114827]::
stta/tta_ensbk.cgi::1.31051043346-::1173::[2003_6_02_132702]::
stta/tta_ensdump.cgi::1.31057471415-::2156::[2003_07_06_080334]::
stta/tta_ensload.cgi::1.31051043346-::2189::[2003_6_02_132702]::
stta/tta_ensrecreate.cgi::1.31051043346-::2761::[2003_6_02_132702]::
stta/tta_ensrestore.cgi::1.31051043346-::2283::[2003_6_02_132702]::
stta/tta_filter.cgi::1.31056101209-::6546::[2003_06_20_112649]::
stta/tta_loadous.cgi::1.31051043346-::7520::[2003_6_02_132702]::
stta/tta_loadusrs.cgi::1.31051043346-::8227::[2003_6_02_132702]::
stta/tta_modgrphosts.cgi::1.31051043346-::5226::[2003_6_02_132702]::
stta/tta_modhosts.cgi::1.31051043346-::9577::[2003_6_02_132702]::
stta/tta_modlinks.cgi::1.31051043346-::4783::[2003_6_02_132702]::
stta/tta_modou.cgi::1.31051043346-::8721::[2003_6_02_132702]::
stta/tta_modusr.cgi::1.31051043346-::17849::[2003_6_02_132702]::
stta/tta_mvgrphosts.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/tta_mvhosts.cgi::1.31051043346-::301::[2003_6_02_132702]::
stta/tta_mvlinks.cgi::1.31051043346-::303::[2003_6_02_132702]::
stta/tta_mvou.cgi::1.31051043346-::295::[2003_6_02_132702]::
stta/tta_mvusr.cgi::1.31051043346-::299::[2003_6_02_132702]::
stta/tta_passwd.cgi::1.31070535854-::8343::[2003_12_04_120414]::
stta/tta_passwdcache.cgi::1.31051043346-::6185::[2003_6_02_132702]::
stta/tta_restart.cgi::1.31051043346-::1194::[2003_6_02_132702]::
stta/tta_selgrphosts.cgi::1.31051043346-::4593::[2003_6_02_132702]::
stta/tta_selhosts.cgi::1.31051043346-::5874::[2003_6_02_132702]::
stta/tta_selhostsuser.cgi::1.31051043346-::3395::[2003_6_02_132702]::
stta/tta_sellinks.cgi::1.31051043346-::4492::[2003_6_02_132702]::
stta/tta_selou.cgi::1.31051043346-::4438::[2003_6_02_132702]::
stta/tta_selprofcache.cgi::1.31051043346-::3499::[2003_6_02_132702]::
stta/tta_selusr.cgi::1.31070535854-::15679::[2003_12_04_120414]::
stta/tta_sess.cgi::1.31057471415-::17095::[2003_07_06_080334]::
stta/tta_sessbilling.cgi::1.31057471414-::23837::[2003_07_06_080334]::
stta/tta_sesscount.cgi::1.31057471415-::4621::[2003_07_06_080334]::
stta/tta_sesstotal.cgi::1.31057471414-::3990::[2003_07_06_080334]::
stta/tta_status.cgi::1.31057471415-::1619::[2003_07_06_080334]::
stta/tta_updatecache.cgi::1.31051043346-::3034::[2003_6_02_132702]::
stta/tta_works.cgi::1.31051043346-::899::[2003_6_02_132702]::
stta/ttacache-lib.pl::1.31059653812-::20534::[2003_07_31_141652]::
stta/ttasess-lib.pl::1.31051043346-::25749::[2003_6_02_132702]::
stta/ttasess.pl::1.31051043346-::3190::[2003_6_02_132702]::
stta/updateALLcache.cgi::1.31051043346-::6905::[2003_6_02_132702]::
stta/updatecache.cgi::1.31051043346-::6701::[2003_6_02_132702]::
stta/view.cgi::1.31057471415-::3639::[2003_07_06_080334]::
stta/web-lib.pl::1.31068190601-::6065::[2003_11_07_083641]::
stta/tools/ldapreplicate::1.31051043346-::6380::[2004_01_29_102036]
stta/tools/scanttacache::1.31051043346-::5666::[2004_01_29_102036]
stta/tools/monitor::1.31051043346-::542::[2004_01_29_102036]
stta/tools/ttasess::1.31051043346-::397::[2004_01_29_102036]
stta/tools/stta::1.31051043346-::803::[2004_01_29_102036]
stta/tools/ensrecreate::1.31051043346-::1226::[2004_01_29_102036]
stta/tools/ensrestore::1.31051043346-::838::[2004_01_29_102036]
stta/tools/ensload::1.31051043346-::1072::[2004_01_29_102036]
stta/tools/ttatcl::1.31051043346-::334::[2004_01_29_102036]
stta/tools/setenv_vars::1.31051043346-::2034::[2004_01_29_102036]
stta/tools/openldap::1.31051043346-::3204::[2004_01_29_102036]
stta/tools/oldapadm::1.31051043346-::4555::[2004_01_29_102036]
stta/tools/tta::1.31051043346-::262::[2004_01_29_102036]
stta/tools/ttabackup::1.31051043346-::1257::[2004_01_29_102036]
stta/tools/ensdump::1.31051043346-::516::[2004_01_29_102036]
stta/tools/ensrestore::1.31051043346-::838::[2004_01_29_102036]

254
stta/.brandinfofile.stta Executable file
View File

@ -0,0 +1,254 @@
stta/acl_security.pl::1.31051043346-::9400::[2003_6_02_132702]::
stta/addact.cgi::1.31051043346-::4577::[2003_6_02_132702]::
stta/addapps.cgi::1.31051043346-::4553::[2003_6_02_132702]::
stta/adddomains.cgi::1.31051043346-::3542::[2003_6_02_132702]::
stta/addfile.cgi::1.31051043346-::3066::[2003_6_02_132702]::
stta/addgrpapps.cgi::1.31051043346-::4300::[2003_6_02_132702]::
stta/addgrphosts.cgi::1.31051043346-::4823::[2003_6_02_132702]::
stta/addhosts.cgi::1.31051043346-::5410::[2003_6_02_132702]::
stta/addhostsuser.cgi::1.31051043346-::1511::[2003_6_02_132702]::
stta/addlinks.cgi::1.31051043346-::3360::[2003_6_02_132702]::
stta/addobj.cgi::1.31051043346-::4769::[2003_6_02_132702]::
stta/addou.cgi::1.31051043346-::4994::[2003_6_02_132702]::
stta/addprofcache.cgi::1.31051043346-::1819::[2003_6_02_132702]::
stta/addusr.cgi::1.31051043346-::9220::[2003_6_02_132702]::
stta/app-lib.pl::1.31070448507-::4937::[2003_12_03_114827]::
stta/base-lib.pl::1.31051043346-::9950::[2003_6_02_132702]::
stta/brandmgr.pl::1.31068182932-::6047::[2003_11_07_062851]::
stta/cache_addapps.cgi::1.31070448507-::8940::[2003_12_03_114827]::
stta/cache_adddomains.cgi::1.31051043346-::6204::[2003_6_02_132702]::
stta/cache_addgrpapps.cgi::1.31051043346-::6226::[2003_6_02_132702]::
stta/cache_addobj.cgi::1.31051043346-::13331::[2003_6_02_132702]::
stta/cache_delapps.cgi::1.31051043346-::2923::[2003_6_02_132702]::
stta/cache_deldomains.cgi::1.31051043346-::3017::[2003_6_02_132702]::
stta/cache_delgrpapps.cgi::1.31051043346-::3035::[2003_6_02_132702]::
stta/cache_delobj.cgi::1.31056101209-::6467::[2003_06_20_112649]::
stta/cache_filter.cgi::1.31051043346-::15361::[2003_6_02_132702]::
stta/cache_modapps.cgi::1.31070448507-::7247::[2003_12_03_114827]::
stta/cache_moddomains.cgi::1.31051043346-::5213::[2003_6_02_132702]::
stta/cache_modgrpapps.cgi::1.31051043346-::8129::[2003_6_02_132702]::
stta/cache_modobj.cgi::1.31051043346-::6343::[2003_6_02_132702]::
stta/cache_mvapps.cgi::1.31051043346-::301::[2003_6_02_132702]::
stta/cache_mvdomains.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/cache_mvgrpapps.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/cache_selapps.cgi::1.31051043346-::4471::[2003_6_02_132702]::
stta/cache_seldomains.cgi::1.31051043346-::4573::[2003_6_02_132702]::
stta/cache_selgrpapps.cgi::1.31051043346-::4809::[2003_6_02_132702]::
stta/cache_selobj.cgi::1.31057471415-::15169::[2003_07_06_080334]::
stta/cleanfile.cgi::1.31051043346-::2728::[2003_6_02_132702]::
stta/config.cgi::1.31060696031-::1872::[2003_08_12_154710]::
stta/config_info.pl::1.31070277510-::19802::[2003_12_01_121830]::
stta/delact.cgi::1.31051043346-::1749::[2003_6_02_132702]::
stta/delapps.cgi::1.31051043346-::2288::[2003_6_02_132702]::
stta/deldomains.cgi::1.31051043346-::2425::[2003_6_02_132702]::
stta/delfile.cgi::1.31051043346-::2584::[2003_6_02_132702]::
stta/delgrpapps.cgi::1.31051043346-::2428::[2003_6_02_132702]::
stta/delgrphosts.cgi::1.31051043346-::2217::[2003_6_02_132702]::
stta/delhosts.cgi::1.31051043346-::2171::[2003_6_02_132702]::
stta/delhostsuser.cgi::1.31051043346-::1213::[2003_6_02_132702]::
stta/dellinks.cgi::1.31051043346-::2383::[2003_6_02_132702]::
stta/delobj.cgi::1.31051043346-::2503::[2003_6_02_132702]::
stta/delou.cgi::1.31051043346-::2553::[2003_6_02_132702]::
stta/delprofcache.cgi::1.31051043346-::1288::[2003_6_02_132702]::
stta/delusr.cgi::1.31051043346-::4462::[2003_6_02_132702]::
stta/dir_save.cgi::1.31059653812-::404::[2003_07_31_141652]::
stta/dirdef_stta.cgi::1.31051043346-::409::[2003_6_02_132702]::
stta/dirlogs_cache.cgi::1.31051043346-::425::[2003_6_02_132702]::
stta/dirlogs_tta.cgi::1.31051043346-::408::[2003_6_02_132702]::
stta/feedback.cgi::1.31057471415-::17508::[2003_07_06_080334]::
stta/feedback_form.cgi::1.31051043346-::5078::[2003_6_02_132702]::
stta/file_clean.cgi::1.31051043346-::4529::[2003_6_02_132702]::
stta/file_deflists.cgi::1.31051043346-::3116::[2003_6_02_132702]::
stta/file_del.cgi::1.31051043346-::4389::[2003_6_02_132702]::
stta/file_manager.cgi::1.31057471414-::10495::[2003_07_06_080334]::
stta/file_mod.cgi::1.31059653812-::9797::[2003_07_31_141652]::
stta/file_showlist.cgi::1.31051043346-::7260::[2003_6_02_132702]::
stta/fixhosts.cgi::1.31051043346-::2122::[2003_6_02_132702]::
stta/fixobjs.cgi::1.31051043346-::5181::[2003_6_02_132702]::
stta/footer.pl::1.31068182931-::1339::[2003_11_07_062851]::
stta/global-lib.pl::1.31068182932-::55908::[2003_11_07_062851]::
stta/global.js::1.31051043346-::5882::[2003_6_02_132702]::
stta/help-lib.pl::1.31070277510-::27064::[2003_12_01_121830]::
stta/help.cgi::1.31068182932-::4085::[2003_11_07_062851]::
stta/host_chooser.cgi::1.31070448507-::8259::[2003_12_03_114827]::
stta/html-lib.pl::1.31068182932-::62506::[2003_11_07_062851]::
stta/index.cgi::1.31051043346-::1259::[2003_6_02_132702]::
stta/index/admin.pl::1.31056101209-::4105::[2003_06_20_112649]::
stta/index/apps.pl::1.31051043346-::1008::[2003_6_02_132702]::
stta/index/browsers.pl::1.31051043346-::929::[2003_6_02_132702]::
stta/index/domains.pl::1.31051043346-::1065::[2003_6_02_132702]::
stta/index/grpapps.pl::1.31051043346-::1012::[2003_6_02_132702]::
stta/index/grphosts.pl::1.31051043346-::1078::[2003_6_02_132702]::
stta/index/hosts.pl::1.31051043346-::1076::[2003_6_02_132702]::
stta/index/hostsuser.pl::1.31051043346-::997::[2003_6_02_132702]::
stta/index/index_table.pl::1.31051043346-::1742::[2003_6_02_132702]::
stta/index/index_tabs.pl::1.31057471415-::4704::[2003_07_06_080334]::
stta/index/insupd.pl::1.31068182932-::1003::[2003_11_07_062851]::
stta/index/ldap.pl::1.31051043346-::5905::[2003_6_02_132702]::
stta/index/ldapcache.pl::1.31051043346-::847::[2003_6_02_132702]::
stta/index/ldapprofile.pl::1.31051043346-::843::[2003_6_02_132702]::
stta/index/links.pl::1.31051043346-::959::[2003_6_02_132702]::
stta/index/master.pl::1.31051043346-::862::[2003_6_02_132702]::
stta/index/monitor.pl::1.31051043346-::830::[2003_6_02_132702]::
stta/index/objects.pl::1.31051043346-::2053::[2003_6_02_132702]::
stta/index/ou.pl::1.31051043346-::1176::[2003_6_02_132702]::
stta/index/password.pl::1.31051043346-::841::[2003_6_02_132702]::
stta/index/servers.pl::1.31051043346-::2695::[2003_6_02_132702]::
stta/index/supervision.pl::1.31051043346-::5170::[2003_6_02_132702]::
stta/index/tta.pl::1.31051043346-::4660::[2003_6_02_132702]::
stta/index/users.pl::1.31051043346-::1229::[2003_6_02_132702]::
stta/installupd-lib.pl::1.31068182932-::25629::[2003_11_07_062851]::
stta/inststta-lib.pl::1.31051043346-::30745::[2003_6_02_132702]::
stta/ldap-lib.pl::1.31055419200-::39074::[2003_06_12_140000]::
stta/ldap_backup.cgi::1.31051043346-::1405::[2003_6_02_132702]::
stta/ldap_ldif.cgi::1.31057471414-::1430::[2003_07_06_080334]::
stta/ldap_load.cgi::1.31051043346-::2772::[2003_6_02_132702]::
stta/ldap_loglist.cgi::1.31051043346-::6162::[2003_6_02_132702]::
stta/ldap_replica.cgi::1.31051043346-::1311::[2003_6_02_132702]::
stta/ldap_restart.cgi::1.31051043346-::2783::[2003_6_02_132702]::
stta/ldap_schema.cgi::1.31051043346-::1404::[2003_6_02_132702]::
stta/ldapbase-lib.pl::1.31051043346-::8151::[2003_6_02_132702]::
stta/ldapcache_backup.cgi::1.31051043346-::1500::[2003_6_02_132702]::
stta/ldapcache_ldif.cgi::1.31057471414-::1546::[2003_07_06_080334]::
stta/ldapcache_load.cgi::1.31051043346-::2861::[2003_6_02_132702]::
stta/ldapcache_restart.cgi::1.31051043346-::2933::[2003_6_02_132702]::
stta/ldapcache_schema.cgi::1.31051043346-::1481::[2003_6_02_132702]::
stta/license.cgi::1.31057471415-::1303::[2003_07_06_080334]::
stta/lists-lib.pl::1.31055415586-::35022::[2003_06_12_125945]::
stta/localenv_vars.sh::1.31051043346-::431::[2003_6_02_132702]::
stta/log_http.cgi::1.31051043346-::361::[2003_6_02_132702]::
stta/log_httpacc.cgi::1.31051043346-::369::[2003_6_02_132702]::
stta/log_https.cgi::1.31051043346-::364::[2003_6_02_132702]::
stta/log_httpsacc.cgi::1.31051043346-::373::[2003_6_02_132702]::
stta/log_ldap.cgi::1.31051043346-::376::[2003_6_02_132702]::
stta/log_parser.pl::1.31051043346-::1104::[2003_6_02_132702]::
stta/log_stta.cgi::1.31051043346-::403::[2003_6_02_132702]::
stta/log_system.cgi::1.31051043346-::412::[2003_6_02_132702]::
stta/logldap_acc.cgi::1.31051043346-::376::[2003_6_02_132702]::
stta/logldap_cache.cgi::1.31051043346-::391::[2003_6_02_132702]::
stta/logldapcache_acc.cgi::1.31051043346-::391::[2003_6_02_132702]::
stta/logs_list.cgi::1.31051043346-::364::[2003_6_02_132702]::
stta/logusers_ldap.cgi::1.31051043346-::358::[2003_6_02_132702]::
stta/mkhelplang.sh::1.31060696031-::1435::[2003_08_12_154710]::
stta/mktools.sh::1.31051043346-::6015::[2003_6_02_132702]::
stta/modact.cgi::1.31051043346-::3649::[2003_6_02_132702]::
stta/modapps.cgi::1.31051043346-::4335::[2003_6_02_132702]::
stta/moddomains.cgi::1.31051043346-::2872::[2003_6_02_132702]::
stta/modfile.cgi::1.31051043346-::2680::[2003_6_02_132702]::
stta/modgrpapps.cgi::1.31051043346-::3891::[2003_6_02_132702]::
stta/modgrphosts.cgi::1.31054739308-::3168::[2003_6_04_170828]::
stta/modhosts.cgi::1.31051043346-::4952::[2003_6_02_132702]::
stta/modlinks.cgi::1.31051043346-::2919::[2003_6_02_132702]::
stta/modobj.cgi::1.31051043346-::2462::[2003_6_02_132702]::
stta/modou.cgi::1.31051043346-::4036::[2003_6_02_132702]::
stta/modusr.cgi::1.31051043346-::6354::[2003_6_02_132702]::
stta/mon_actarget.cgi::1.31051043346-::16760::[2003_6_02_132702]::
stta/mon_actdef.cgi::1.31051043346-::9003::[2003_6_02_132702]::
stta/mon_delact.cgi::1.31051043346-::6091::[2003_6_02_132702]::
stta/mon_runact.cgi::1.31051043346-::2005::[2003_6_02_132702]::
stta/mon_script.cgi::1.31051043346-::466::[2003_6_02_132702]::
stta/mon_selact.cgi::1.31057471415-::10627::[2003_07_06_080334]::
stta/monitor-lib.pl::1.31057471415-::10150::[2003_07_06_080334]::
stta/monitor.cgi::1.31051043346-::7011::[2003_6_02_132702]::
stta/monitor.pl::1.31051043346-::5156::[2003_6_02_132702]::
stta/mvobjs.cgi::1.31070299324-::11085::[2003_12_01_182204]::
stta/obj_chooser.cgi::1.31057471415-::6258::[2003_07_06_080334]::
stta/passwd.cgi::1.31070535854-::5500::[2003_12_04_120414]::
stta/postinstall.pl::1.31051043346-::1306::[2003_6_02_132702]::
stta/print-lib.pl::1.31051043346-::4003::[2003_6_02_132702]::
stta/runfile.cgi::1.31051043346-::2875::[2003_6_02_132702]::
stta/search.cgi::1.31057471415-::4642::[2003_07_06_080334]::
stta/sess_filter.cgi::1.31068182932-::3890::[2003_11_07_062851]::
stta/sess_mgmt.cgi::1.31057471415-::2244::[2003_07_06_080334]::
stta/setup_config.pl::1.31051043346-::5037::[2003_6_02_132702]::
stta/shells/ensdump.sh::1.31051043346-::506::[2003_6_02_132702]::
stta/shells/ensload.sh::1.31057471955-::1063::[2003_07_06_081235]::
stta/shells/ensrecreate.sh::1.31051043346-::1216::[2003_6_02_132702]::
stta/shells/ensrestore.sh::1.31051043346-::828::[2003_6_02_132702]::
stta/shells/getOSdata.sh::1.31051043346-::354::[2003_6_02_132702]::
stta/shells/ldapreplicate.sh::1.31051043346-::6370::[2003_6_02_132702]::
stta/shells/monitor.sh::1.31051043346-::532::[2003_6_02_132702]::
stta/shells/oldapadm.sh::1.31051043346-::4545::[2003_6_02_132702]::
stta/shells/openldap.sh::1.31051043346-::3194::[2003_6_02_132702]::
stta/shells/scanttacache.sh::1.31051043346-::5657::[2003_6_02_132702]::
stta/shells/setenv_vars.sh::1.31051043346-::2024::[2003_6_02_132702]::
stta/shells/stta.sh::1.31051043346-::793::[2003_6_02_132702]::
stta/shells/tta.sh::1.31051043346-::252::[2003_6_02_132702]::
stta/shells/ttabackup.sh::1.31051043346-::1247::[2003_6_02_132702]::
stta/shells/ttasess.sh::1.31051043346-::387::[2003_6_02_132702]::
stta/shells/ttatcl.sh::1.31051043346-::324::[2003_6_02_132702]::
stta/stta-lib.pl::1.31051043346-::21501::[2003_6_02_132702]::
stta/stta_brandmgr.cgi::1.31068182932-::8233::[2003_11_07_062851]::
stta/stta_brandlst.cgi::1.31068182932-::5043::[2003_11_07_062851]::
stta/stta_checksync.cgi::1.31051043346-::10488::[2003_6_02_132702]::
stta/stta_installupd.cgi::1.31068182932-::6821::[2003_11_07_062851]::
stta/stta_mvobjs.cgi::1.31051043346-::8442::[2003_6_02_132702]::
stta/stta_proc.cgi::1.31051043346-::1184::[2003_6_02_132702]::
stta/stta_report.cgi::1.31068182932-::6065::[2003_11_07_062851]::
stta/stta_synclist.cgi::1.31063615106-::1288::[2003_09_15_103826]::
stta/stta_view.cgi::1.31051043346-::958::[2003_6_02_132702]::
stta/stta_warn.cgi::1.31051043346-::1537::[2003_6_02_132702]::
stta/stta_webhelp.cgi::1.31068182931-::15609::[2003_11_07_062851]::
stta/sttaconfig.cgi::1.31051043346-::286::[2003_6_02_132702]::
stta/sttaremote-lib.pl::1.31051043346-::731::[2003_6_02_132702]::
stta/ttaDumpDs.tcl::1.31051043346-::4071::[2003_6_02_132702]::
stta/ttaRestoreDs.tcl::1.31070449302-::4738::[2003_12_03_120141]::
stta/tta_addgrphosts.cgi::1.31051043346-::6236::[2003_6_02_132702]::
stta/tta_addhosts.cgi::1.31051043346-::8728::[2003_6_02_132702]::
stta/tta_addhostsuser.cgi::1.31051043346-::4788::[2003_6_02_132702]::
stta/tta_addlinks.cgi::1.31051043346-::6069::[2003_6_02_132702]::
stta/tta_addou.cgi::1.31051043346-::5679::[2003_6_02_132702]::
stta/tta_addprofcache.cgi::1.31051043346-::6886::[2003_6_02_132702]::
stta/tta_addusr.cgi::1.31057471415-::8697::[2003_07_06_080334]::
stta/tta_alivehosts.cgi::1.31051043346-::1763::[2003_6_02_132702]::
stta/tta_archive.cgi::1.31051043346-::1169::[2003_6_02_132702]::
stta/tta_backup.cgi::1.31057471415-::1189::[2003_07_06_080334]::
stta/tta_delgrphosts.cgi::1.31051043346-::3041::[2003_6_02_132702]::
stta/tta_delhosts.cgi::1.31051043346-::2951::[2003_6_02_132702]::
stta/tta_delhostsuser.cgi::1.31051043346-::3066::[2003_6_02_132702]::
stta/tta_dellinks.cgi::1.31051043346-::2957::[2003_6_02_132702]::
stta/tta_delou.cgi::1.31051043346-::2892::[2003_6_02_132702]::
stta/tta_delprofcache.cgi::1.31051043346-::3160::[2003_6_02_132702]::
stta/tta_delusr.cgi::1.31070448507-::4930::[2003_12_03_114827]::
stta/tta_ensbk.cgi::1.31051043346-::1173::[2003_6_02_132702]::
stta/tta_ensdump.cgi::1.31057471415-::2156::[2003_07_06_080334]::
stta/tta_ensload.cgi::1.31051043346-::2189::[2003_6_02_132702]::
stta/tta_ensrecreate.cgi::1.31051043346-::2761::[2003_6_02_132702]::
stta/tta_ensrestore.cgi::1.31051043346-::2283::[2003_6_02_132702]::
stta/tta_filter.cgi::1.31056101209-::6546::[2003_06_20_112649]::
stta/tta_loadous.cgi::1.31051043346-::7520::[2003_6_02_132702]::
stta/tta_loadusrs.cgi::1.31051043346-::8227::[2003_6_02_132702]::
stta/tta_modgrphosts.cgi::1.31051043346-::5226::[2003_6_02_132702]::
stta/tta_modhosts.cgi::1.31051043346-::9577::[2003_6_02_132702]::
stta/tta_modlinks.cgi::1.31051043346-::4783::[2003_6_02_132702]::
stta/tta_modou.cgi::1.31051043346-::8721::[2003_6_02_132702]::
stta/tta_modusr.cgi::1.31051043346-::17849::[2003_6_02_132702]::
stta/tta_mvgrphosts.cgi::1.31051043346-::307::[2003_6_02_132702]::
stta/tta_mvhosts.cgi::1.31051043346-::301::[2003_6_02_132702]::
stta/tta_mvlinks.cgi::1.31051043346-::303::[2003_6_02_132702]::
stta/tta_mvou.cgi::1.31051043346-::295::[2003_6_02_132702]::
stta/tta_mvusr.cgi::1.31051043346-::299::[2003_6_02_132702]::
stta/tta_passwd.cgi::1.31070535854-::8343::[2003_12_04_120414]::
stta/tta_passwdcache.cgi::1.31051043346-::6185::[2003_6_02_132702]::
stta/tta_restart.cgi::1.31051043346-::1194::[2003_6_02_132702]::
stta/tta_selgrphosts.cgi::1.31051043346-::4593::[2003_6_02_132702]::
stta/tta_selhosts.cgi::1.31051043346-::5874::[2003_6_02_132702]::
stta/tta_selhostsuser.cgi::1.31051043346-::3395::[2003_6_02_132702]::
stta/tta_sellinks.cgi::1.31051043346-::4492::[2003_6_02_132702]::
stta/tta_selou.cgi::1.31051043346-::4438::[2003_6_02_132702]::
stta/tta_selprofcache.cgi::1.31051043346-::3499::[2003_6_02_132702]::
stta/tta_selusr.cgi::1.31070535854-::15679::[2003_12_04_120414]::
stta/tta_sess.cgi::1.31057471415-::17095::[2003_07_06_080334]::
stta/tta_sessbilling.cgi::1.31057471414-::23837::[2003_07_06_080334]::
stta/tta_sesscount.cgi::1.31057471415-::4621::[2003_07_06_080334]::
stta/tta_sesstotal.cgi::1.31057471414-::3990::[2003_07_06_080334]::
stta/tta_status.cgi::1.31057471415-::1619::[2003_07_06_080334]::
stta/tta_updatecache.cgi::1.31051043346-::3034::[2003_6_02_132702]::
stta/tta_works.cgi::1.31051043346-::899::[2003_6_02_132702]::
stta/ttacache-lib.pl::1.31059653812-::20534::[2003_07_31_141652]::
stta/ttasess-lib.pl::1.31051043346-::25749::[2003_6_02_132702]::
stta/ttasess.pl::1.31051043346-::3190::[2003_6_02_132702]::
stta/updateALLcache.cgi::1.31051043346-::6905::[2003_6_02_132702]::
stta/updatecache.cgi::1.31051043346-::6701::[2003_6_02_132702]::
stta/view.cgi::1.31057471415-::3639::[2003_07_06_080334]::
stta/web-lib.pl::1.31068190601-::6065::[2003_11_07_083641]::

217
stta/acl_security.pl Executable file
View File

@ -0,0 +1,217 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# acl_security_form(&options)
# Output HTML for editing security options for the tarantella module
sub acl_security_form
{
do '../web-lib.pl';
&init_config();
print "<tr><td><b>$text{'acl_stop'}</b></td>\n";
printf "<td><input type=radio name=stop value=1 %s> $text{'yes'}\n",
$_[0]->{'stop'} == 1 ? "checked" : "";
printf "<input type=radio name=stop value=2 %s> $text{'acl_restart'}\n",
$_[0]->{'stop'} == 2 ? "checked" : "";
printf "<input type=radio name=stop value=0 %s> $text{'no'}</td>\n",
$_[0]->{'stop'} == 0 ? "checked" : "";
print "<td><b>$text{'acl_global'}</b></td>\n";
printf "<td><input type=radio name=global value=1 %s> $text{'yes'}\n",
$_[0]->{'global'} ? "checked" : "";
printf "<input type=radio name=global value=0 %s> $text{'no'}</td>\n",
$_[0]->{'global'} ? "" : "checked";
print "<tr> <td><b>$text{'acl_addusr'}</b></td>\n";
printf "<td><input type=radio name=addusr value=1 %s> $text{'yes'}\n",
$_[0]->{'addusr'} ? "checked" : "";
printf "<input type=radio name=addusr value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addusr'} ? "" : "checked";
print "<td><b>$text{'acl_addou'}</b></td>\n";
printf "<td><input type=radio name=addou value=1 %s> $text{'yes'}\n",
$_[0]->{'addou'} ? "checked" : "";
printf "<input type=radio name=addou value=0 %s> $text{'no'}</td> </tr>\n",
$_[0]->{'addou'} ? "" : "checked";
print "<tr> <td><b>$text{'acl_addhosts'}</b></td>\n";
printf "<td><input type=radio name=addhosts value=1 %s> $text{'yes'}\n",
$_[0]->{'addhosts'} ? "checked" : "";
printf "<input type=radio name=addhosts value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addhosts'} ? "" : "checked";
print "<td><b>$text{'acl_addgrphosts'}</b></td>\n";
printf "<td><input type=radio name=addgrphosts value=1 %s> $text{'yes'}\n",
$_[0]->{'addgrphosts'} ? "checked" : "";
printf "<input type=radio name=addgrphosts value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addgrphosts'} ? "" : "checked";
print "<tr> <td><b>$text{'acl_addapps'}</b></td>\n";
printf "<td><input type=radio name=addapps value=1 %s> $text{'yes'}\n",
$_[0]->{'addapps'} ? "checked" : "";
printf "<input type=radio name=addapps value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addapps'} ? "" : "checked";
print "<td><b>$text{'acl_addgrpapps'}</b></td>\n";
printf "<td><input type=radio name=addgrpapps value=1 %s> $text{'yes'}\n",
$_[0]->{'addgrpapps'} ? "checked" : "";
printf "<input type=radio name=addgrpapps value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addgrpapps'} ? "" : "checked";
print "<tr><td><b>$text{'acl_addhostsuser'}</b></td>\n";
printf "<td><input type=radio name=addhostsuser value=1 %s> $text{'yes'}\n",
$_[0]->{'addhostsuser'} ? "checked" : "";
printf "<input type=radio name=addhostsuser value=0 %s> $text{'no'}</td>\n",
$_[0]->{'addhostsuser'} ? "" : "checked";
print "<tr><td><b>$text{'acl_adddomains'}</b></td>\n";
printf "<td><input type=radio name=adddomains value=1 %s> $text{'yes'}\n",
$_[0]->{'adddomains'} ? "checked" : "";
printf "<input type=radio name=adddomains value=0 %s> $text{'no'}</td>\n",
$_[0]->{'adddomains'} ? "" : "checked";
print "<tr> <td><b>$text{'acl_delusr'}</b></td>\n";
printf "<td><input type=radio name=delusr value=1 %s> $text{'yes'}\n",
$_[0]->{'delusr'} ? "checked" : "";
printf "<input type=radio name=delusr value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delusr'} ? "" : "checked";
print "<td><b>$text{'acl_delou'}</b></td>\n";
printf "<td><input type=radio name=delou value=1 %s> $text{'yes'}\n",
$_[0]->{'delou'} ? "checked" : "";
printf "<input type=radio name=delou value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delou'} ? "" : "checked";
print "<tr><td><b>$text{'acl_delhosts'}</b></td>\n";
printf "<td><input type=radio name=delhosts value=1 %s> $text{'yes'}\n",
$_[0]->{'delhosts'} ? "checked" : "";
printf "<input type=radio name=delhosts value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delhosts'} ? "" : "checked";
print "<td><b>$text{'acl_delgrphosts'}</b></td>\n";
printf "<td><input type=radio name=delgrphosts value=1 %s> $text{'yes'}\n",
$_[0]->{'delgrphosts'} ? "checked" : "";
printf "<input type=radio name=delgrphosts value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delgrphosts'} ? "" : "checked";
print "<tr><td><b>$text{'acl_alivehosts'}</b></td>\n";
printf "<td><input type=radio name=alivehosts value=1 %s> $text{'yes'}\n",
$_[0]->{'alivehosts'} ? "checked" : "";
printf "<input type=radio name=alivehosts value=0 %s> $text{'no'}</td>\n",
$_[0]->{'alivehosts'} ? "" : "checked";
print "<tr><td><b>$text{'acl_delapps'}</b></td>\n";
printf "<td><input type=radio name=delapps value=1 %s> $text{'yes'}\n",
$_[0]->{'delapps'} ? "checked" : "";
printf "<input type=radio name=delapps value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delapps'} ? "" : "checked";
print "<td><b>$text{'acl_delgrpapps'}</b></td>\n";
printf "<td><input type=radio name=delgrpapps value=1 %s> $text{'yes'}\n",
$_[0]->{'delgrpapps'} ? "checked" : "";
printf "<input type=radio name=delgrpapps value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delgrpapps'} ? "" : "checked";
print "<tr><td><b>$text{'acl_delhostsuser'}</b></td>\n";
printf "<td><input type=radio name=delhostsuser value=1 %s> $text{'yes'}\n",
$_[0]->{'delhostsuser'} ? "checked" : "";
printf "<input type=radio name=delhostsuser value=0 %s> $text{'no'}</td>\n",
$_[0]->{'delhostsuser'} ? "" : "checked";
print "<tr><td><b>$text{'acl_deldomains'}</b></td>\n";
printf "<td><input type=radio name=deldomains value=1 %s> $text{'yes'}\n",
$_[0]->{'deldomains'} ? "checked" : "";
printf "<input type=radio name=deldomains value=0 %s> $text{'no'}</td>\n",
$_[0]->{'deldomains'} ? "" : "checked";
print "<tr><td><b>$text{'acl_passwd'}</b></td>\n";
printf "<td><input type=radio name=passwd value=1 %s> $text{'yes'}\n",
$_[0]->{'passwd'} ? "checked" : "";
printf "<input type=radio name=passwd value=0 %s> $text{'no'}</td>\n",
$_[0]->{'passwd'} ? "" : "checked";
print "<td><b>$text{'acl_passwdCache'}</b></td>\n";
printf "<td><input type=radio name=passwdCache value=1 %s> $text{'yes'}\n",
$_[0]->{'passwdCache'} ? "checked" : "";
printf "<input type=radio name=passwdCache value=0 %s> $text{'no'}</td>\n",
$_[0]->{'passwdCache'} ? "" : "checked";
print "<tr> <td><b>$text{'acl_backup'}</b></td>\n";
printf "<td><input type=radio name=backup value=1 %s> $text{'yes'}\n",
$_[0]->{'backup'} ? "checked" : "";
printf "<input type=radio name=backup value=0 %s> $text{'no'}</td>\n",
$_[0]->{'backup'} ? "" : "checked";
print "<td><b>$text{'acl_replicate'}</b></td>\n";
printf "<td><input type=radio name=replicate value=1 %s> $text{'yes'}\n",
$_[0]->{'replicate'} ? "checked" : "";
printf "<input type=radio name=replicate value=0 %s> $text{'no'}</td>\n",
$_[0]->{'replicate'} ? "" : "checked";
print "<tr><td><b>$text{'acl_sessions'}</b></td>\n";
printf "<td><input type=radio name=sessions value=1 %s> $text{'yes'}\n",
$_[0]->{'sessions'} ? "checked" : "";
printf "<input type=radio name=sessions value=0 %s> $text{'no'}</td>\n",
$_[0]->{'sessions'} ? "" : "checked";
print "<tr><td><b>$text{'acl_monitor'}</b></td>\n";
printf "<td><input type=radio name=monitor value=1 %s> $text{'yes'}\n",
$_[0]->{'monitor'} ? "checked" : "";
printf "<input type=radio name=monitor value=0 %s> $text{'no'}</td>\n",
$_[0]->{'monitor'} ? "" : "checked";
print "<tr><td><b>$text{'acl_supervision'}</b></td>\n";
printf "<td><input type=radio name=supervision value=1 %s> $text{'yes'}\n",
$_[0]->{'supervision'} ? "checked" : "";
printf "<input type=radio name=supervision value=0 %s> $text{'no'}</td>\n",
$_[0]->{'supervision'} ? "" : "checked";
print "<tr><td><b>$text{'acl_admin'}</b></td>\n";
printf "<td><input type=radio name=admin value=1 %s> $text{'yes'}\n",
$_[0]->{'admin'} ? "checked" : "";
printf "<input type=radio name=admin value=0 %s> $text{'no'}</td>\n",
$_[0]->{'admin'} ? "" : "checked";
print "<tr><td><b>$text{'acl_feedback'}</b></td>\n";
printf "<td><input type=radio name=feedback value=1 %s> $text{'yes'}\n",
$_[0]->{'feedback'} ? "checked" : "";
printf "<input type=radio name=feedback value=0 %s> $text{'no'}</td>\n",
}
# acl_security_save(&options)
# Parse the form for security options for the tarantella module
sub acl_security_save
{
$_[0]->{'global'} = $in{'global'};
$_[0]->{'addusr'} = $in{'addusr'};
$_[0]->{'delusr'} = $in{'delusr'};
$_[0]->{'addou'} = $in{'addou'};
$_[0]->{'delou'} = $in{'delou'};
$_[0]->{'addgrphosts'} = $in{'addgrphosts'};
$_[0]->{'delgrphosts'} = $in{'delgrphosts'};
$_[0]->{'addgrpapps'} = $in{'addgrpapps'};
$_[0]->{'delgrpapps'} = $in{'delgrpapps'};
$_[0]->{'addhosts'} = $in{'addhosts'};
$_[0]->{'delhosts'} = $in{'delhosts'};
$_[0]->{'alivehosts'} = $in{'alivehosts'};
$_[0]->{'addapps'} = $in{'addapps'};
$_[0]->{'delapps'} = $in{'delapps'};
$_[0]->{'addhostsuser'} = $in{'addhostsuser'};
$_[0]->{'delhostsuser'} = $in{'delhostsuser'};
$_[0]->{'adddomains'} = $in{'adddomains'};
$_[0]->{'deldomains'} = $in{'deldomains'};
$_[0]->{'passwd'} = $in{'passwd'};
$_[0]->{'passwdCache'} = $in{'passwdCache'};
$_[0]->{'stop'} = $in{'stop'};
$_[0]->{'backup'} = $in{'backup'};
$_[0]->{'replicate'} = $in{'replicate'};
$_[0]->{'sessions'} = $in{'sessions'};
$_[0]->{'monitor'} = $in{'monitor'};
$_[0]->{'supervision'} = $in{'supervision'};
$_[0]->{'admin'} = $in{'admin'};
$_[0]->{'feedback'} = $in{'feedback'};
}

141
stta/addact.cgi Executable file
View File

@ -0,0 +1,141 @@
#!/usr/bin/perl
# addact.cgi
# Add Action for STTA Monitor
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
if ( ! $access{'monitor'} ) { &redirect("index.cgi"); }
if ( $config{'has_monitor'} ne "true" ) { &redirect("index.cgi"); }
&ReadParse();
if ( !$in{aliasAct} ) { &redirect("mon_actdef.cgi"); }
if ( !$in{monTarget} ) { &redirect("mon_actdef.cgi"); }
if ( !$in{monCondition} ) { &redirect("mon_actdef.cgi"); }
if ( !$in{monAction} ) { &redirect("mon_actdef.cgi"); }
do "ldap-lib.pl";
&headerstta($text{'index_monitor_act'}, "", "monitor_act" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
$aliasAct=$in{aliasAct};
$monTarget=$in{monTarget};
$monCondition=$in{monCondition};
$monAction=$in{monAction};
$monConditionValue=$in{monConditionValue};
$monScript=$in{monScript};
$monHow=$in{monHow};
$descrip=$in{descrip};
$monWhen=$in{monWhen};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_monitor_defact'} </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
%h_act=&list_actions();
if ( $h_act{$aliasAct}->{'alias'} eq $aliasAct ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
if ( $monHow eq "task" ) {
foreach $arr ("mins", "hours", "days", "months", "weekdays") {
if ($in{"all_$arr"}) {
# All mins/hrs/etc.. chosen
$job->{$arr} = "*";
}
elsif (defined($in{$arr})) {
# Need to work out and simplify ranges selected
undef(@range);
undef(@newrange);
@range = split(/\0/, $in{$arr});
@range = sort { $a <=> $b } @range;
$start = -1;
for($i=0; $i<@range; $i++) {
if ($i && $range[$i]-1 == $range[$i-1]) {
# ok.. looks like a range
if ($start < 0) { $start = $i-1; }
}
elsif ($start < 0) {
# Not in a range at all
push(@newrange, $range[$i]);
}
else {
# End of the range.. add it
$newrange[@newrange - 1] =
"$range[$start]-".$range[$i-1];
push(@newrange, $range[$i]);
$start = -1;
}
}
if ($start >= 0) {
# Reached the end while in a range
$newrange[@newrange - 1] =
"$range[$start]-".$range[$i-1];
}
$job->{$arr} = join(',' , @newrange);
}
else {
print "<tr><p><b>ERROR: ".eval("\$text{'edit_$arr'}")."</b></tr>\n";
&footHere;
exit;
}
}
}
if ( $monTarget eq "user" ) {
$objectAct=$in{'username'}." ou=".$in{'userou'};
%ou=&list_ous();
$oukey=$in{'userou'};
if ( $ou{$oukey}->{'alias'} ne $oukey ) {
print "<hr>\n";
print "<b> Error $in{username}</b>\n";
print "<hr>\n";
&footHere;
exit;
}
$dn_ou=$ou{$oukey}->{'obj'};
$ens_ou=$ou{$oukey}->{'ens'};
$organizationname=$ou{$oukey}->{'name'};
$dn = "cn=$in{username},$dn_ou,".$config{ldap_base};
$surname="";
$ldap_server=1;
&connect ();
$cur_entry=&sel_ldap_obj($dn,"cn=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dn) {
$err_msg=" Error: $in{username}\n";
&html_errshow("ldap");
&footHere; exit ;
}
%entryObj=&get_ldap_obj($dn,$cur_entry);
$surname = $entryObj{sn};
$objectAct="cn=$in{username},$dn_ou";
} elsif ( $monTarget eq "ou" ) {
$objectAct=$in{'user_ou'};
} elsif ( $monTarget eq "host" ) {
$objectAct=$in{'hostname'};
} elsif ( $monTarget eq "grphosts" ) {
$objectAct=$in{'usergrphosts'};
} elsif ( $monTarget eq "app" ) {
$objectAct=$in{'appname'};
} elsif ( $monTarget eq "grpapps" ) {
$objectAct=$in{'grpappsname'};
}
if ( $monScript eq "none" ) { $monScript="-" };
if ( $aliasAct ne "" ) {
$lin_act=$aliasAct."::".$descrip."::".$monTarget."::".
$objectAct."::".$monCondition."::".$monConditionValue."::".
$monAction."::".$monScript."::";
if ( $monHow eq "task" ) {
foreach $arr ("mins", "hours", "days", "months", "weekdays") {
$lin_act=$lin_act.$job->{$arr}." ";
}
} else {
$lin_act=$lin_act.$monWhen;
}
$lin_act=$lin_act."::".$monHow."::";
&out_objslist( "add", "addact.cgi", "actions", "acts_list", $aliasAct, $lin_act, undef );
$str=$text{'user_made'}.$aliasAct;
if ( $monTarget eq "user" ) {
$str=$str." -> ".$in{username}." (".$organizationname.")";
} else {
$str=$str." -> ".$objectAct;
}
print "<tr><p><b>".$str."</b></tr>\n";
print "<tr></tr>\n";
}
&footHere;
exit;

125
stta/addapps.cgi Executable file
View File

@ -0,0 +1,125 @@
#!/usr/bin/perl
# addapp.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do 'app-lib.pl';
&headerstta($text{'index_addapp'}, "", "addapp",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
do "ldap-lib.pl";
}
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
$appname=$in{appname};
$grp_apps=$in{grpapps};
$obj_descrip=$in{descrip};
$aliasapp=$in{aliasapp};
$appserv=$in{appserv};
$maxsess=$in{maxsess};
$tta_AppType= $in{ttaapptype};
@appdef=&get_tta_appdef($tta_AppType);
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adapp'} $appname </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
if (!$appname) { &footHere; exit } ;
$alias=$aliasapp;
%h_app=&list_apps();
if ( $h_app{$aliasapp}->{'alias'} eq $aliasapp ) {
$err_msg=$aliasapp.": ".$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$grp_descrip="";
$dn_grpapps="";
$ens_grpapps="";
%h_grpapps=&list_grpapps();
if ( $h_grpapps{$grp_apps}->{'alias'} eq $grp_apps ) {
$dn_grpapps=$h_grpapps{$grp_apps}->{obj};
$ens_grpapps=$h_grpapps{$grp_apps}->{ens};
$grp_name=$h_grpapps{$grp_apps}->{name};
$grp_descrip=$h_grpapps{$grp_apps}->{descrip};
} else {
$err_msg="grp_apps: ".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_grpapps eq "" ) {
$dn_app = "ou=$appname";
$ens_app ="cn=$appname";
} else {
$dn_app = "ou=$appname,$dn_grpapps";
$ens_app ="$ens_grpapps/cn=$appname";
}
$dnldap = "default";
$default_obj="cn=$config{ldapcache_defaultobj}";
$ens_obj = "--name \"".$config{tta_base}."/$ens_app\"";
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj \\\n";
print TEMPF " --description \"$obj_descrip\"\\\n";
foreach $data (@appdef) {
next if ( $data->{att} eq "name" );
next if ( $data->{att} eq "description" );
next if ( $data->{att} eq "appserv" );
$fname=$data->{att};
if ( $in{$fname} ne "" && $in{$fname} ne "none" && $in{$fname} ne $data->{ops} ) {
print TEMPF " --$fname \"$in{$fname}\"\\\n";
}
}
%h_hosts=&list_hosts();
$hosts_list="";
$appserv =~ s/\r|\n/ /g;
foreach $h (split(/ /, $appserv)) {
next if ( $h eq "" );
next if ( $h_hosts{$h}->{ens} eq "" );
if ( $hosts_list ne "" ) { $hosts_list .= " " }
$hosts_list .="\"$config{tta_base}/".$h_hosts{$h}->{ens}."\"";
}
print TEMPF " --appserv $hosts_list\\\n";
print TEMPF "\n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if (&run_tta_cmd($type_cmd,$ens_obj,$temp_f)) {
print "</pre>\n";
} else { &html_errshow("tta")};
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($default_obj,$dn_app,$dnldap,"add","app");
if ( &cache_obj(\%tta3tier) ne 0 ) {
&html_errshow("ldap");
&footHere; exit;
};
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
}
print "<tr></tr>\n";
$lin_app=$aliasapp."::".$appname."::".$grp_apps."::".$dn_app."::".$ens_app."::".$maxsess."::".$tta_AppType."::".$obj_descrip."::";
&out_objslist( "add", "addapps.cgi", "apps", "apps_list", $aliasapp, $lin_app, undef );
print "<tr><p><b>".$text{'user_made'}.$appname." -> ".$grp_name."</b></tr>\n";
if ( $debug lt 2 ) { unlink($temp_f); }
&footHere;
exit;

101
stta/adddomains.cgi Executable file
View File

@ -0,0 +1,101 @@
#!/usr/bin/perl
# adddomain.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do "ldap-lib.pl";
&headerstta($text{'index_adddomain'}, "", "adddomain",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
&foreign_require("proc", "proc-lib.pl");
$ldapcache_server=1;
&connect_cache();
&ReadParse();
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_addomain'} $domainname </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
$domainname=$in{domainname};
$grp_domains=$in{grpdomains};
$obj_descrip=$in{descrip};
$aliasdomain=$in{aliasdomain};
$maxsess=$in{maxsess};
if (!$domainname) { &footHere; exit } ;
$alias=$aliasdomain;
%h_domains=&list_domains();
if ( $h_domains{$aliasdomain}->{'alias'} eq $aliasdomain ) {
$err_msg="aliasdomain: ".$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$grp_descrip="";
$dn_grpdomain="";
$ens_grpdomain="";
if ( $h_domains{$grp_domains}->{'alias'} eq $grp_domains ) {
$dn_grpdomain=$h_domains{$grp_domains}->{obj};
$ens_grpdomain=$h_domains{$grp_domains}->{ens};
$grp_descrip=$h_domains{$grp_domains}->{descrip};
$grp_name=$h_domains{$grp_domains}->{name};
} else {
$err_msg="$grp_domains: ".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_grpdomain eq "" ) {
$dn = "ou=$domainname";
$ens= "ou=$domainname";
} else {
$dn = "ou=$domainname,$dn_grpdomain";
$ens= "ou=$ens_grpdomain/ou=$domainname";
}
$dnldap = "default";
$dn_org = $dn;
$default_obj="cn=$config{ldapcache_defaultobj}";
$ens_obj = "--name \"".$config{tta_base}."/$ens\"";
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj\n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if ( &run_tta_cmd($type_cmd,$ens_obj,$temp_f) ) {
print "</pre>\n";
} else { &html_errshow("tta")};
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($default_obj,$dn,$dnldap,"add","domain");
if ( &cache_obj(\%tta3tier) ne 0 ) {
&html_errshow("ldap");
&footHere; exit;
}
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
}
$lin_domain=$aliasdomain."::".$domainname."::"."$dn_org"."::"."$ens"."::".$maxsess."::".$obj_descrip."::";
&out_objslist( "add", "adddomains.cgi", "domains", "domains_list", $aliasdomain, $lin_domain, undef );
print "<tr><p><b>".$text{'user_made'}.$domainname." -> ".$grp_name."</b></tr>\n";
print "<tr></tr>\n";
&footHere;
exit;

90
stta/addfile.cgi Executable file
View File

@ -0,0 +1,90 @@
#!/usr/bin/perl
# addfile.cgi
# create file for Services with Tarantella
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
if ( ! $access{'supervision'} ) { &redirect("index.cgi"); }
$postform = ($in{postform}) ? $in{postform} : "addfile";
$cgiPost = ($in{cgiPost}) ? $in{cgiPost} : "file";
$cgiName = ($in{cgiName}) ? $in{cgiName} : "addfile.cgi";
$wkdir = ($in{wkdir}) ? $in{wkdir} : eval("\$config{'$postform"."_path'}");
if ( ! $in{fName} ) { &redirect("index.cgi"); }
if ( ! $in{filePerm} ) { &redirect("index.cgi"); }
$filePerm= $in{'filePerm'};
if ( $postform eq "filemgr" ) { $postform="addfile"; }
$fName=$in{fName};
$cmd=$in{cmd};
if ( $in{fPerm} ) {
if ( substr($in{fPerm},0,1) ne "-" ) {
@l_target = split(/,/,$text{'f_perm_value'}, -1);
@l_target_tit = split(/,/,$text{'f_perm_desc'}, -1);
$nItems=0;
foreach $item (@l_target) {
if ( $item eq $in{fPerm} ) {
$fMode=$l_target_tit[$nItems];
$fPerm=substr($fMode,2,1);
last;
}
print $l_target_tit{$nItems};
$nItems++;
}
} else {
$fMode=$in{fPerm};
$fPerm=substr($fMode,2,1);
}
}
$perm=$in{perm};
if ( $perm ne "new" && substr($in{fPerm},1,3) eq "rwx" ) { $perm="all"; }
&headerstta(eval("\$text{'index_$postform'}"), "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>";
if ( $postform ne "addfile" ) { print $text{'create'}; }
print " ".eval("\$text{'titidx_$postform'}")."</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
if ( $fPerm ne "w" ) {
print "<tr><td>";
print &text('file_err',$text{'create'},$wkdir,$fName,$fMode);
print "</td></tr>\n";
&footHere;
exit 1;
}
$f_path=$wkdir."/".$fName;
if ( -e $f_path ) {
print "<tr><td>";
print &text('file_errexist',$wkdir,$fName);
print "</td></tr>\n";
&footHere;
exit 1;
}
$lnum = 0;
$in{'f_lines'} =~ s/\r//g;
&unlock_file($f_path);
unless ( open FILELIST,">$f_path" ) {
print "<tr><td>>";
print &text('file_err',$text{'create'},$wkdir,$fName,"");
print "</td></tr>\n";
&footHere;
exit 1;
}
print FILELIST $in{'f_lines'};
close(FILELIST);
&webmin_log("$text{create} ($perm) ","file","$f_path $fMode");
chown($config{run_exec_user}, 0, $f_path);
chmod(oct($filePerm), $f_path);
&webmin_log("$text{create} ($filePerm) ","file","$f_path $fMode");
&remote_filedo("write",$f_path);
print "</tr></td>\n";
print "<tr><td><b>$text{'user_made'} <b><i>$wkdir</i>/<b>$fName</b>\n";
if ( $debug gt 0 ) { print " &nbsp;&nbsp; ($fMode) ";}
print " </td></tr>\n";
print "</left><tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

112
stta/addgrpapps.cgi Executable file
View File

@ -0,0 +1,112 @@
#!/usr/bin/perl
# addgrpapps.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addgrpapps'}, "", "addgrpapps",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
do "ldap-lib.pl";
}
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
$grpappsname=$in{grpappsname};
$grp_grpapps=$in{grpapps};
$obj_descrip=$in{descrip};
$aliasgrpapps=$in{aliasgrpapps};
$maxsess=$in{maxsess};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adgrpapps'} $grpappsname </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
if (!$grpappsname) { &footHere; exit } ;
$alias=$aliasgrpapps;
%h_grpapps=&list_grpapps();
if ( $h_grpapps{$aliasgrpapps}->{'alias'} eq $aliasgrpapps ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$dn_grpapps="";
$grp_descrip="";
$ens_grpapps="";
if ( $h_grpapps{$grp_grpapps}->{'alias'} eq $grp_grpapps ) {
$dn_grpapps=$h_grpapps{$grp_grpapps}->{obj};
$ens_grpapps=$h_grpapps{$grp_grpapps}->{ens};
$grp_name=$h_grpapps{$grp_grpapps}->{name};
$grp_descrip=$h_grpapps{$grp_grpapps}->{descrip};
} else {
$err_msg="$grp_grpapps: ".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_grpapps eq "" ) {
$dn = "ou=$grpappsname";
$ens = "ou=$grpappsname";
} else {
$dn = "ou=$grpappsname,$dn_grpapps";
$ens = "$ens_grpapps/ou=$grpappsname";
}
$ens_obj = "--name \"".$config{tta_base}."/$ens\"";
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f=$config{'tta_defaults_grpapps'};
# Assigning and collecting values to be used in the form ...
%h_ttaobj=&load_ttaobj();
$cdm =$h_ttaobj{'cdm'}->{'value'};
$inherit =$h_ttaobj{'inherit'}->{'value'};
$webtop =$h_ttaobj{'webtop'}->{'value'};
$conntype=$h_ttaobj{'conntype'}->{'value'};
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj\\\n";
if ( $cdm ne "" ) {print TEMPF " --cdm \"$cdm\"\\\n"; }
if ( $inherit ne "" ) {print TEMPF " --inherit \"$inherit\"\\\n"; }
if ( $conntype ne "" ) { print TEMPF " --conntype \"$conntype\"\\\n"; }
if ( $webtop ne "" ) {print TEMPF " --webtop \"$webtop\"\\\n"; }
print TEMPF " --description \"$obj_descrip\" \n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if ( &run_tta_cmd($type_cmd,$ens_obj,$temp_f) ) {
print "</pre>\n";
} else { &html_errshow("tta")};
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$dnldap = "default";
$default_obj="cn=$config{ldapcache_defaultobj}";
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($default_obj,$dn,$dnldap,"add","grpapps");
if ( &cache_obj(\%tta3tier) ne 0 ) {
&html_errshow("ldap");
&footHere; exit;
} ;
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
}
$lin_grpapps=$aliasgrpapps."::".$grpappsname."::"."$dn"."::"."$ens"."::".$maxsess."::".$obj_descrip."::";
&out_objslist( "add", "addgrpapps.cgi", "grpapps", "grpapps_list", $aliasgrpapps, $lin_grpapps, undef );
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><p><b>".$text{'user_made'}.$grpappsname." -> ".$grp_name."</b></tr>\n";
print "<tr></tr>\n";
&footHere;
exit;

114
stta/addgrphosts.cgi Executable file
View File

@ -0,0 +1,114 @@
#!/usr/bin/perl
# addgrphosts.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addgrphosts'}, "", "addgrphosts",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
do "ldap-lib.pl";
}
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
$usergrphosts=$in{usergrphosts};
$aliasgrphosts=$in{aliasgrphosts};
$descrip=$in{descrip};
$maxsess=$in{maxsess};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adgrphosts'} $aliasgrphosts</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$grphostsname=$in{grphostsname};
if (!$grphostsname) { &footHere; exit; }
$alias=$aliasgrphosts;
%h_grphosts=&list_grphosts();
if ( $h_grphosts{$aliasgrphosts}->{'alias'} eq $aliasgrphosts ) {
$err_msg="aliasgrphosts: ".$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$grp_descrip="";
$dn_grphosts="";
$ens_grphosts="";
if ( $h_grphosts{$usergrphosts}->{'alias'} eq $usergrphosts ) {
$dn_grphosts=$h_grphosts{$usergrphosts}->{obj};
$ens_grphosts=$h_grphosts{$usergrphosts}->{ens};
$grp_name=$h_grphosts{$usergrphosts}->{name};
$grp_descrip=$h_grphosts{$usergrphosts}->{descrip};
} else {
$err_msg="$usergrphosts: ".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_grphosts eq "" ) {
$dn = "ou=$grphostsname";
$ens = "cn=$grphostsname";
} else {
$dn = "ou=$grphostsname,$dn_grphosts";
$ens = "$ens_grphosts/cn=$grphostsname";
}
$ens_obj = "--name \"".$config{tta_base}."/$ens\"";
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj\n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if (&run_tta_cmd($type_cmd,$ens_obj,$temp_f)) {
print "</pre>\n";
} else { &html_errshow("tta")};
# Default object para LDAP cache ...
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$obj_descrip=$in{descrip};
$dn_org=$dn;
$dn_cache=$dn;
$dnldap = "default";
$ldapcache_server=1;
&connect_cache ();
$default_obj="cn=$config{ldapcache_defaultobj}";
@tta3tier=&set_tta3tier($default_obj,$dn_cache,$dnldap,"add","grphost");
if ( &cache_obj(\%tta3tier) eq 0 ) {
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
} else { &html_errshow("ldap")};
}
$lin_grphosts=$aliasgrphosts."::".$grphostsname."::"."$dn_org"."::"."$ens"."::".$maxsess."::".$descrip."::";
&out_objslist( "add", "addgrphosts.cgi", "grphosts", "grphosts_list", $aliasgrphosts, $lin_grphosts, undef );
print "<tr><p><b>".$text{'user_made'}.$grphostsname." -> ".$in{usergrphosts}."</b></tr>\n";
print "<tr></tr>\n";
# print "<tr><form METHOD=POST name=addgrphosts ACTION=\"tta_modgrphosts.cgi?grphostsname=$grphostsname&usergrphosts=$usergrphosts\" >\n";
# print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"addgrphosts\"\n";
# print " <input TYPE=\"hidden\" NAME=\"grphostsname\" VALUE=\"",$grphostsname,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"usergrphosts\" VALUE=\"",$usergrphosts,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"aliasgrphosts\" VALUE=\"",$aliasgrphosts,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn,"\">\n";
# print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_modatt'},"\" VALUE=\"",$text{'f_modatt'},"\">\n";
# print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
# print " </form>\n";
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

129
stta/addhosts.cgi Executable file
View File

@ -0,0 +1,129 @@
#!/usr/bin/perl
# addhosts.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addhosts'}, "", "addhosts",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
do "ldap-lib.pl";
}
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adhosts'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$hostname=$in{hostname};
$location=$in{location};
$descrip=$in{descrip};
$ntdomain=$in{ntdomain};
$ipaddress=$in{ipaddress};
$maxsess=$in{maxsess};
$portalive=$in{portalive};
$aliashosts=$in{aliashosts};
$usergrphosts=$in{usergrphosts};
if ( ! $hostname) { &footHere; exit; }
$alias=$hostname;
%h_host=&list_hosts();
if ( $h_host{$hostname}->{'alias'} eq $hostname ) {
$err_msg="$hostname: ".$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$dn_hosts="";
$ens_hosts="";
$grp_descrip="";
%h_grphosts=&list_grphosts();
if ( $h_grphosts{$usergrphosts}->{'alias'} eq $usergrphosts ) {
$dn_hosts=$h_grphosts{$usergrphosts}->{obj};
$ens_hosts=$h_grphosts{$usergrphosts}->{ens};
$grp_name=$h_grphosts{$usergrphosts}->{name};
$grp_descrip=$h_grphosts{$usergrphosts}->{descrip};
} else {
$err_msg="$usergrphosts :".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_hosts eq "" ) {
$dn = "ou=$hostname";
$ens = "cn=$hostname";
$ens_obj = "--name \"".$config{tta_base}."/cn=$hostname\"";
} else {
$dn = "ou=$hostname,$dn_hosts";
$ens = "$ens_hosts/cn=$hostname";
$ens_obj = "--name \"".$config{tta_base}."/$ens_hosts/cn=$hostname\"";
}
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj \\\n";
if ( $ntdomain ne "" ) {print TEMPF " --ntdomain \"$ntdomain\"\\\n"; }
if ( $location ne "" ) {print TEMPF " --location \"$location\"\\\n"; }
if ( $descrip ne "" ) {print TEMPF " --description \"$descrip\"\\\n"; }
print TEMPF " --address \"$ipaddress\"\n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if (&run_tta_cmd($type_cmd,$ens_obj,$temp_f)) {
print "</pre>\n";
} else { &html_errshow("tta")};
# Default object para LDAP cache ...
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$obj_descrip=$in{descrip};
$dnldap = "default";
$dn_cache=$dn;
$ldapcache_server=1;
&connect_cache();
$default_obj="cn=$config{ldapcache_defaultobj}";
@tta3tier=&set_tta3tier($default_obj,$dn_cache,$dnldap,"add","host");
if ( &cache_obj(\%tta3tier) eq 0 ) {
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
} else { &html_errshow("ldap")};
}
$lin_hosts=$aliashosts."::".$hostname."::".$usergrphosts."::"."$dn"."::"."$ens"."::".$ipaddress."::".$maxsess."::".$portalive."::".$descrip."::";
&out_objslist( "add", "addhosts.cgi", "hosts", "hosts_list", $aliashosts, $lin_hosts, undef );
print "<tr><p><b>".$text{'user_made'}.$hostname." -> ".$usergrphosts."</b></tr>\n";
print "<tr></tr>\n";
# print "<tr><form METHOD=POST name=addhosts ACTION=\"tta_modhosts.cgi?hostname=$hostname&usergrphosts=$usergrphosts\" >\n";
# print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"addhosts\"\n";
# print " <input TYPE=\"hidden\" NAME=\"hostname\" VALUE=\"",$hostname,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"ipaddress\" VALUE=\"",$ipaddress,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"maxsess\" VALUE=\"",$maxsess,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"portalive\" VALUE=\"",$portalive,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"descrip\" VALUE=\"",$descrip,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"location\" VALUE=\"",$location,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"ntdomain\" VALUE=\"",$ntdomain,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"aliashosts\" VALUE=\"",$aliashosts,"\">\n";
# print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn,"\">\n";
# print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_modatt'},"\" VALUE=\"",$text{'f_modatt'},"\">\n";
# print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
# print " </form>\n";
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

46
stta/addhostsuser.cgi Executable file
View File

@ -0,0 +1,46 @@
#!/usr/bin/perl
# addhostsuser.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addhostsuser'}, "", "addhostsuser",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
$type_cmd = $in{ttacmd};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adhostsuser'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$hostname=$in{hostname};
$username=$in{username};
$descrip=$in{descrip};
$password=$in{password};
if ($username) {
$alias=$username;
%h_hostsuser=&list_hostsuser();
if ( $h_hostsuser{$username}->{'username'} eq $username ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
$organizationname="";
$dn_hostsuser="";
$ens_hostsuser="";
$lin_hostsuser=$username."::".$password."::".$descrip."::";
&out_objslist( "add", "addhostsuser.cgi", "hostsuser", "hostsuser_list", $username, $lin_hostsuser, undef );
print "<tr><p><b>".$text{'user_made'}.$username." -> ".$in{userhostsuser}."</b></tr>\n";
print "<tr></tr>\n";
}
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

98
stta/addlinks.cgi Executable file
View File

@ -0,0 +1,98 @@
#!/usr/bin/perl
# addlink.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
#do "ldap-lib.pl";
&headerstta($text{'index_addlink'}, "", "addlink",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
#$ldapcache_server=1;
#&connect_cache();
&ReadParse();
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adlink'} $linkname </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
$linkname=$in{linkname};
$grp_links=$in{grplinks};
$obj_descrip=$in{descrip};
$aliaslink=$in{aliaslink};
$maxsess=$in{maxsess};
if (!$linkname) { &footHere; exit } ;
$alias=$aliaslink;
%h_links=&list_links();
if ( $h_links{$aliaslink}->{'alias'} eq $aliaslink ) {
$err_msg="$aliaslink: ".$text{'list_err'};
&footHere;
exit;
}
$grp_name="";
$grp_descrip="";
$dn_grplink="";
$ens_grplink="";
if ( $h_links{$grp_links}->{'alias'} eq $grp_links ) {
$dn_grplink=$h_links{$grp_links}->{obj};
$ens_grplink=$h_links{$grp_links}->{ens};
$grp_descrip=$h_links{$grp_links}->{descrip};
$grp_name=$h_links{$grp_links}->{name};
} else {
$err_msg="$grp_links: ".$text{'list_errno'};
&footHere;
exit;
}
if ( $dn_grplink eq "" ) {
$dn = "ou=$linkname";
$ens= "cn=$linkname";
} else {
$dn = "ou=$linkname,$dn_grplink";
$ens= "$ens_grplink/cn=$linkname";
}
$ens_obj = "--name \"".$config{tta_base}."/$ens\"";
$dn_org=$dn;
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj\n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if ( &run_tta_cmd($type_cmd,$ens_obj,$temp_f) ) {
print "</pre>\n";
} else { &html_errshow("tta")};
if ( $config{'is_ldapcache'} eq "true" ) {
$dnldap = "default";
$dn_org = $dn;
$default_obj="cn=$config{ldapcache_defaultobj}";
# $ldapcache_server=1;
# &connect_cache ();
# @tta3tier=&set_tta3tier($default_obj,$dn,$dnldap,"add","link");
# if ( &cache_obj(\%tta3tier) ne 0 ) { &footHere; exit } ;
# if ( $config{ldapcache2_server}.length gt 0 ) {
# $ldapcache_server=2;
# &connect_cache ();
# if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
# }
}
$lin_link=$aliaslink."::".$linkname."::"."$dn_org"."::"."$ens"."::".$maxsess."::".$obj_descrip."::";
&out_objslist( "add", "addlinks.cgi", "links", "links_list", $aliaslink, $lin_links, undef );
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><p><b>".$text{'user_made'}.$linkname." -> ".$grp_name."</b></tr>\n";
print "<tr></tr>\n";
&footHere;
exit;

140
stta/addobj.cgi Executable file
View File

@ -0,0 +1,140 @@
#!/usr/bin/perl
# addobj.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addldapcache'}, "", "addobj",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
do "ldap-lib.pl";
&foreign_require("proc", "proc-lib.pl");
$ldapcache_server=1;
&connect_cache();
&ReadParse();
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_addldapcache'} </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$username=$in{username};
$user_ou=$in{user_ou};
$userou=$in{userou};
if (!$username && !$user_ou ) { &footHere; exit } ;
# Getting ORIGIN .....
if ( $userou eq "" ) {
# .... taking ou as target
$oualias=$user_ou;
} else {
$oualias=$userou;
}
$organizationname="";
$dn_ou="";
$ens_ou="";
$oudescrip="";
%h_ou=&list_ous();
if ( $h_ou{$oualias}->{'alias'} ne $oualias ) {
$err_msg=$text{'list_err'}," ($oualias) ";
&footHere;
exit;
}
$dn_ou=$h_ou{$oualias}->{'obj'};
$organizationname=$h_ou{$oualias}->{'name'};
$ens_ou=$h_ou{$oualias}->{'ens'};
$ou_descrip=$h_ou{$oualias}->{'decrip'};
if ( "$dn_ou" eq "" ) {
}
if ( $userou eq "" ) {
# .... taking ou as target do not check it !!!
$dn = "$dn_ou";
$dn_origin="cn=default_obj";
$objname=$organizationname;
$obj_descrip="Default - $oudescrip";
} else {
$objname=$username;
# ... checking that Username exists !!!!
%h_sysusers=&list_sysusers();
$dn = "cn=$username,$dn_ou";
$dn_origin="cn=$username";
$dnfull = "$dn,".$config{ldap_base};
if ( $h_sysusers{$username}->{name} eq $username ) {
$dn_dept = $oudescrip;
$obj_descrip=$h_sysusers{$username}->{name}."- ($h_sysusers{$username}->{where})";
} else {
$ldap_server=1;
&connect();
$cur_entry=&sel_ldap_obj($dnfull,"cn=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dnfull) {
$err_msg=" Error: $username $organizationname\n";
&html_errshow("ldap");
&footHere; exit ;
}
%entryObj=&get_ldap_obj($dnfull,$cur_entry);
$dn_dept = $entryObj{description};
$obj_descrip=$entryObj{sn}."- ($dn_dept)";
}
}
# Getting TARGET ..... expecting only one !!!
$objType="";
if ( $in{appname} ne "none" ) {
$objType="app";
$target_alias=$in{appname};
%listobj =&list_apps();
}
if ( $in{grpappsname} ne "none" ) {
$objType="grpapps";
$target_alias=$in{grpappsname};
%listobj =&list_grpapps();
}
if ( $in{hostname} ne "none" ) {
$objType="host";
$target_alias=$in{hostname};
%listobj =&list_hosts();
}
if ( $in{usergrphosts} ne "none" ) {
$objType="grphosts";
$target_alias=$in{grpappsname};
%listobj =&list_grphosts();
}
if ( $in{domain} ne "none" ) {
$objType="domain";
$target_alias=$in{domain};
%listobj =&list_domains();
}
$dn_target="";
if ( $listobj{$target_alias}->{'alias'} eq $target_alias ) {
$descrip_target=$listobj{$target_alias}->{descrip};
$dn_target=$listobj{$target_alias}->{obj};
$ens_target=$listobj{$target_alias}->{ens};
$name_target=$listobj{$target_alias}->{name};
}
if ( $dn_target eq "" ) {
print "<hr>\n";
print "<b> error: ($objType :$target_alias) </b>\n";
print "<tr><p><b>$obj_descrip</b></tr>\n";
print "<hr>\n";
&footHere; exit;
}
$dn_target=~s/cn=/ou=/g;
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($dn_origin,$dn_target,$dn_ou,"add",$objType);
print "<tr><p>.</tr>\n";
print "<tr><p><b>$objname -> $name_target</b></tr>\n";
print "<tr><p><b>$obj_descrip</b></tr>\n";
if ( &cache_obj(\%tta3tier) ne 0 ) { &footHere; exit } ;
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
print "<tr><p><b>".$text{'user_made'}."</b></tr>\n";
print "<tr></tr>\n";
&footHere;
exit;

128
stta/addou.cgi Executable file
View File

@ -0,0 +1,128 @@
#!/usr/bin/perl
# addou.cgi
# Add Ou in STTA
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
if ( $config{'has_ldapusers'} eq "true" || $config{'is_ldapcache'} eq "true") {
do "ldap-lib.pl";
}
&headerstta($text{'index_addou'}, "", "addou",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
$type_cmd = $in{ttacmd};
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adou'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$ouname=$in{ouname};
$userou=$in{userou};
$aliasou=$in{aliasou};
$maxsess=$in{maxsess};
$tta_norun = $in{ttanorun};
if ( !$ouname || $ouname eq "" ) {
&footHere;
exit;
}
%h_ou=&list_ous();
if ( $h_ou{$aliasou}->{'alias'} eq $aliasou || $h_ou{$userou}->{'alias'} ne $userou ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
$dn_ou=$h_ou{$userou}->{'obj'};
$organizationname=$h_ou{$userou}->{'name'};
$ens_ou=$h_ou{$userou}->{'ens'};
if ( $dn_ou eq "" ) {
$dnou = "ou=$ouname";
$ens = "ou=$ouname";
} else {
$dnou = "ou=$ouname,$dn_ou";
$ens = "$ens_ou/ou=$ouname";
}
$ens_obj = "--name \"".$config{tta_base}."/$ens\"";
if ( $config{'has_ldapusers'} eq "true" ) {
$ldap_server=1;
&connect ();
$dn = "$dnou,".$config{ldap_base};
if ( &add_ou($dn) eq 0 ) {
if ( $config{ldap2_server}.length gt 0 ) {
$ldap_server=2;
&connect ();
if ( &add_ou($dn) ne 0 ) { &err_replication() }
}
} else { &html_errshow("ldap")};
}
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
$temp_f=$config{'tta_defaults_ou'};
# Assigning and collecting values to be used in the form ...
%h_ttaobj=&load_ttaobj();
$cdm =$h_ttaobj{'cdm'}->{'value'};
$inherit =$h_ttaobj{'inherit'}->{'value'};
$webtop =$h_ttaobj{'webtop'}->{'value'};
$conntype=$h_ttaobj{'conntype'}->{'value'};
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF "$ens_obj\\\n";
if ( $cdm ne "" ) {print TEMPF " --cdm \"$cdm\"\\\n"; }
if ( $inherit ne "" ) {print TEMPF " --inherit \"$inherit\"\\\n"; }
if ( $conntype ne "" ) { print TEMPF " --conntype \"$conntype\"\\\n"; }
if ( $webtop ne "" ) {print TEMPF " --webtop \"$webtop\"\\\n"; }
print TEMPF " --description \"$in{ouname}\" \n";
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if (&run_tta_cmd($type_cmd,$ens_obj,$temp_f)) {
print "</pre>\n";
} else { &html_errshow("tta")};
$lin_ou=$aliasou."::".$ouname."::"."$dnou"."::"."$ens"."::".$maxsess."::".$ouname."::";
&out_objslist( "add", "add.cgi", "ou", "ou_list", $aliasou, $lin_ou, undef );
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$dnldap = "default";
$dn_org="ou=$ouname";
if ( $dn_ou ne "" ) { $dn_org .=",$dn_ou"; }
$default_obj="cn=$config{ldapcache_defaultobj}";
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($default_obj,$dn_org,$dnldap,"add","ou");
if ( &cache_obj(\%tta3tier) ne 0 ) {
&html_errshow("ldap");
&footHere; exit;
};
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
}
print "<tr><p><b>".$text{'user_made'}.$ouname." -> ".$in{userou}."</b></tr>\n";
print "<tr></tr>\n";
print "<tr><form METHOD=POST name=addou ACTION=\"tta_modou.cgi\" >\n";
print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"addou\"\n";
print " <input TYPE=\"hidden\" NAME=\"ouname\" VALUE=\"",$ouname,"\"\n";
print " <input TYPE=\"hidden\" NAME=\"userou\" VALUE=\"",$aliasou,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dnou,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"maxsess\" VALUE=\"",$maxsess,"\">\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_modatt'},"\" VALUE=\"",$text{'f_modatt'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print " </form>\n";
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

49
stta/addprofcache.cgi Executable file
View File

@ -0,0 +1,49 @@
#!/usr/bin/perl
# addprofcache.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addprofcache'}, "", "addprofcache",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} eq "true" ) {
$err_msg=$text{'ldapcache_enable'};
&footCacheHere;
exit;
}
&ReadParse();
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_addprofcache'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$profilename=$in{profilename};
if ($profilename) {
$alias=$profilename;
%h_profcache=&list_profcache();
if ( $h_profcache{$profilename}->{'alias'} eq $profilename ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
$userhostname=$in{userhostname};
$descrip=$in{descrip};
$usergrphosts=$in{usergrphosts};
$hostname=$in{hostname};
$username=$in{username};
$userou=$in{userou};
$lin_profile=$profilename."::".$descrip."::".$userhostname."::".
$hostname."::".$usergrphosts."::".$username."::".$userou;
&out_objslist( "add", "addprofcache.cgi", "profcache", "profcache_list", $profilename, $lin_profile, undef );
print "<tr><p><b>".$text{'user_made'}.$profilename." -> ".$descrip."</b></tr>\n";
print "<tr></tr>\n";
}
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

219
stta/addusr.cgi Executable file
View File

@ -0,0 +1,219 @@
#!/usr/bin/perl
# addusr.cgi
# ... Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
if ( $config{'has_ldapusers'} eq "true" || $config{'is_ldapcache'} eq "true" ) {
do "ldap-lib.pl";
}
&headerstta($text{'index_addusr'}, "", "addusr",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
$type_cmd = $in{ttacmd};
$tta_norun = $in{ttanorun};
print "<p>\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adusr'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<center>\n";
$username=$in{username};
$administrador=false;
$passwcache=true;
# $ntdomain=$config{'companyntdomain'};
$ntdomain="";
$sysuser=$in{sysuser};
$syncuser=$in{syncuser};
if ( $config{'has_ldapusers'} ne "true" ) { $username="" }
if ( $config{'has_systemusers'} ne "true") { $sysuser="" }
if ($username eq "" && $sysuser eq "" ) {
&footHere;
exit;
}
$userou=$in{userou};
$organizationname="";
$dn_ou="";
$ens_ou="";
%h_ou=&list_ous();
if ( $h_ou{$userou}->{'alias'} ne $userou ) {
$err_msg=$text{'list_err'};
&footHere;
exit;
}
$dn_ou=$h_ou{$userou}->{'obj'};
$organizationname=$h_ou{$userou}->{'name'};
$ens_ou=$h_ou{$userou}->{'ens'};
$where="";
$email="";
if ($username) {
$ldap_server=1;
&connect ();
$password=$in{password};
# check is ou exist in LDAP
$dn=$config{ldap_base};
if ( $dn_ou ne "" ) {
$dn=$dn_ou.",".$config{ldap_base};
$cur_entry=&sel_ldap_obj($dn,"ou=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dn) {
@line=split(/,/, $dn_ou,-1);
$ouname=$line[0];
if ( &add_ou($dn) eq 0 ) {
if ( $config{ldap2_server}.length gt 0 ) {
$ldap_server=2;
&connect ();
if ( &add_ou($dn) ne 0 ) { &err_replication() }
}
} else { &html_errshow("ldap")};
}
}
if ( $dn_ou eq "" ) {
$dn = "cn=$username,".$config{ldap_base};
} else {
$dn = "cn=$username,$dn_ou,".$config{ldap_base};
}
$surname=$username;
if ( &add_usr() eq 0 ) {
if ( $config{ldap2_server}.length gt 0 ) {
$ldap_server=2;
&connect ();
if ( &add_usr() ne 0 ) { &err_replication() }
}
if ( $config{'ldap_log_name'} ne "" ) {
$lin_user="add::".$username."::".$password."::".$username."::".$dn;
&lock_file($config{'ldap_log_name'});
open(FILELDAPLOG, ">>$config{'ldap_log_name'}");
print FILELDAPLOG "$lin_user\n";
close (FILELDAPLOG);
&unlock_file($config{'ldap_log_name'});
&remote_file("write",$config{ldap_log_name},"ldap_log_name");
}
&webmin_log($config{'ldap_log_name'}, "usr", "write",$dn);
$str=$text{'user_made'}.$username." -> ".$dn;
&additional_log('addusr.cgi', "usr", $str);
} else { &html_errshow("ldap")};
}
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
if ( $username ) {
if ( $ens_ou eq "" ) {
$ens_obj = "cn=$username";
} else {
$ens_obj = "$ens_ou/cn=$username";
}
} elsif ( $sysuser ) {
if ( $ens_ou eq "" ) {
$ens_obj = "cn=$sysuser";
} else {
$ens_obj = "$ens_ou/cn=$sysuser";
}
}
$temp_f=$config{'tta_defaults_obj'};
%h_ttaobj=&load_ttaobj();
$user =$h_ttaobj{'user'}->{'value'};
$ntdomain =$h_ttaobj{'ntdomain'}->{'value'};
$bandwidth =$h_ttaobj{'bandwidth'}->{'value'};
$cdm =$h_ttaobj{'cdm'}->{'value'};
$enabled =$h_ttaobj{'enabled'}->{'value'};
$inherit =$h_ttaobj{'inherit'}->{'value'};
$shared =$h_ttaobj{'shared'}->{'value'};
$webtop =$h_ttaobj{'webtop'}->{'value'};
$conntype=$h_ttaobj{'conntype'}->{'value'};
$temp_f = &tempname();
open(TEMPF, ">$temp_f");
print TEMPF " --name \"".$config{tta_base}."/$ens_obj\" \\\n";
if ( $username ) {
print TEMPF " --surname \"$in{username}\" \\\n";
if ( $user ne "" ) {print TEMPF " --user \"$user\" \\\n"; }
} elsif ( $sysuser ) {
print TEMPF " --surname \"$sysuser\" \\\n";
print TEMPF " --user \"$sysuser\" \\\n";
}
if ( $ntdomain ne "" ) {print TEMPF " --ntdomain \"$ntdomain\"\\\n"; }
if ( $bandwidth ne "" ) {print TEMPF " --bandwidth \"$bandwidth\"\\\n"; }
if ( $cdm ne "" ) {print TEMPF " --cdm \"$cdm\"\\\n"; }
if ( $enabled ne "" ) {print TEMPF " --enabled \"$enabled\"\\\n"; }
if ( $shared ne "" ) {print TEMPF " --shared \"$shared\"\\\n"; }
if ( $inherit ne "" ) {print TEMPF " --inherit \"$inherit\"\\\n"; }
if ( $conntype ne "" ) { print TEMPF " --conntype \"$conntype\"\\\n"; }
if ( $webtop ne "" ) {print TEMPF " --webtop \"$webtop\"\\\n"; }
if ( $username ) {
print TEMPF " --description \"$in{username}\" \n";
} elsif ( $sysuser ) {
print TEMPF " --description \"$sysuser\" \n";
}
close(TEMPF);
if ( $tta_norun eq "true" ) { $type_cmd = "no_run $type_cmd"; };
if (&run_tta_cmd($type_cmd,$ens_obj,$temp_f)) {
print "</td></tr></pre>\n";
} else { &html_errshow("tta")};
if ($sysuser ne "" ) {
%h_sysusers=&list_sysusers();
if ( $h_sysusers{$sysuser}->{name} eq $sysuser ) {
$err_msg="$sysuser -- $text{'list_err'}";
&footHere;
exit;
}
$maxsess=$config{default_maxsess};
$lin_sysuser=$sysuser."::".$userou."::".$ens_obj."::".$maxsess."::".$email."::".$where."::";
&out_objslist( "add", "addusr.cgi", "sysusers", "sysusers_list", $sysuser, $lin_sysuser, undef );
if ( $syncuser eq "true" ) { &make_remote_user("add",$sysuser); }
}
if ( $username ) {
print "<tr $cb><td><b>".$text{'user_made'}.$username." -> ".$in{userou}."</b></td></tr>\n";
} elsif ( $sysuser ) {
print "<tr $cb><td><b>".$text{'user_made'}.$sysuser." -> ".$in{userou}."</b></td></tr>\n";
}
if ( $config{'is_ldapcache'} eq "true" && $in{tta3tier_login} ) {
$dnldap = "default";
$default_obj="cn=$config{ldapcache_defaultobj}";
if ( $username ) {
$dn = "ou=$username";
} else {
$dn = "ou=$sysuser";
}
if ( $dn_ou ne "" ) { $dn .= ",$dn_ou"; }
$ldapcache_server=1;
&connect_cache ();
@tta3tier=&set_tta3tier($default_obj,$dn,$dnldap,"add","user");
if ( &cache_obj(\%tta3tier) ne 0 ) {
&html_errshow("ldap");
&footHere; exit;
};
if ( $config{ldapcache2_server}.length gt 0 ) {
$ldapcache_server=2;
&connect_cache ();
if ( &cache_obj(\%tta3tier) ne 0 ) { &err_replication() }
}
}
print "<tr></tr>\n";
# this change has to be done as IE was unable to get some hidden values ????
print "<tr><form METHOD=POST name=addusr ACTION=\"tta_modusr.cgi?postform=addusr&username=$username&userou=$userou&sysuser=$sysuser&syncuser=$syncuser\" >\n";
# print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"addusr\"\n";
# print " <input TYPE=\"hidden\" NAME=\"username\" VALUE=\"",$username,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"sysuser\" VALUE=\"",$sysuser,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"syncuser\" VALUE=\"",$syncuser,"\"\n";
# print " <input TYPE=\"hidden\" NAME=\"userou\" VALUE=\"",$userou,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"administrador\" VALUE=\"",$administrador,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn,"\">\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_modatt'},"\" VALUE=\"",$text{'f_modatt'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print " </form>\n";
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

30
stta/adm.acl Executable file
View File

@ -0,0 +1,30 @@
supervision=1
monitor=1
addgrpapps=1
stop=1
addou=1
sessions=1
replicate=1
global=1
passwdCache=1
addgrphosts=1
delgrpapps=1
backup=1
admin=1
delusr=1
delhostsuser=1
addhostsuser=1
addhosts=1
delou=1
passwd=1
alivehosts=1
addapps=1
noconfig=0
adddomains=1
delapps=1
addusr=1
feedback=1
deldomains=1
delgrphosts=1
delhosts=1
feedback=2

30
stta/admin.acl Executable file
View File

@ -0,0 +1,30 @@
delhostsuser=1
deldomains=1
addou=1
monitor=1
adddomains=1
delgrpapps=1
feedback=2
addusr=1
addgrpapps=1
passwdCache=1
delgrphosts=1
replicate=1
delapps=1
delou=1
supervision=1
addlinks=1
backup=1
addgrphosts=1
admin=1
stop=1
global=1
addhosts=1
delhosts=1
passwd=1
sessions=1
delusr=1
dellinks=1
addhostsuser=1
alivehosts=1
addapps=1

30
stta/admin.acl.old Executable file
View File

@ -0,0 +1,30 @@
delhostsuser=1
deldomains=1
addou=1
monitor=1
adddomains=1
delgrpapps=1
feedback=2
addusr=1
addgrpapps=1
passwdCache=1
delgrphosts=1
replicate=1
delapps=1
delou=1
supervision=1
addlinks=1
backup=1
addgrphosts=1
admin=1
stop=1
global=1
addhosts=1
delhosts=1
passwd=1
sessions=1
delusr=1
dellinks=1
addhostsuser=1
alivehosts=1
addapps=1

134
stta/app-lib.pl Executable file
View File

@ -0,0 +1,134 @@
#!/usr/bin/perl
# app-lib.pl
# Common functions.
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
$main::config{'app_types_def'}="app_types.def";
sub get_tta_app_path
{
local $ttavers=&get_ttaversion();
if ( $ttavers =~ / 3.2/ ) {
return "$root_directory/$module_name/install/tta/objects/3.2";
} elsif ( $ttavers =~ / 3.3/ ) {
return "$root_directory/$module_name/install/tta/objects/3.3";
} elsif ( $ttavers =~ / 3.4/ ) {
return "$root_directory/$module_name/install/tta/objects/3.4";
}
return "";
}
sub load_tta_apptypes
{
local $file_path=&get_tta_app_path();
local %h_tta_apps=();
&read_file("$file_path/$config{'app_types_def'}", \%h_tta_apps);
foreach $l (@lang_order_list) {
&read_file("$file_path/$config{'app_types_def'}.$l", \%h_tta_apps);
}
return %h_tta_apps;
}
# get_tta_appdef($tta_AppType)
sub get_tta_appdef
{
local $file_path=&get_tta_app_path();
local @appdef=();
local $datafile_path="$file_path/$_[0]";
foreach $l (@lang_order_list) {
if ( -r "$file_path/$_[0].$l") {
$datafile_path="$file_path/$_[0].$l";
last ;
}
}
open(LOG, $datafile_path) || return @appdef ;
local $newAtt=0;
local $lineHelp="";
local $line="";
local $nameAtt="";
local $nameOps="";
local $opsType="";
local $lineHelp="";
while(<LOG>) {
s/\r|\n//g;
$line=$_;
if ( $debug eq 2 ) { print "<tr><td><pre>$_</pre></td></tr>"; }
if ( $_ =~ /^ --(.*)/ ) {
if ( $newAtt eq 1 ) {
push(@appdef, { 'att' => $nameAtt,
'need' => $needAtt,
'ops' => $nameOps,
'opstype' => $opsType,
'line' => $lineHelp,
'value' => "",
'num' => scalar(@appdef) });
}
$newAtt=1;
$nameAtt=$1;
$nameOps=$1;
$needAtt=1;
$lineHelp="";
if ( $nameAtt =~ /(\S+) (\S+)/ ) {
$nameAtt=$1;
$nameOps=$2;
$text=$nameOps;
$text=~ s/\|/\\|/g;
$_=~ s/ $text//;
}
$_=~ s/ --$nameAtt//;
if ( $nameOps =~ /<([^<]+)>/ ) {
$opsType="input";
} else { $opsType="select"; }
if ( $_ ne "" ) { $lineHelp=&stringClip($_,"lead"); }
if ( $debug eq 2 ) { print "<tr><td><pre>($nameAtt)--($nameOps)--$opsType- $lineHelp </pre></td></tr>";}
next;
} elsif ( $_ =~ /^ \[--(.*)\]/ ) {
if ( $newAtt eq 1 ) {
push(@appdef, { 'att' => $nameAtt,
'need' => $needAtt,
'ops' => $nameOps,
'opstype' => $opsType,
'line' => $lineHelp,
'value' => "",
'num' => scalar(@appdef) });
}
$newAtt=1;
$nameAtt=$1;
$nameOps=$1;
$needAtt=0;
$lineHelp="";
if ( $nameAtt =~ /(\S+) (\S+)/ ) {
$nameAtt=$1;
$nameOps=$2;
$text=$nameOps;
$text=~ s/\|/\\|/g;
$_=~ s/ $text//;
}
$_=~ s/ \[--$nameAtt//;
$_=~ s/\]//;
if ( $nameOps =~ /<([^<]+)>/ ) {
$opsType="input";
} else { $opsType="select"; }
if ( $_ ne "" ) { $lineHelp=&stringClip($_,"lead"); }
if ( $debug eq 2 ) { print "<tr><td><pre>($nameAtt)--($nameOps)--$opsType- $lineHelp </pre></td></tr>"; }
next;
} else {
if ( $newAtt eq 1 && $_ ne "" ) { $lineHelp .= " ".&stringClip($line,"lead"),"<br>\n" ; }
}
}
close(LOG);
if ( $newAtt eq 1 ) {
push(@appdef, { 'att' => $nameAtt,
'need' => $needAtt,
'ops' => $nameOps,
'opstype' => $opsType,
'line' => $lineHelp,
'value' => "",
'num' => scalar(@appdef) });
}
return @appdef;
}
1; # Return true

404
stta/base-lib.pl Executable file
View File

@ -0,0 +1,404 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# Lib Common
# Just in case NO WEBMIN (web-lib.pl, etc.) are loaded ...
# Some variables are needed and set here, will be reassigned later
# Globals ...
# Some functions are hooks
# others are empty to avoid full Webmin code for line command execution
# Vital libraries
use Socket;
#use SelfLoader;
$stta_sid="";
# Read Config File
sub initialize () {
$no_out=$config{output_cgis};
$scriptname=$tool_name;
&read_file("$config_directory/config", \%gconfig);
if ( $gconfig{lang} && $gconfig{lang} ne "" ) { $current_lang=$gconfig{lang} }
&read_file("$config_directory/miniserv.conf", \%gconfig);
$module_name="stta";
$root_directory=$gconfig{root};
}
sub start_debug () {
if ( $debug gt 0 ) {
if ( !$DebugFile ) { $DebugFile=$config{stta_debugname}.$tool_name.".log";}
open(DebugLog, ">>$DebugFile");
if ( !DebugLog) { $debug=0 };
}
}
# Read Module Text
# load_language([module])
# Returns a hashtable mapping text codes to strings in the appropriate language
sub load_language
{
local %text;
if ($module_name) {
local $mod = $_[0] ? "../$_[0]" : ".";
&read_file("../lang/$default_lang", \%text);
&read_file("../lang/$current_lang", \%text);
&read_file("$mod/lang/$default_lang", \%text);
&read_file("$mod/lang/$current_lang", \%text);
}
else {
&read_file("lang/$default_lang", \%text);
&read_file("lang/$current_lang", \%text);
if ($_[0]) {
&read_file("$_[0]/lang/$default_lang", \%text);
&read_file("$_[0]/lang/$current_lang", \%text);
}
}
foreach $k (keys %text) {
$text{$k} =~ s/\$([A-Za-z0-9\.\-\_]+)/text_subs($1,\%text)/ge;
}
return %text;
}
sub text_subs
{
local $t = $_[1]->{$_[0]};
return defined($t) ? $t : '$'.$_[0];
}
# text(message, [substitute]+)
sub text
{
local $rv = $text{$_[0]};
local $i;
for($i=1; $i<@_; $i++) {
$rv =~ s/\$$i/$_[$i]/g;
}
return $rv;
}
# read_file(file, &assoc, [&order], [lowercase])
# Fill an associative array with name=value pairs from a file
sub read_file
{
open(ARFILE, $_[0]) || return 0;
while(<ARFILE>) {
s/\r|\n//g;
if (!/^#/ && /^([^=]+)=(.*)$/) {
$_[1]->{$_[3] ? lc($1) : $1} = $2;
push(@{$_[2]}, $1) if ($_[2]);
}
}
close(ARFILE);
return 1;
}
# write_file(file, array)
# Write out the contents of an associative array as name=value lines
sub write_file
{
local(%old, @order);
&read_file($_[0], \%old, \@order);
open(ARFILE, ">$_[0]");
foreach $k (@order) {
print ARFILE $k,"=",$_[1]->{$k},"\n" if (exists($_[1]->{$k}));
}
foreach $k (keys %{$_[1]}) {
print ARFILE $k,"=",$_[1]->{$k},"\n" if (!exists($old{$k}));
}
close(ARFILE);
}
sub lock_file
{
return 1;
}
sub unlock_file
{
return 1;
}
# get_module_acl([user], [module])
# Returns an array containing access control options for the given user
sub get_module_acl
{
local %rv;
local $u = defined($_[0]) ? $_[0] : $base_remote_user;
local $m = defined($_[1]) ? $_[1] : $module_name;
&read_file($module_name ? "../$m/defaultacl" : "./$m/defaultacl", \%rv);
if ($gconfig{"risk_$u"} && $m) {
local $rf = $gconfig{"risk_$u"}.'.risk';
&read_file($module_name ? "../$m/$rf" : "./$m/$rf", \%rv);
local $sf = $gconfig{"skill_$u"}.'.skill';
&read_file($module_name ? "../$m/$sf" : "./$m/$sf", \%rv);
}
else {
&read_file("$config_directory/$m/$u.acl", \%rv);
}
return %rv;
}
# webmin_log(action, type, object, &params, [module])
# Log some action taken by a user
sub webmin_log
{
return if (!$config{'stta_logname'});
local $m = $_[4] ? $_[4] : $module_name;
#local $m_logfile=$config{'stta_logname'}.$tool_name.".log";
local $m_logfile="/var/webmin/webmin.log";
#$m="$tool_name ($m)";
$m="tarantella";
# log the action
local $now = time();
local @tm = localtime($now);
local $script_name = $0 =~ /([^\/]+)$/ ? $1 : '-';
local $id = sprintf "%d.%d.%d",
$now, $$, $main::action_id_count;
$stta_sid=$id;
$main::action_id_count++;
local $line = sprintf "%s [%2.2d/%s/%4.4d %2.2d:%2.2d:%2.2d] %s %s %s %s %s \"%s\" \"%s\" \"%s\"",
$id, $tm[3], $text{"smonth_".($tm[4]+1)}, $tm[5]+1900,
$tm[2], $tm[1], $tm[0],
$remote_user, $main::session_id ? $main::session_id : '-',
$ENV{'REMOTE_HOST'},
$m, $script_name,
$_[0], $_[1] ne '' ? $_[1] : '-', $_[2] ne '' ? $_[2] : '-';
foreach $k (sort { $a cmp $b } keys %{$_[3]}) {
local $v = $_[3]->{$k};
if ($v eq '') {
$line .= " $k=''";
}
elsif (ref($v) eq 'ARRAY') {
foreach $vv (@$v) {
next if (ref($vv));
$vv =~ s/(['"\\\r\n\t\%])/sprintf("%%%2.2X",ord($1))/ge;
$line .= " $k='$vv'";
}
}
elsif (!ref($v)) {
foreach $vv (split(/\0/, $v)) {
$vv =~ s/(['"\\\r\n\t\%])/sprintf("%%%2.2X",ord($1))/ge;
$line .= " $k='$vv'";
}
}
}
if ( $debug gt 0 ) {
print DebugLog $line,"\n";
} else {
open(WEBMINLOG, ">>$m_logfile");
print WEBMINLOG $line,"\n";
close(WEBMINLOG);
}
}
# additional_log(type, object, data)
# Records additional log data for an upcoming call to webmin_log, such
# as command that was run or SQL that was executed.
sub additional_log
{
return if (!$config{'stta_logname'});
webmin_log($_[0],$_[1],$_[2],$_[3],$_[4]);
}
sub endclose_debug
{
print DebugLog "----------------------------------------------\n";
close (DebugLog);
}
# error([message]+)
# Display an error message and exit. The variable $whatfailed must be set
# to the name of the operation that failed.
sub error
{
if ( $debug gt 0 ) {
print DebugLog "$text{'error'}: ";
print DebugLog ($whatfailed ? "$whatfailed : " : ""),@_,"\n";
}
if ( $debug gt 0 ) { &endclose_debug(); }
exit;
}
sub SrvError
{
print DebugLog @_,"\n";
if ( $debug gt 0 ) { &endclose_debug(); }
exit;
}
# error_setup(message)
# Register a message to be prepended to all error strings
sub error_setup
{
$whatfailed = $_[0];
}
# unique
# Returns the unique elements of some array
sub unique
{
local(%found, @rv, $e);
foreach $e (@_) {
if (!$found{$e}++) { push(@rv, $e); }
}
return @rv;
}
# seed_random()
# Seeds the random number generator, if needed
sub seed_random
{
if (!$main::done_seed_random) {
if (open(RANDOM, "/dev/urandom")) {
local $buf;
read(RANDOM, $buf, 4);
close(RANDOM);
srand(time() ^ $$ ^ $buf);
}
else {
srand(time() ^ $$);
}
$main::done_seed_random = 1;
}
}
# tempname([filename])
# Returns a mostly random temporary file name
sub tempname
{
local $tmp_dir = "/tmp/.webmin";
while(1) {
local @st = lstat($tmp_dir);
last if (!$st[4] && !$st[5] && $st[2] & 0x4000 &&
($st[2] & 0777) == 0755);
if (@st) {
unlink($tmp_dir) || rmdir($tmp_dir) ||
system("/bin/rm -rf \"$tmp_dir\"");
}
mkdir($tmp_dir, 0755) || next;
chown(0, 0, $tmp_dir);
chmod(0755, $tmp_dir);
}
if (defined($_[0]) && $_[0] !~ /\.\./) {
return "$tmp_dir/$_[0]";
}
else {
$main::tempfilecount++;
&seed_random();
return $tmp_dir."/".int(rand(1000000))."_".
$main::tempfilecount."_".$scriptname;
}
}
sub html_errshow
{
local $where_err = $_[0];
if ( !$DebugFile ) {
print DebugLog "$wher_err ($err) $stta_sid:".eval("\$text{'msgerr_$err'}")."\n";
}
}
# foreign_call(module, function, [arg]*)
# Call a function in another module
sub foreign_call
{
local $pkg = $_[0] ? $_[0] : "global";
$pkg =~ s/[^A-Za-z0-9]/_/g;
local @args = @_[2 .. @_-1];
$main::foreign_args = \@args;
local @rv = eval <<EOF;
#package $pkg;
&$_[1](\@{\$main::foreign_args});
EOF
if ($@) { &error("$_[0]::$_[1] failed : $@"); }
return wantarray ? @rv : $rv[0];
}
# safe_process_exec(command, uid, gid, handle, input, fixtags, bsmode)
# Executes the given command as the given user/group and writes all output
# to the given file handle. Finishes when there is no more output or the
# process stops running. Returns the number of bytes read.
sub safe_process_exec
{
# setup pipes and fork the process
local $chld = $SIG{'CHLD'};
pipe(OUTr, OUTw);
pipe(INr, INw);
local $pid = fork();
if (!$pid) {
#setsid();
untie(*STDIN);
untie(*STDOUT);
untie(*STDERR);
open(STDIN, "<&INr");
open(STDOUT, ">&OUTw");
open(STDERR, ">&OUTw");
$| = 1;
close(OUTr); close(INw);
if ($_[1]) {
if (defined($_[2])) {
# switch to given UID and GID
$( = $_[2]; $) = "$_[2] $_[2]";
($>, $<) = ($_[1], $_[1]);
}
}
# run the command
exec("/bin/sh", "-c", $_[0]);
# print "Exec failed : $!\n";
exit 1;
}
close(OUTw); close(INr);
# print "Exec $_[0]\n";
# Feed input (if any)
print INw $_[4];
close(INw);
# Read and show output
local $fn = fileno(OUTr);
local $got = 0;
local $out = $_[3];
local $line;
while(1) {
local ($rmask, $buf);
vec($rmask, $fn, 1) = 1;
local $sel = select($rmask, undef, undef, 1);
if ($sel > 0 && vec($rmask, $fn, 1)) {
# got something to read.. print it
sysread(OUTr, $buf, 1024) || last;
$got += length($buf);
if ($_[5]) {
$buf = &html_escape($buf);
}
if ($_[6]) {
# Convert backspaces and returns and escapes
$line .= $buf;
while($line =~ s/^([^\n]*\n)//) {
local $one = $1;
while($one =~ s/.\010//) { }
$out =~ s/\033[^m]+m//g;
print $out $one;
}
}
else {
print $out $buf;
}
}
elsif ($sel == 0) {
# nothing to read. maybe the process is done, and a subprocess
# is hanging things up
last if (!kill(0, $pid));
}
}
close(OUTr);
print $out $line;
return $got;
}
1; # Return true

180
stta/brandmgr.pl Executable file
View File

@ -0,0 +1,180 @@
#!/usr/bin/perl
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
$debug=2;
$do_reload = $ARGV[0];
#if ( $do_reload eq "?" || $do_reload eq "help" | $do_reload eq "-h" ) {
# print "brandmgr: \"$task_type\" unknown option task \n";
# print "brandmgr [ -r | reload | true]\n";
# exit 1;
#};
# where is config file for parameters .... (same as Webmin)
$config_directory="/etc/webmin";
do './base-lib.pl';
do './global-lib.pl';
do './lists-lib.pl';
do './print-lib.pl';
do './html-lib.pl';
$tool_name="brandmgr";
$tta_logfile="/tmp/.webmin/stta_log";
$default_lang = "en";
$current_lang = "en";
$module_name = "stta";
$remote_user="admin";
$session_id="$$";
$hostname=`hostname`;
$hostname=~s/\n//g;
$ENV{'REMOTE_HOST'}=$hostname;
$action_id_count=0;
%ttaprops=();
@ttahosts=();
%sttaparams=();
$cginame= $0 =~ /([^\/]+)$/ ? $1 : '-';
$ldap_ok=true;
$ldapcache_ok=true;
$tta_ok=true;
$ENV{'WEBMIN_CONFIG'}="/etc/webmin/config";
&initialize();
&load_dataconf();
&start_debug();
%access = &get_module_acl();
%text = &load_language();
# globals to keep STTA info
%ttaprops=();
@ttahosts=();
%sttaparams=();
$ldap_ok=true;
$ldapcache_ok=true;
$tta_ok=true;
$hostname = `hostname`;
$hostname =~ s/\r|\n//g;;
#$ver = `uname -a`;
$ostr = `uname -a`;
$ostr =~ s/\r|\n//g;
%access = &get_module_acl();
%ttaprops=();
@ttahosts=();
%sttaparams=();
$cginame= $0 =~ /([^\/]+)$/ ? $1 : '-';
$ldap_ok=true;
$ldapcache_ok=true;
$tta_ok=true;
$button_lock=0;
@access_types = $access{'types'} eq '*' ? (0 .. 100)
: split(/\s+/, $access{'types'});
map { $access_types{$_}++ } @access_types;
$debug=$config{debug_code};
$debug=3;
$task=$in{task} || "";
$fileName=$in{file} || "" ;
$brandid=$in{brandid} || "" ;
$password=$in{password} || "" ;
$now = time();
$passData=`cat $root_directory/$module_name/install/.passwd 2>/dev/null`;
$passData=~ s/\r|\n//g;
if ( ! $access{'global'} || $access{'admin'} ne 1) { $redir="stta" };
if ( $redir ne "" ) {
print "<h1>$text{'brand_list'}</h1>";
exit;
}
$ahora=&set_now();
print "<table border=0><tr><td $cb><h1>$text{'brand_list'}<h1></td>></tr></table>";
local %minfo=&load_minfo("$root_directory/$module_name/");
sub out_debuglog
{
if ( $debug gt 0 ) { print DebugLog "@_ \n"; }
}
sub err_file_open
{
print "$text{f_error} $fileName";
exit;
}
&out_debuglog("# -> $ahora");
print "<table width=100% border>\n";
print "<tr $tb> <td valig=top><font color='$revtext'><b> $text{'titidx_brandmgr'}</b>";
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>\n";
print "Webmin - $hostname - $ostr";
&out_debuglog("Webmin - $hostname - $ostr ");
print "</td></td> </tr>\n";
print "<tr><td><b> $minfo{name} -- $minfo{version} -- $minfo{brand} -- $minfo{stamp} </b></td></tr>\n";
&out_debuglog(" $minfo{name} -- $minfo{version} -- $minfo{brand} -- $minfo{stamp}");
&out_debuglog("_______________________________________________");
print "<tr><td><table width=100% >\n";
print "<tr $tb>\n";
print "<td><font color='$revtext'><center><B>".$text{f_filelistName} . "</B></center></font></td>\n";
print "<td><font color='$revtext'><center><B>".$text{f_fsize} . "</B></center></font></td>\n";
print "<td><font color='$revtext'><center><B>".$text{brand_data} . "</B></center></font></td>\n";
print "<td><font color='$revtext'><center><B>".$text{brand_desc} . "</B></center></font></td>\n";
%h_brandInfo=&load_brandinfo();
$lins=0;
$touchFiles=0;
foreach $item (keys (%h_brandInfo)) { push (@brandInfoList,$h_brandInfo{$item}); }
@brandInfo = sort {$a->{fname} cmp $b->{fname}} @brandInfoList;
$brand_warn="0";
$totSize=0;
foreach $item (@brandInfo) {
$lins++;
my @st = stat("$root_directory/$item->{fname}");
my $data_check=&check_brand_data($item->{fname});
if ( $st[7] ne $item->{'size'} || $data_check eq "false" ) {
print "<tr $cb>";
print "<td><b>$item->{'fname'}</b></td>";
&out_debuglog("$item->{'fname'} - $item->{'size'} != $st[7] - $item->{'brand'} - $item->{'descrip'}");
} else {
print "<tr background=\"$config{'bgimage'}\">";
print "<td>$item->{'fname'}</td>";
}
if ( $st[7] ne $item->{'size'} || $data_check eq "false" ) { print "<td>"; }
if ( $st[7] ne $item->{'size'} ) {
$n=0;
$n= $n + $item->{'size'};
$n= $st[7] - $n;
print " $item->{'size'} != $st[7] = $n ";
$totSize=$totSize + $n;
}
if ( $data_check eq "false" ) { print " $text{changed} ";}
if ( $st[7] ne $item->{'size'} || $data_check eq "false" ) {
print "</td>";
$brand_warn="1";
$touchFiles++;
} else {
print "<td>$item->{'size'}</td>";
}
print "<td>";
if ( $st[7] ne $item->{'size'} ) { print "<b>" }
print $item->{'brand'};
if ( $st[7] ne $item->{'size'} ) { print "</b>" }
print "</td>";
print "<td>";
if ( $st[7] ne $item->{'size'} ) { print "<b>" }
print $item->{'descrip'};
if ( $st[7] ne $item->{'size'} ) { print "</b>" }
print "</td>";
print "</tr>\n";
}
print "</table></td></tr><p>\n";
print "<tr><tr></table></table><p>\n";
print "<p><tr><td><b> ".&text('l_total',$lins)."</b></td><td><p>\n";
&out_debuglog("_______________________________________________");
&out_debuglog(&text('l_total',$lins));
if ( $brand_warn eq "1" ) {
print "<table border><tr><td $cb><font size=+1><b>".&text("msgerr_brandinfo",$touchFiles)."</b> &nbsp;&nbsp;&nbsp;&nbsp; $totSize $text{changed}</font></td></tr></table><br>";
&out_debuglog(&text("msgerr_brandinfo",$touchFiles));
}
print "<h2>$ahora</h2>\n";
if ( $debug gt 0 ) { &endclose_debug(); }
exit;

173
stta/cache_addapps.cgi Executable file
View File

@ -0,0 +1,173 @@
#!/usr/bin/perl
# cache_addapp.cgi
# Add APP objects
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do 'app-lib.pl';
&ReadParse();
&headerstta($text{'index_addapp'}, "","addapp" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
#if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
$tta_AppType= $in{ttaapptype};
%h_tta_apps=&load_tta_apptypes();
if ( ! defined ($h_tta_apps{$tta_AppType}) || $h_tta_apps{$tta_AppType} eq "" ) {
$tta_AppType="";
@appdef=();
$ttacmd="";
} else {
if ( $tta_AppType =~ /windows/ ) { $tta3tier_domain=$config{cache_domain}; }
@appdef=&get_tta_appdef($tta_AppType);
$ttacmd="new_".$tta_AppType;
$temp_f=$config{stta_defslist}."/".$tta_AppType."-defaults";
if ( -r $temp_f ) {
%h_ttaobj=&load_ttaobj();
&read_file("$root_directory/$module_name/dataconf/map_vars", \%h_map);
%h_hosts=&list_hosts(4);
foreach $data (@appdef) {
$i=$data->{att};
next if ( ! defined($h_ttaobj{$i}{value}) || $h_ttaobj{$i}{value} eq "" );
if ( $i eq "appserv" ) {
$hosts_list ="";
foreach $h (split(/,/, $h_ttaobj{$i}{value})) {
$h=~ s/$config{tta_base}\///g;
if ( $hosts_list ne "" ) { $hosts_list .= "\n" }
$hosts_list .=$h_hosts{$h}->{alias};
}
$data->{'value'} = $hosts_list;
} else {
$ens_map="ens_".$i."_".$h_ttaobj{$i}{value};
if ( defined($h_map{$ens_map}) ) {
$data->{'value'} = $h_map{$ens_map};
} else {
$data->{'value'} = $h_ttaobj{$i}{value};
}
}
}
}
}
$grpapps=$in{grpapps};
$ntdomain="";
$maxsess=$config{default_maxsess};
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
if ( $tta_AppType ne "" ) {
&htmlCheckAlias("apps");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
}
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
if ( $tta_AppType ne "" ) {
print " if ( get_value(\"select\",obj.grpapps) == \"none\" ) {\n";
print " alert(obj.grpapps.name+\":\"+msg1);\n";
print " obj.grpapps.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.appname) == true ) {\n";
print " alert(obj.appname.name+\":\"+msg1+\"->\"+obj.appname.value+\"<-\");\n";
print " obj.appname.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.aliasapp) == true ) {\n";
print " alert(obj.aliasapp.name+\":\"+msg1+\"->\"+obj.aliasapp.value+\"<-\");\n";
print " obj.aliasapp.focus();\n";
print " return false;\n";
print " } \n";
print " if ( checkAlias_apps(obj.aliasapp) == true ) {\n";
print " return false;\n";
print " } \n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
&out_tta_app_js(@appdef);
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " if ( get_value(\"select\",obj.grpapps) != \"none\" ) {\n";
print " return confirm(obj.appname.value+msg7+get_value('select',obj.grpapps));\n";
print " } \n";
print "\n";
} else {
print " if ( get_value(\"select\",obj.ttaapptype) == \"none\" ) {\n";
print " alert(obj.ttaapptype.name+\":\"+msg1);\n";
print " obj.ttaapptype.focus();\n";
print " return false;\n";
print " } \n";
}
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adapp'}</b> -- $h_tta_apps{$tta_AppType} --</td> </tr>\n";
if ( $tta_AppType ne "" ) {
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=newapp ACTION=\"addapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttaapptype\" VALUE=\"",$tta_AppType,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"appname\" VALUE=\"\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left ></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpapps'}</b>","fgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"grpapps\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
%h_grpapps=&list_grpapps();
&out_htmlselobj(\%h_grpapps,"descrip","alias",$grpapps);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].grpapps; ifield = document.forms[0].grpapps.options[document.forms[0].grpapps.selectedIndex]; if ( ifield.value == \"$grpapps\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print "</tr>";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasapp'}</b>","faliasapp"),"&nbsp;</td>\n";
print " <td valign=top> <input TYPE=\"text\" NAME=\"aliasapp\" VALUE=\"\" cols=\"12\" size=\"12\" ALIGN=left onChange=\"checkAlias_apps(this)\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\"></td></tr>\n";
print " <tr><td>",&hlink("<b>$text{'f_norunttacmd'}</b>","fnorunttacmd"),"</td>\n";
print " <td><input type=\"checkbox\" name=\"ttanorun\" value=\"true\" ></td></tr>\n";
print "</table></td></tr>\n";
print "<tr $cb><td><b>$text{tta_obj}</b> -- $h_tta_apps{$tta_AppType} -- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$text{msg_fieldsreq}</td></tr>\n";
print "<tr $cb> <td><table width=100% border=1 >\n";
&out_tta_appform(@appdef);
print "</td></tr></table></td></tr>\n";
print "<tr $cb> <td><table width=100%>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="newapp";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
} else {
print "<tr $cb> <td><table align=left>\n";
print "<form METHOD=POST name=newapp ACTION=\"cache_addapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
&sel_tta_app();
}
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

109
stta/cache_adddomains.cgi Executable file
View File

@ -0,0 +1,109 @@
#!/usr/bin/perl
# cache_adddomains.cgi
# Add Domain Objects
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_adddomain'}, "","adddomain" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
$ttacmd="new_domain";
$ntdomain="";
$maxsess=$config{default_maxsess};
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
&htmlCheckAlias("domains");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.grpdomains) == \"none\" ) {\n";
print " alert(obj.grpdomains.name+\":\"+msg1);\n";
print " obj.grpdomains.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.domainname) == true ) {\n";
print " alert(obj.domainname.name+\":\"+msg1+\"->\"+obj.domainname.value+\"<-\");\n";
print " obj.domainname.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.aliasdomain) == true ) {\n";
print " alert(obj.aliasdomain.name+\":\"+msg1+\"->\"+obj.aliasdomain.value+\"<-\");\n";
print " obj.aliasdomain.focus();\n";
print " return false;\n";
print " } \n";
print " if ( checkAlias_domains(obj.aliasdomain) == true ) {\n";
print " return false;\n";
print " } \n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " if ( get_value(\"select\",obj.grpdomains) != \"none\" ) {\n";
print " return confirm(obj.domainname.value+msg7+get_value('select',obj.grpdomains));\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_addomain'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=newdomain ACTION=\"adddomains.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domainobjname'}</b>","fdomainobjname"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"domainname\" VALUE=\"\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpdomains'}</b>","fgrpdomains"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"grpdomains\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecdomain'}</b>","fselecdomain"),"\n";
%h_domains=&list_domains();
&out_htmlselobj(\%h_domains,"descrip","alias",$grpdomains);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].grpdomains; ifield = document.forms[0].grpdomains.options[document.forms[0].grpdomains.selectedIndex]; if ( ifield.value == \"$grpdomains\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=domains&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print "</tr>";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasdomain'}</b>","faliasdomain"),"&nbsp;</td>\n";
print " <td valign=top> <input TYPE=\"text\" NAME=\"aliasdomain\" VALUE=\"\" cols=\"12\" size=\"12\" ALIGN=left onChange=\"checkAlias_domains(this)\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\"></td></tr>\n";
print " <tr><td>",&hlink("<b>$text{'f_norunttacmd'}</b>","fnorunttacmd"),"</td>\n";
print " <td><input type=\"checkbox\" name=\"ttanorun\" value=\"true\" ></td></tr>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="newdomain";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

110
stta/cache_addgrpapps.cgi Executable file
View File

@ -0,0 +1,110 @@
#!/usr/bin/perl
# tta_addgrpapps.cgi
# Add GRP APPS
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&headerstta($text{'index_addgrpapps'}, "","addgrpapps" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
#if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
&ReadParse();
$grpapps=$in{grpapps};
$ttacmd="new_orgunit";
$ntdomain="";
$maxsess=$config{default_maxsess};
$grpapps=$in{grpapps};
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
&htmlCheckAlias("grpapps");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.grpapps) == \"none\" ) {\n";
print " alert(obj.grpapps.name+\":\"+msg1);\n";
print " obj.grpapps.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.grpappsname) == true ) {\n";
print " alert(obj.grpappsname.name+\":\"+msg1+\"->\"+obj.grpappsname.value+\"<-\");\n";
print " obj.grpappsname.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.aliasgrpapps) == true ) {\n";
print " alert(obj.aliasgrpapps.name+\":\"+msg1+\"->\"+obj.aliasgrpapps.value+\"<-\");\n";
print " obj.aliasgrpapps.focus();\n";
print " return false;\n";
print " } \n";
print " if ( checkAlias_grpapps(obj.aliasgrpapps) == true ) {\n";
print " return false;\n";
print " } \n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " if ( get_value(\"select\",obj.grpapps) != \"none\" ) {\n";
print " return confirm(obj.grpappsname.value+msg7+get_value('select',obj.grpapps));\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adgrpapps'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=newgrpapps ACTION=\"addgrpapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpappsobjname'}</b>","fgrpappsobjname"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"grpappsname\" VALUE=\"\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpapps'}</b>","fgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"grpapps\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
%h_grpapps=&list_grpapps();
&out_htmlselobj(\%h_grpapps,"descrip","alias",$grpapps);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].grpapps; ifield = document.forms[0].grpapps.options[document.forms[0].grpapps.selectedIndex]; if ( ifield.value == \"$grpapps\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n";
print " <td valign=top> <input TYPE=\"text\" NAME=\"aliasgrpapps\" VALUE=\"\" cols=\"12\" size=\"12\" ALIGN=left onChange=\"checkAlias_grpapps(this)\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\">\n";
print " <tr><td>",&hlink("<b>$text{'f_norunttacmd'}</b>","fnorunttacmd"),"</td>\n";
print " <td><input type=\"checkbox\" name=\"ttanorun\" value=\"true\" ></td></tr>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="newgrpapps";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

193
stta/cache_addobj.cgi Executable file
View File

@ -0,0 +1,193 @@
#!/usr/bin/perl
# cache_addobj.cgi
# Add LDAP Cache Objects
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
&headerstta($text{'index_addldapcache'}, "", "addldapcache",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "/******************************************************************\n";
print " testCookie(Obj,formObj)\n";
print " testCookie from form.\n";
print "*******************************************************************/\n";
print "function testCookie(obj,formObj) {\n";
print " if ( emptyField(obj) == true ) {\n";
print " val=getCookie(formObj.username.name);\n";
print " if ( val != formObj.username.value ) { \n";
print " obj.value=\"\"; \n";
print " } else { \n";
print " CheckCookie(obj);\n";
print " }\n";
print " } \n";
print "}\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( emptyField(obj.username) == true ) {\n";
print " if ( get_value(\"select\",obj.user_ou) == \"none\" ) {\n";
print " alert(\"error $text{'obj_origin'}\"+\":\"+msg1);\n";
print " obj.user_ou.focus();\n";
print " return false;\n";
print " } else { \n";
print " objValue=get_value(\"select\",obj.user_ou);\n";
print " } \n";
print " } else { \n";
print " objValue=obj.username.value; \n";
print " if ( emptyField(obj.userou) == true ) {\n";
print " alert(obj.username.value+\"->\"+obj.userou.name+\":\"+msg1);\n";
print " obj.userou.focus();\n";
print " return false;\n";
print " };\n";
print " if ( get_value(\"select\",obj.user_ou) != \"none\" ) {\n";
print " alert(\"error $text{'obj_origin'}\"+\":\"+msg1);\n";
print " obj.user_ou.focus();\n";
print " return false;\n";
print " } \n";
print " } \n";
print " if ( get_value(\"select\",obj.usergrphosts) == \"none\" ) {\n";
print " if ( get_value(\"select\",obj.hostname) == \"none\" ) {\n";
print " if ( get_value(\"select\",obj.grpappsname) == \"none\" ) {\n";
print " if ( get_value(\"select\",obj.appname) == \"none\" ) {\n";
print " if ( get_value(\"select\",obj.domain) == \"none\" ) {\n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " obj.usergrphosts.focus();\n";
print " return false;\n";
print " } \n";
print " } \n";
print " } \n";
print " } \n";
print " } \n";
print " onlyOne=false; \n";
print " if ( get_value(\"select\",obj.usergrphosts) != \"none\" ) {\n";
print " onlyOne=true; \n";
print " } \n";
print " if ( get_value(\"select\",obj.hostname) !== \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " if ( get_value(\"select\",obj.appname) != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " if ( get_value(\"select\",obj.grpappsname) != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " if ( get_value(\"select\",obj.domain) != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " if ( emptyField(obj.tta3tier_login) == true ) {\n";
print " alert(obj.tta3tier_login.name+\":\"+msg1+\"->\"+obj.tta3tier_login.value+\"<-\");\n";
print " obj.tta3tier_login.focus();\n";
print " return false;\n";
print " } \n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " return true;\n";
print "}\n";
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_addldapcache'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=addldapcache ACTION=\"addobj.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print "<tr><td valign=top><b>$text{'obj_origin'}</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_globaluser'}</b>","fglobaluser"),"&nbsp;",$in{'username'},"</td>";
print " <td valign=top>\n";
$msgObj=$text{'selusr_win'};
$formObj="addldapcache.username";
&htmlWinLdapUsers($msgObj,$formObj);
print " <input TYPE=\"text\" NAME=\"username\" VALUE=\"$username\" cols=\"22\" size=\"12\" onFocus=\"CheckCookie(this);\" onChange=\"addldapcache.userou.value=''\" >\n";
print " <input TYPE=\"text\" NAME=\"userou\" VALUE=\"$userou\" cols=\"22\" size=\"22\" onFocus=\"testCookie(this,addldapcache)\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_userou'}</b>","fuserou"),"&nbsp;</td><td valign=top><select NAME=\"user_ou\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecou'}</b>","fselecou"),"\n";
%h_ou=&list_ous();
&out_htmlselobj(\%h_ou,"descrip","alias",$user_ou);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].user_ou; ifield = document.forms[0].user_ou.options[document.forms[0].user_ou.selectedIndex]; if ( ifield.value == \"$user_ou\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=ou&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td></tr>\n";
print "<tr><td valign=top><b>$text{'obj_target'}</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"appname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecapp'}</b>","fselecapps"),"\n";
%h_app=&list_apps();
&out_htmlselobj(\%h_app,"descrip","alias",$appname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].appname; ifield = document.forms[0].appname.options[document.forms[0].appname.selectedIndex]; if ( ifield.value == \"$appname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=apps&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpapps'}</b>","fgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"grpappsname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
%h_grpapp=&list_grpapps();
&out_htmlselobj(\%h_grpapp,"descrip","alias",$grpappsname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].grpappsname; ifield = document.forms[0].grpappsname.options[document.forms[0].grpappsname.selectedIndex]; if ( ifield.value == \"$grpappsname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_hostname'}</b>","fhostname"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"hostname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selechosts'}</b>","fselechosts"),"\n";
print " <option VALUE=\"all\">". $text{'edit_all'}."\n";
%h_host=&list_hosts();
&out_htmlselobj(\%h_host,"descrip","alias",$hostname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].hostname; ifield = document.forms[0].hostname.options[document.forms[0].hostname.selectedIndex]; if ( ifield.value == \"$hostname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/host_chooser.cgi?multi=0&f=select&host=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"...\">\n";
print "<input type=button onClick='selfield = document.forms[0].hostname; ifield = document.forms[0].hostname.options[document.forms[0].hostname.selectedIndex]; if ( ifield.value == \"$hostname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=hosts&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_usergrphosts'}</b>","fusergrphosts"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"usergrphosts\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrphosts'}</b>","fselecgrphosts"),"\n";
%h_grphost=&list_grphosts();
&out_htmlselobj(\%h_grphost,"descrip","alias",$usergrphosts);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].usergrphosts; ifield = document.forms[0].usergrphosts.options[document.forms[0].usergrphosts.selectedIndex]; if ( ifield.value == \"$usergrphosts\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grphosts&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domain'}</b>","fdomain"),"</td>\n";
print " <td valign=top><select NAME=\"domain\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecdomain'}</b>","fselecdomains"),"\n";
%h_domain=&list_domains();
&out_htmlselobj(\%h_domain,"descrip","alias",$domain);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].domain; ifield = document.forms[0].domain.options[document.forms[0].domain.selectedIndex]; if ( ifield.value == \"$domain\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=domains&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="addldapcache";$msgObj=$text{'obj_params'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl\n";
exit;

69
stta/cache_delapps.cgi Executable file
View File

@ -0,0 +1,69 @@
#!/usr/bin/perl
# tta_delapps.cgi
# Delete Hosts
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$appname = $in{appname};
if (!$appname) { &redirect("cache_selapps.cgi?form=delapps"); }
$postform = $in{postform};
&headerstta($text{'index_delapp'}, "","delapp" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.appname) == \"none\" ) {\n";
print " alert(obj.appname.name+\":\"+msg1);\n";
print " obj.appname.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delapp'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=delapps ACTION=\"delapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"appname\" VALUE=\"$appname\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <td valign=top>\n";
%h_apps=&list_apps();
if ( $h_apps{$appname}->{'alias'} eq $appname) {
print " ".$h_apps{$appname}->{'name'}."(". $h_apps{$appname}->{'obj'}.")\n";
}
print " </td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

69
stta/cache_deldomains.cgi Executable file
View File

@ -0,0 +1,69 @@
#!/usr/bin/perl
# cache_deldomains.cgi
# Delete Domains from STTA
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$domainname = $in{domainname};
if (!$domainname) { &redirect("cache_seldomains.cgi?form=deldomains"); }
$postform = $in{postform};
&headerstta($text{'index_deldomain'}, "","deldomain" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.domainname) == \"none\" ) {\n";
print " alert(obj.domainname.name+\":\"+msg1);\n";
print " obj.domainname.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_deldomain'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=deldomains ACTION=\"deldomains.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domainobjname'}</b>","fdomainobjname"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"domainname\" VALUE=\"$domainname\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <td valign=top>\n";
%h_domains=&list_domains();
if ( $h_domains{$domainname}->{'alias'} eq $domainname) {
print " ".$h_domains{$domainname}->{'name'}."(". $h_domains{$domainname}->{'obj'}.")\n";
}
print " </td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

69
stta/cache_delgrpapps.cgi Executable file
View File

@ -0,0 +1,69 @@
#!/usr/bin/perl
# cache_delgrpapps.cgi
# Delete APPs Group
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$aliasgrpapps = $in{aliasgrpapps};
if (!$aliasgrpapps) { &redirect("cache_selgrpapps.cgi?form=delgrpapps"); }
$postform = $in{postform};
&headerstta($text{'index_delgrpapps'}, "","delgrpapps" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.aliasgrpapps) == \"none\" ) {\n";
print " alert(obj.aliasgrpapps.name+\":\"+msg1);\n";
print " obj.aliasgrpapps.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delgrpapps'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=delgrpapps ACTION=\"delgrpapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"aliasgrpapps\" VALUE=\"$aliasgrpapps\" cols=\"35\" size=\"35\" ALIGN=left></td></tr>\n";
print " <td valign=top>\n";
%h_grpapps=&list_grpapps();
if ( $h_grpapps{$aliasgrpapps}->{'alias'} eq $aliasgrpapps) {
print " ".$h_grpapps{$aliasgrpapps}->{'name'}."(". $h_grpapps{$aliasgrpapps}->{'obj'}.")\n";
}
print " </td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

163
stta/cache_delobj.cgi Executable file
View File

@ -0,0 +1,163 @@
#!/usr/bin/perl
# cache_delobj.cgi
# Delete Objects Cache
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
if (!$in{dn}) { &redirect("cache_selobj.cgi?form=delobj"); }
&headerstta($text{'index_delldapcache'}, "","delldapcache" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
do "ldap-lib.pl";
$lnro=$in{lnro};
$grpdn=$in{dn};
$dn_obj=$in{dn};
$grpdn=~s/,$config{ldapcache_base}//;
$dn_cache=$dn_obj;
# loading variables
$ldapcache_server=$in{ldapcacheserver} || "1";
&connect_cache();
if ( $lnro > -1 && $dn_cache !=~ /cn=/ ) {
$OuName=$grpdn;
$userou="default";
$objType="";
@lindn = split(/,/, $in{dn});
$NameUser=$lindn[0];
$OuName=$grpdn;
$OuName=~s/$NameUser,//;
$NameUser=$default_obj;
} else {
if ( &load_tta3tier_vars($dn_cache) ne 0 ) {
&html_errshow("ldap");
&footHere; exit ;
}
$userou=$tta3tier_oudn;
$objType="";
@lindn = split(/,/, $in{dn});
$NameUser=$lindn[0];
$OuName=$grpdn;
$OuName=~s/$NameUser,//;
$default_obj="cn=$config{ldapcache_defaultobj}" ;
}
if ( "$NameUser" ne "$default_obj" ) {
$dn="$NameUser,".$userou.",".$config{ldap_base};
$ldap_server=1;
# loading variables
&connect();
$cur_entry=&sel_ldap_obj($dn,"ou=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dn) {
$err_msg=" Error: $NameUser $userou\n";
&html_errshow("ldap");
&footHere; exit ;
}
%entryObj=&get_ldap_obj($dn,$cur_entry);
$mail = $entryObj{mail};
$sn = $entryObj{sn};
$displayname = $entryObj{displayname};
$lin_user="$sn -- $displayname";
} else {
$lin_user="DEFAULT";
}
if ($OuName) {
$CnName=$OuName;
if ( $origin ne "default") { $CnName=~s/$userou,//g; }
$objType="app";
$objDescrip=&scan_objdescrip(2,$objType,$OuName,$userou);
if ( "$objDescrip" eq "" ) {
$objType="grpapps";
$objDescrip=&scan_objdescrip(2,$objType,$OuName,$userou);
}
if ( "$objDescrip" eq "" ) {
$objType="host";
$CnName=$OuName;
$objDescrip=&scan_objdescrip(2,$objType,$CnName,$userou);
}
if ( "$objDescrip" eq "" ) {
$objType="grphosts";
$objDescrip=&scan_objdescrip(2,$objType,$CnName,$userou);
}
if ( "$objDescrip" ne "" ) {
if ( "$CnName" ne "" ) {
$lin_name="$objDescrip -- $CnName";
} else { $lin_name="$objDescrip -- $OuName"; }
} else { $objType=""; }
}
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delldapcache'}</b>: $in{desc}</td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=delldapcache ACTION=\"delobj.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn_obj,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"grpdn\" VALUE=\"",$grpdn,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"desc\" VALUE=\"",$in{desc},"\">\n";
print " <input TYPE=\"hidden\" NAME=\"NameUser\" VALUE=\"",$NameUser,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"lin_user\" VALUE=\"",$lin_user,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"lin_name\" VALUE=\"",$lin_name,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"objType\" VALUE=\"",$objType,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"lnro\" VALUE=\"",$lnro,"\">\n";
if ( $lnro ne -1 && $dn_cache =~ /cn=/ ) {
print "<tr><td valign=top><b>$text{'obj_origin'}</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_obj'}</b>","fobj"),"&nbsp;</td>\n";
print "<td valign=top><b>$NameUser --- $lin_user </b>&nbsp;</td></tr>\n";
print "<tr><td valign=top><b>$text{'obj_target'}</b>&nbsp;</td></tr>\n";
} else {
print "<tr> <td valig=top><b>$text{'titidx_delldapcache'}</b>\n";
print "<td valign=top><b> <big> $in{desc}</big></b>&nbsp; -> $grpdn </td></tr>\n";
}
if ( "$objType" eq "app" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
} elsif ( "$objType" eq "grpapps" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n"
} elsif ( "$objType" eq "host" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_hostname'}</b>","fhostname"),"&nbsp;</td>\n";
} elsif ( "$objType" eq "grphosts" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_usergrphosts'}</b>","fusergrphosts"),"&nbsp;</td>\n"
}
print "<td valign=top><b>$lin_name </b>&nbsp;</td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl\n";
exit;

247
stta/cache_filter.cgi Executable file
View File

@ -0,0 +1,247 @@
#!/usr/bin/perl
# cache_filter.cgi
# filter Users to Services with Tarantella
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$postform=$in{form};
$hostname=$in{hostname};
$appname=$in{appname};
$grpappsname=$in{grpappsname};
$hostname=$in{hostname};
$usergrphosts=$in{usergrphosts};
$domain=$in{domain};
$filter = "*";
if ( "$postform" eq "winldapusers" ) {
# &headerstta($text{'index_winldapusers'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
&headerstta("", "", $postform,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
} else {
&headerstta($text{'index_filter'}, "", "filter" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
};
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " ObjClass=get_value(\"select\",obj.objclass);\n";
print " if ( emptyField(obj.filter) == true ) {\n";
print " if ( ObjClass == \"none\" ) {\n";
print " alert(obj.filter.name+\":\"+msg1+\"->\"+obj.filter.value+\"<-\");\n";
print " obj.filter.focus();\n";
print " return false;\n";
print " };\n";
print " }; \n";
# print " if ( get_value(\"select\",obj.usergrphosts) == \"none\" ) {\n";
# print " if ( get_value(\"select\",obj.hostname) == \"none\" ) {\n";
# print " if ( get_value(\"select\",obj.grpappsname) == \"none\" ) {\n";
# print " if ( get_value(\"select\",obj.appname) == \"none\" ) {\n";
# print " if ( get_value(\"select\",obj.domain) == \"none\" ) {\n";
# print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
# print " obj.usergrphosts.focus();\n";
# print " return false;\n";
# print " } \n";
# print " } \n";
# print " } \n";
# print " } \n";
# print " } \n";
print " onlyOne=false; \n";
print " ObjValue=get_value(\"select\",obj.usergrphosts);\n";
print " if ( ObjValue != \"none\" ) {\n";
print " obj_value= ObjValue;\n";
print " obj.objectype.value= \"grphosts\";\n";
print " onlyOne=true; \n";
print " } \n";
print " ObjValue=get_value(\"select\",obj.hostname);\n";
print " if ( ObjValue != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " obj_value= ObjValue;\n";
print " obj.objectype.value= \"hosts\";\n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " ObjValue=get_value(\"select\",obj.appname);\n";
print " if ( ObjValue != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " obj_value= ObjValue;\n";
print " obj.objectype.value= \"apps\";\n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " ObjValue=get_value(\"select\",obj.grpappsname);\n";
print " if ( ObjValue != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " obj_value= ObjValue;\n";
print " obj.objectype.value= \"grpapps\";\n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " ObjValue=get_value(\"select\",obj.domain);\n";
print " if ( ObjValue != \"none\" ) {\n";
print " if ( onlyOne == true ) { \n";
print " alert(\"error $text{'obj_target'}\"+\":\"+msg1);\n";
print " return false;\n";
print " } else { \n";
print " obj_value= ObjValue;\n";
print " obj.objectype.value= \"domains\";\n";
print " onlyOne=true; \n";
print " } \n";
print " } \n";
print " if ( onlyOne == false ) { \n";
print " obj.base.value= \"".$config{ldapcache_base}."\";\n";
print " obj.objectype.value= \"all\";\n";
print " } else { \n";
print " ObjOUValue=get_value(\"select\",obj.userou);\n";
if ( $debug eq 2 ) { print " alert(obj_value); \n"; };
if ( $debug eq 2 ) { print " alert(ObjOUValue); \n"; };
print " if ( ObjOUValue != \"none\" ) {\n";
print " obj.base.value= ObjOUValue+\",\"+obj_value+\",".$config{ldapcache_base}."\";\n";
print " } else { \n";
print " obj.base.value= obj_value+\",".$config{ldapcache_base}."\";\n";
print " } \n";
print " } \n";
if ( $debug eq 1 ) { print " alert(obj.filter.value); \n"; };
if ( $debug eq 1 ) { print " alert(obj.base.value); \n"; };
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "<p>\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_cachefilter'} </b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=tta_filter ACTION=\"cache_selobj.cgi?form=$postform\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"base\" VALUE=\"\">\n";
print " <input TYPE=\"hidden\" NAME=\"objectype\" VALUE=\"\">\n";
print "<tr><td valign=top><b>$text{'obj_origin'}</b>&nbsp;</td></tr>\n";
print " <td valign=top>",&hlink("<b>$text{'f_filter'}</b>","ffilter"),"&nbsp;</td>";
print " <td valign=top><input TYPE=\"text\" NAME=\"filter\" VALUE=\"$filter\" cols=\"22\" size=\"12\" ALIGN=left >\n";
print " &nbsp;<select NAME=\"objclass\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecobjclass'}</b>","fselecobjclass"),"\n";
@l_objclass = split(/,/,$text{'dn_objclass'}, -1);
@l_tit_objclass = split(/,/,$text{'dn_tit_objclass'}, -1);
$nItems=0;
foreach $item (
@l_objclass) {
print " <option VALUE=\"$item\" ";
print ">$l_tit_objclass[$nItems]</b>\n";
$nItems++;
}
print " </select></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_userou'}</b>","fuserou"),"&nbsp;</td><td valign=top><select NAME=\"userou\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecou'}</b>","fselecou"),"\n";
%h_ou=&list_ous();
&out_htmlselobj(\%h_ou,"descrip","alias",$userou);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].userou; ifield = document.forms[0].userou.options[document.forms[0].userou.selectedIndex]; if ( ifield.value == \"$userou\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=ou&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_method'}</b>","fmethod"),"&nbsp;</td><td valign=top><select NAME=\"method\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecmethod'}</b>","fselecmethod"),"\n";
@l_methodby = split(/,/,$text{'dn_method'}, -1);
@l_methodtit = split(/,/,$text{'dn_tit_method'}, -1);
$nItems=0;
foreach $item (
@l_methodby) {
print " <option VALUE=\"$item\" ";
print ">$l_methodtit[$nItems]</b>\n";
$nItems++;
}
print " </select></td></tr>\n";
print "<tr><td valign=top><b>$text{'obj_target'}</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"appname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecapp'}</b>","fselecapps"),"\n";
%h_app=&list_apps();
&out_htmlselobj(\%h_app,"descrip","alias",$appname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].appname; ifield = document.forms[0].appname.options[document.forms[0].appname.selectedIndex]; if ( ifield.value == \"$appname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=apps&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpapps'}</b>","fgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"grpappsname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
%h_grpapp=&list_grpapps();
&out_htmlselobj(\%h_grpapp,"descrip","alias",$grpappsname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].grpappsname; ifield = document.forms[0].grpappsname.options[document.forms[0].grpappsname.selectedIndex]; if ( ifield.value == \"$grpappsname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_hostname'}</b>","fhostname"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"hostname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selechosts'}</b>","fselechosts"),"\n";
print " <option VALUE=\"all\">". $text{'edit_all'}."\n";
%h_host=&list_hosts();
&out_htmlselobj(\%h_host,"descrip","alias",$hostname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].hostname; ifield = document.forms[0].hostname.options[document.forms[0].hostname.selectedIndex]; if ( ifield.value == \"$hostname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/host_chooser.cgi?multi=0&f=select&host=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"...\">\n";
print "<input type=button onClick='selfield = document.forms[0].hostname; ifield = document.forms[0].hostname.options[document.forms[0].hostname.selectedIndex]; if ( ifield.value == \"$hostname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=hosts&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_usergrphosts'}</b>","fusergrphosts"),"&nbsp;</td>\n";
print " <td valign=top><select NAME=\"usergrphosts\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrphosts'}</b>","fselecgrphosts"),"\n";
%h_grphost=&list_grphosts();
&out_htmlselobj(\%h_grphost,"descrip","alias",$usergrphosts);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].usergrphosts; ifield = document.forms[0].usergrphosts.options[document.forms[0].usergrphosts.selectedIndex]; if ( ifield.value == \"$usergrphosts\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grphosts&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domain'}</b>","fdomain"),"</td>\n";
print " <td valign=top><select NAME=\"domain\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecdomain'}</b>","fselecdomains"),"\n";
%h_domain=&list_domains();
&out_htmlselobj(\%h_domain,"descrip","alias",$domain);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].domain; ifield = document.forms[0].domain.options[document.forms[0].domain.selectedIndex]; if ( ifield.value == \"$domain\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=domains&multi=0&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
print "<tr><td valign=top><b>-----------</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_orderby'}</b>","forderby"),"&nbsp;</td><td valign=top><select NAME=\"sort_on\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecord'}</b>","fselecou"),"\n";
@l_orderby = split(/,/,$text{'dncache_orderby'}, -1);
@l_tit_orderby = split(/,/,$text{'dncache_tit_orderby'}, -1);
$nItems=0;
foreach $item (
@l_orderby) {
print " <option VALUE=\"$item\" ";
print ">$l_tit_orderby[$nItems]</b>\n";
$nItems++;
}
print " </select></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_ldapcacheserver'}</b>","fldapcacheserver"),"&nbsp;</td><td valign=top><select NAME=\"ldapcacheserver\">\n";
print " <option VALUE=\"1\" >".$config{ldapcache_servertitle}."\n";
if ( $config{ldapcache2_server}.length gt 0 ) {
print " <option VALUE=\"2\" >".$config{ldapcache2_servertitle}."\n";
}
print " </select></td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form></td></tr>\n";
print "<tr><tr></table></table><hr><p>\n";
if ( "$postform" ne "winldapusers") {
&footer($config{'back_return'},$text{'index'});
}
print "<p><p><p>\n";
do "footer.pl";
exit;

167
stta/cache_modapps.cgi Executable file
View File

@ -0,0 +1,167 @@
#!/usr/bin/perl
# cache_modapps.cgi
# Mod app Objects
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do 'app-lib.pl';
if ( $config{'is_ldapcache'} eq "true" ) {
do "ldap-lib.pl";
}
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
$aliasapp=$in{appname};
if (!$aliasapp) { &redirect("cache_selapps.cgi?form=modapps"); }
$postform = $in{postform};
&headerstta($text{'index_modapp'}, "","modapp" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
$ttacmd="edit";
# Cleaning and reset values ...
$descrip="";
$maxsess="";
$appname="";
$dn_app="";
$ens_app="";
$alias="";
%h_apps=&list_apps();
if ( $h_apps{$aliasapp}->{'alias'} ne $aliasapp ) {
$err_msg=$text{'list_errno'};
&footHere;
exit;
}
$dn_apps=$h_apps{$aliasapp}->{'obj'};
$ens_apps=$h_apps{$aliasapp}->{'ens'};
$appname=$h_apps{$aliasapp}->{'name'};
$grpalias=$h_apps{$aliasapp}->{'grpalias'};
$descrip=$h_apps{$aliasapp}->{'descrip'};
$alias=$h_apps{$aliasapp}->{'alias'};
$maxsess=$h_apps{$aliasapp}->{'maxsess'};
$ens_obj = "\"".$config{tta_base}."/$ens_apps\"";
# loading object attributes ...
$op="attributes";
$type_cmd="attributes";
$status_cmd=&run_tta_cmd($type_cmd,$ens_obj);
if ( !$status_cmd ) { $str_cmds="<tr><td> ".$text{'tta_noobject'}."</td></tr>";}
# Assigning and collecting values to be used in the form ...
%h_ttaobj=&load_ttaobj();
$tta_AppType="";
if ( $h_ttaobj{objectclass}{value} =~ /ttacharacterapplication/ ) {
$tta_AppType="charapp";
} elsif ( $h_ttaobj{objectclass}{value} =~ /ttawindowsapplication/ ) {
$tta_AppType="windowsapp";
} elsif ( $h_ttaobj{objectclass}{value} =~ /ttaxapplication/ ) {
$tta_AppType="xapp";
}
%h_hosts=&list_hosts(4);
%h_tta_apps=&load_tta_apptypes();
&read_file("$root_directory/$module_name/dataconf/map_vars", \%h_map);
@appdef=&get_tta_appdef($tta_AppType);
foreach $data (@appdef) {
$i=$data->{att};
if ( $i eq "appserv" ) {
$hosts_list ="";
foreach $h (split(/,/, $h_ttaobj{$i}{value})) {
$h=~ s/$config{tta_base}\///g;
if ( $hosts_list ne "" ) { $hosts_list .= "\n" }
$hosts_list .=$h_hosts{$h}->{alias};
}
$data->{'value'} = $hosts_list;
} else {
$ens_map="ens_".$i."_".$h_ttaobj{$i}{value};
if ( defined($h_map{$ens_map}) ) {
$data->{'value'} = $h_map{$ens_map};
} else {
$data->{'value'} = $h_ttaobj{$i}{value};
}
}
}
if ( $config{'is_ldapcache'} eq "true" ) {
$dn_cache="cn=$config{ldapcache_defaultobj},$dn_apps,".$config{ldapcache_base};
$ldapcache_server=$in{ldapcacheserver} || "1";
&connect_cache();
# loading variables
&load_tta3tier_vars($dn_cache);
}
if ( $tta_AppType =~ /windows/ && $tta3tier_domain eq "" ) { $tta3tier_domain=$config{cache_domain}; }
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
&htmlCheckAlias("apps");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
&out_tta_app_js(@appdef);
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " return confirm(obj.appname.value+msg7+obj.grpalias.value);\n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_modapp'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=modapp ACTION=\"modapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"aliasapp\" VALUE=\"",$aliasapp,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"grpalias\" VALUE=\"",$grpalias,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"appname\" VALUE=\"",$appname,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttaapptype\" VALUE=\"",$tta_AppType,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasapp'}</b>","faliasapp"),"&nbsp;</td>\n";
print " <td valign=top><b>$aliasapp</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
print " <td valign=top><b>$appname</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\">\n";
print "</tr></table></td></tr>\n";
print "<tr $cb><td><b>$text{tta_obj}</b> -- $h_tta_apps{$tta_AppType} -- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$text{msg_fieldsreq}</td></tr>\n";
print "<tr $cb> <td><table width=100% border=1 >\n"; &out_tta_appform(@appdef);
print "</td></tr></table></td></tr>\n";
print "<tr $cb> <td><table width=100%>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="modapp";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

116
stta/cache_moddomains.cgi Executable file
View File

@ -0,0 +1,116 @@
#!/usr/bin/perl
# cache_moddomains.cgi
# Mod domain Objects
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do "ldap-lib.pl";
&ReadParse();
$aliasdomain=$in{domainname};
if (!$aliasdomain) { &redirect("cache_seldomains.cgi?form=moddomains"); }
$postform = $in{postform};
&headerstta($text{'index_moddomain'}, "","moddomain" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
$ttacmd="edit";
# Cleaning and reset values ...
$descrip="";
$maxsess="";
$domainname="";
$dn_domain="";
$ens_domain="";
$alias="";
%h_domain=&list_domains();
if ( $h_domain{$aliasdomain}->{'alias'} ne $aliasdomain ) {
$err_msg=$text{'list_errno'};
&footHere;
exit;
}
$dn_domain=$h_domain{$aliasdomain}->{'obj'};
$ens_domain=$h_domain{$aliasdomain}->{'ens'};
$domainname=$h_domain{$aliasdomain}->{'name'};
$descrip=$h_domain{$aliasdomain}->{'descrip'};
$alias=$h_domain{$aliasdomain}->{'alias'};
$maxsess=$h_domain{$aliasdomain}->{'maxsess'};
if ( $alias eq "" ) {
$err_msg=$text{'list_errno'};
&footHere;
exit;
}
if ( $config{'is_ldapcache'} eq "true" ) {
$dn_cache="cn=$config{ldapcache_defaultobj},$dn_domain,".$config{ldapcache_base};
$ldapcache_server=$in{ldapcacheserver} || "1";
&connect_cache();
# loading variables
&load_tta3tier_vars($dn_cache);
}
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
&htmlCheckAlias("domains");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " if ( get_value(\"select\",obj.grpdomains) != \"none\" ) {\n";
print " return confirm(obj.domainname.value+msg7+get_value('select',obj.grpdomains));\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_moddomain'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=moddomain ACTION=\"moddomains.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"aliasdomain\" VALUE=\"",$aliasdomain,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"domainname\" VALUE=\"",$domainname,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasdomain'}</b>","faliasdomain"),"&nbsp;</td>\n";
print " <td valign=top><b>$aliasdomain</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domainobjname'}</b>","fdomainobjname"),"&nbsp;</td>\n";
print " <td valign=top><b>$domainname</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\">\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="moddomain";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

176
stta/cache_modgrpapps.cgi Executable file
View File

@ -0,0 +1,176 @@
#!/usr/bin/perl
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# tta_moddgrpapps.cgi
# Mod APPS Groups
require './stta-lib.pl';
&foreign_require("proc", "proc-lib.pl");
if ( $config{'is_ldapcache'} eq "true" ) {
do "ldap-lib.pl";
}
&ReadParse();
$aliasgrpapps=$in{aliasgrpapps};
if (!$aliasgrpapps) { &redirect("cache_selgrpapps.cgi?form=modgrpapps"); }
$postform = $in{postform};
&headerstta($text{'index_modgrpapps'}, "","modgrpapps" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
$ttacmd="edit";
# Cleaning and reset values ...
$descrip="";
$maxsess="";
$grpappsname="";
$dn_grpapps="";
$ens_grpapps="";
$alias="";
$conntype="";
$inherit="";
$cdm="";
$webtop="";
%h_grpapps=&list_grpapps();
if ( $h_grpapps{$aliasgrpapps}->{'alias'} ne $aliasgrpapps ) {
$err_msg=$text{'list_errno'};
&footHere;
exit;
}
$dn_grpapps=$h_grpapps{$aliasgrpapps}->{'obj'};
$ens_grpapps=$h_grpapps{$aliasgrpapps}->{'ens'};
$grpappsname=$h_grpapps{$aliasgrpapps}->{'name'};
$descrip=$h_grpapps{$aliasgrpapps}->{'descrip'};
$alias=$h_grpapps{$aliasgrpapps}->{'alias'};
$maxsess=$h_grpapps{$aliasgrpapps}->{'maxsess'};
if ( $config{'is_ldapcache'} eq "true" ) {
if ( $dn_grpapps ne "" ) {
$dn_cache="cn=$config{ldapcache_defaultobj},$dn_grpapps,".$config{ldapcache_base};
} else {
$dn_cache="cn=$config{ldapcache_defaultobj},".$config{ldapcache_base};
}
$ldapcache_server=$in{ldapcacheserver} || "1";
&connect_cache();
# loading variables
&load_tta3tier_vars($dn_cache);
}
$ens_obj = "\"".$config{tta_base}."/$ens_grpapps\"";
if ( $grpappsname ) {
if ( $in{postform} ) {
# loading object attributes ...
$op="attributes";
$type_cmd="attributes";
$status_cmd=&run_tta_cmd($type_cmd,$ens_obj);
if ( !$status_cmd ) { $str_cmds="<tr><td> ".$text{'tta_noobject'}."</td></tr>";}
}
} else {
# loading object defaults ....
$temp_f=$config{'tta_defaults_grpapps'};
}
# Assigning and collecting values to be used in the form ...
%h_ttaobj=&load_ttaobj();
$descrip =$h_ttaobj{'description'}->{'value'};
$cdm =$h_ttaobj{'cdm'}->{'value'};
$inherit =$h_ttaobj{'inherit'}->{'value'};
$webtop =$h_ttaobj{'webtop'}->{'value'};
$conntype=$h_ttaobj{'conntype'}->{'value'};
$temp_f="";
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
&htmlCheckAlias("grpapps");
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.webtop) == \"none\" ) {\n";
print " alert(obj.webtop.name+\":\"+msg1);\n";
print " obj.webtop.focus();\n";
print " return false;\n";
print " } \n";
print " nro=parseInt(obj.maxsess.value);\n";
print " if ( nro+1 > 0) { \n";
print " obj.maxsess.value=nro;\n";
print " } else {;\n";
print " alert(obj.maxsess.name+\":\"+msg1+\"->\"+obj.maxsess.value+\"<-\");\n";
print " obj.maxsess.focus();\n";
print " return false;\n";
print " };\n";
# print " if ( obj.inherit.checked ) {\n";
# print " obj.inherit.value=1; \n";
# print " }\n";
# print " else {\n";
# print " obj.inherit.value=0; \n";
# print " }\n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " if ( get_value(\"select\",obj.usergrpapps) != \"none\" ) {\n";
print " return confirm(obj.grpappsname.value+msg7+get_value('select',obj.usergrpapps));\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_adgrpapps'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=modgrpapps ACTION=\"modgrpapps.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"ttacmd\" VALUE=\"",$ttacmd,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"aliasgrpapps\" VALUE=\"",$aliasgrpapps,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"grpappsname\" VALUE=\"",$grpappsname,"\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n";
print " <td valign=top><b>$aliasgrpapps</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_grpappsobjname'}</b>","fgrpappsobjname"),"&nbsp;</td>\n";
print " <td valign=top><b>$grpappsname</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_descrip'}</b>","fdescrip"),"</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"descrip\" VALUE=\"$descrip\" cols=\"40\" size=\"40\" ALIGN=left></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_webtop'}</b>","fwebtop"),"&nbsp;<td valign=top><select NAME=\"webtop\">\n";
%h_webtops=&list_webtops();
$nItems=0;
foreach $item (keys (%h_webtops)) {
if ( $h_webtops{$item}->{'obj'} eq $webtop ) {
print " <option VALUE=\"".$h_webtops{$item}->{'alias'}."\" selected>". $h_webtops{$item}->{'name'}."\n";
}
else {
print " <option VALUE=\"".$h_webtops{$item}->{'alias'}."\" >".$h_webtops{$item}->{'name'}." ";
}
$nItems++;
}
print " </select></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_inherit'}</b>","finherit"),"&nbsp; </td><td valign=top><input TYPE=\"checkbox\" NAME=\"inherit\" VALUE=\"$inherit\" ";
if ( $inherit eq 1 ) { print " checked "; }
print "></td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_conect'}</b>","fconect"),"\n";
print " ",&hlink("<b>$text{'f_ipaddr'}</b>","fipaddr"),"-",&hlink("<b>$text{'f_contype'}</b>","fcontype"),"&nbsp;</td>\n";
"\n";
print " <td valign=top> <input TYPE=\"button\" NAME=\"?\" VALUE=\"?\" onClick=\"showHelp('conntype');\" >\n";
print " <input TYPE=\"text\" NAME=\"conntype\" VALUE=\"$conntype\" cols=\"32\" size=\"32\"></td></tr> \n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_cdm'}</b>","fcdm"),"</td>\n";
print " <td valign=top><input TYPE=\"button\" NAME=\"?\" VALUE=\"?\" onClick=\"showHelp('cdm');\" >\n";
print " <input TYPE=\"text\" NAME=\"cdm\" VALUE=\"$cdm\" cols=\"42\" size=\"42\"></td></tr> \n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_maxsess'}</b>","fmaxsess"),"&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"text\" NAME=\"maxsess\" VALUE=\"$maxsess\" cols=\"5\" size=\"5\" ALIGN=left onChange=\"isNroThis(this)\">\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="modgrpapps";$msgObj=$text{'default_obj'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

152
stta/cache_modobj.cgi Executable file
View File

@ -0,0 +1,152 @@
#!/usr/bin/perl
# cache_modobj.cgi
# Modify Services with Tarantella Users
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
if (!$in{dn}) { &redirect("cache_selobj.cgi?form=modobj"); }
&headerstta($text{'index_modldapcache'}, "", "modldapcache",undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<hr><p>\n";
if ( $config{'is_ldapcache'} ne "true" ) { &footCacheHere; exit }
do "ldap-lib.pl";
$grpdn=$in{dn};
$dn_obj=$in{dn};
$userou=$in{userou} || "";
$grpdn=~s/,$config{ldapcache_base}//;
$dn_cache=$dn_obj;
# loading variables
$ldapcache_server=$in{ldapcacheserver} || "1";
&connect_cache();
if ( &load_tta3tier_vars($dn_cache) ne 0 ) {
&html_errshow("ldap");
&footHere; exit ;
}
$objType="";
@lindn = split(/,/, $in{dn});
$NameUser=$lindn[0];
$OuName=$grpdn;
$OuName=~s/$NameUser,//;
$default_obj="cn=$config{ldapcache_defaultobj}";
if ( $userou eq "" ) { $userou=$tta3tier_oudn; }
if ( "$NameUser" ne "$default_obj" ) {
$dn="$NameUser,";
if ( $tta3tier_oudn ne "" ) { $dn .=$tta3tier_oudn.","; }
$dn .=$config{ldap_base};
$ldap_server=1;
&connect();
$cur_entry=&sel_ldap_obj($dn,"cn=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dn) {
$err_msg=" Error: $NameUser $tta3tier_oudn\n";
&html_errshow("ldap");
&footHere; exit ;
}
%entryObj=&get_ldap_obj($dn,$cur_entry);
$mail = $entryObj{mail};
$sn = $entryObj{sn};
$displayname = $entryObj{displayname};
$lin_user="$sn -- $displayname";
} else {
$lin_user="DEFAULT";
}
if ($OuName) {
$CnName=$OuName;
if ( $origin ne "default" && $userou ne "" ) { $CnName=~s/$userou,//g; }
$objType="app";
$objDescrip=&scan_objdescrip(2,$objType,$OuName,$userou);
if ( "$objDescrip" eq "" ) {
$objType="grpapps";
$objDescrip=&scan_objdescrip(2,$objType,$OuName,$userou);
}
if ( "$objDescrip" eq "" ) {
$objType="host";
$CnName=$OuName;
$objDescrip=&scan_objdescrip(2,$objType,$CnName,$userou);
}
if ( "$objDescrip" eq "" ) {
$objType="grphosts";
$objDescrip=&scan_objdescrip(2,$objType,$CnName,$userou);
}
if ( "$objDescrip" ne "" ) {
if ( "$CnName" ne "" ) {
$lin_name="$objDescrip -- $CnName";
} else { $lin_name="$objDescrip -- $OuName"; }
} else { $objType=""; }
}
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
if ( $config{'is_ldapcache'} eq "true" ) { &script_cache_chek; };
print " return true;\n";
print "}\n";
if ( $config{'is_ldapcache'} eq "true" ) { &htmlCacheaShowPassw }
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_modldapcache'}</b>: $in{desc}</td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=modldapcache ACTION=\"modobj.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn_obj,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"grpdn\" VALUE=\"",$grpdn,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"desc\" VALUE=\"",$in{desc},"\">\n";
print " <input TYPE=\"hidden\" NAME=\"NameUser\" VALUE=\"",$NameUser,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"lin_user\" VALUE=\"",$lin_user,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"lin_name\" VALUE=\"",$lin_name,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"objType\" VALUE=\"",$objType,"\">\n";
print "<tr><td valign=top><b>$text{'obj_origin'}</b>&nbsp;</td></tr>\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_obj'}</b>","fobj"),"&nbsp;</td>\n";
print "<td valign=top><b>$NameUser --- $lin_user </b>&nbsp;</td></tr>\n";
print "<tr><td valign=top><b>$text{'obj_target'}</b>&nbsp;</td></tr>\n";
if ( "$objType" eq "app" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
} elsif ( "$objType" eq "grpapps" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n"
} elsif ( "$objType" eq "host" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_hostname'}</b>","fhostname"),"&nbsp;</td>\n";
} elsif ( "$objType" eq "grphosts" ) {
print " <tr><td valign=top>",&hlink("<b>$text{'f_usergrphosts'}</b>","fusergrphosts"),"&nbsp;</td>\n"
} else {
print " <tr><td valign=top><i> --- </i>&nbsp;</td>\n";
$lin_name="($grpdn)\n";
}
print "<td valign=top><b>$lin_name </b>&nbsp;</td></tr>\n";
if ( $config{'is_ldapcache'} eq "true" ) { $formObj="modldapcache";$msgObj=$text{'obj_params'};&htmlCacheapp(msgObj) }
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl\n";
exit;

12
stta/cache_mvapps.cgi Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# cache_mvapps.cgi
require './stta-lib.pl';
if ( ! $access{'supervision'} ) { &redirect("index.cgi"); }
&redirect( "stta_mvobjs.cgi?type=apps");
exit;

12
stta/cache_mvdomains.cgi Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# cache_mvdomains.cgi
require './stta-lib.pl';
if ( ! $access{'supervision'} ) { &redirect("index.cgi"); }
&redirect( "stta_mvobjs.cgi?type=domains");
exit;

12
stta/cache_mvgrpapps.cgi Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
# cache_mvgrpapps.cgi
require './stta-lib.pl';
if ( ! $access{'supervision'} ) { &redirect("index.cgi"); }
&redirect( "stta_mvobjs.cgi?type=grpapps");
exit;

83
stta/cache_selapps.cgi Executable file
View File

@ -0,0 +1,83 @@
#!/usr/bin/perl
# cache_selapps.cgi
# Select Apps
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$postform="modapps";
$appname=$in{appname};
$multiobj=$in{multi} || "0";
if ($in{form}) { $postform = $in{form}; }
if ( "$postform" eq "delapps" ) {
&headerstta($text{'index_delapp'}, "", $postform,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
if ( "$postform" eq "modapps" ) {
&headerstta($text{'index_modapp'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.appname) == \"none\" ) {\n";
print " alert(obj.appname.name+\":\"+msg1);\n";
print " obj.appname.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
if ( "$postform" eq "delapps") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delapp'}</b></td> </tr>\n" };
if ( "$postform" eq "modapps") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_modapp'}</b></td> </tr>\n" };
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=cache_$postform ACTION=\"cache_$postform.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"cache_selapps\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
if ( $multiobj eq "1" ) {
print "<textarea wrap=auto name=appname rows=5 cols=10>",
join("\n", split(/,/ , $appname)),"</textarea>\n";
print "<input type=button onClick='ifield = document.forms[0].appname; if ( ifield.value == \"$appname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=apps&multi=$multiobj&ord=ens&deft=alias&f=textarea&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
} else {
print " <td valign=top><select NAME=\"appname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecapp'}</b>","fselecapps"),"\n";
%h_app=&list_apps();
&out_htmlselobj(\%h_app,"descrip","alias",$appname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].appname; ifield = document.forms[0].appname.options[document.forms[0].appname.selectedIndex]; if ( ifield.value == \"$appname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=apps&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
}
print "</tr>";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

83
stta/cache_seldomains.cgi Executable file
View File

@ -0,0 +1,83 @@
#!/usr/bin/perl
# cache_seldomains.cgi
# Select Apps
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$postform="moddomains";
$domainname=$in{domain};
$multiobj=$in{multi} || "0";
if ($in{form}) { $postform = $in{form}; }
if ( "$postform" eq "deldomains" ) {
&headerstta($text{'index_deldomain'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
if ( "$postform" eq "moddomains" ) {
&headerstta($text{'index_moddomain'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.domainname) == \"none\" ) {\n";
print " alert(obj.domainname.name+\":\"+msg1);\n";
print " obj.domainname.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
if ( "$postform" eq "deldomains") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_deldomain'}</b></td> </tr>\n" };
if ( "$postform" eq "moddomains") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_moddomain'}</b></td> </tr>\n" };
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=cache_$postform ACTION=\"cache_$postform.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"cache_seldomains\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_domainobjname'}</b>","fdomainobjname"),"&nbsp;</td>\n";
if ( $multiobj eq "1" ) {
print "<textarea wrap=auto name=domainname rows=5 cols=10>",
join("\n", split(/,/ , $domainname)),"</textarea>\n";
print "<input type=button onClick='ifield = document.forms[0].domainname; if ( ifield.value == \"$domainname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=domains&multi=$multiobj&ord=ens&deft=alias&f=textarea&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
} else {
print " <td valign=top><select NAME=\"domainname\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecdomain'}</b>","fselecdomains"),"\n";
%h_domain=&list_domains();
&out_htmlselobj(\%h_domain,"descrip","alias",$domainname);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].domainname; ifield = document.forms[0].domainname.options[document.forms[0].domainname.selectedIndex]; if ( ifield.value == \"$domainname\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=domains&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
}
print "</tr>";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

87
stta/cache_selgrpapps.cgi Executable file
View File

@ -0,0 +1,87 @@
#!/usr/bin/perl
# cache_selgrpapps.cgi
# Select Apps group
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
$postform="modgrpapps";
$aliasgrpapps=$in{grpapps};
$multiobj=$in{multi} || "0";
if ($in{form}) { $postform = $in{form}; }
if ( "$postform" eq "delgrpapps" ) {
&headerstta($text{'index_delgrpapps'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
if ( "$postform" eq "modgrpapps" ) {
&headerstta($text{'index_modgrpapps'}, "", $postform,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
}
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var ask_confadmin=true;\n";
print "\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " if ( get_value(\"select\",obj.aliasgrpapps) == \"none\" ) {\n";
print " alert(obj.aliasgrpapps.name+\":\"+msg1);\n";
print " obj.aliasgrpapps.focus();\n";
print " return false;\n";
print " } \n";
print "\n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "\n";
print "<table width=100% border>\n";
if ( "$postform" eq "delgrpapps") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delgrpapps'}</b></td> </tr>\n" };
if ( "$postform" eq "modgrpapps") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_modgrpapps'}</b></td> </tr>\n" };
print "<tr $cb> <td><table width=100%>\n";
print "<form METHOD=POST name=cache_$postform ACTION=\"cache_$postform.cgi\" onSubmit=\"return Check_fields(this)\">\n";
print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"cache_selgrpapps\">\n";
print " <tr><td valign=top>",&hlink("<b>$text{'f_aliasgrpapps'}</b>","faliasgrpapps"),"&nbsp;</td>\n";
print " <td valign=top>";
if ( $multiobj eq "1" ) {
print "<textarea wrap=auto name=aliasgrpapps rows=5 cols=10>",
join("\n", split(/,/ , $aliasgrpapps)),"</textarea>\n";
print "<input type=button onClick='ifield = document.forms[0].aliasgrpapps; if ( ifield.value == \"$aliasgrpapps\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=$multiobj&f=textarea&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
} else {
print " <td valign=top><select NAME=\"aliasgrpapps\">\n";
print " <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
%h_grpapp=&list_grpapps();
&out_htmlselobj(\%h_grpapp,"descrip","alias",$aliasgrpapps);
print " </select>\n";
print "<input type=button onClick='selfield = document.forms[0].aliasgrpapps; ifield = document.forms[0].aliasgrpapps.options[document.forms[0].aliasgrpapps.selectedIndex]; if ( ifield.value == \"$aliasgrpapps\" ) { ifield.value = \"\" } ; chooser = window.open(\"/stta/obj_chooser.cgi?type=grpapps&multi=$multiobj&ord=ens&deft=alias&f=select&obj=\"+escape(ifield.value), \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=800,height=500\"); chooser.ifield = ifield; window.ifield = ifield' value=\"$text{browse}\"></td>\n";
}
print " <tr><td valign=top>\n";
&out_htmlOMobj(\%h_grpapp,"ens","alias",$aliasgrpapps,
"cache_$postform.cgi?postform=cache_selgrpapps&aliasgrpapps=");
print " </td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print " </form>\n";
print "<tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

323
stta/cache_selobj.cgi Executable file
View File

@ -0,0 +1,323 @@
#!/usr/bin/perl
# cache_selobj.cgi
# Select Users to Services with Tarantella
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
do "ldap-lib.pl";
&ReadParse();
$postform="ldapobjs";
$ldapcache_server=$in{ldapcacheserver} || "1";
if ($in{form}) { $postform = $in{form}; }
if ( $debug gt 5 ) {
&headerstta ("IN", "", "");
print "<p>$in{form} $in{base}, $in{method}, $in{filter} ";
if ( $debug eq 2 ) { foreach $elem (@in) { print "<p>$elem \n"; } };
}
$method=$in{method};
if ( !$in{base} ) { &redirect("cache_filter.cgi?form=$postform"); }
if ( $method eq "none" || $method eq "" ) {
if ( $postform eq "tree" ) {
$method="one";
} else { $method="sub"; }
}
if ( $in{filter} ne "" ) {
if ( "$in{objclass}" ne "none") {
$filter="objectclass=".$in{objclass};
} else {
if ( $postform eq "tree" ) {
$filter="objectclass=*";
} else {
$filter="cn=".$in{filter};
$method="sub";
}
}
} else {
$filter="objectclass=*";
}
if ( $in{base} eq "" ) {
$search_dn=$config{ldapcache_base};
} else {
$search_dn = $in{base};
}
$sort_on = ($in{sort_on}) ? $in{sort_on} : "dn";
if ( "$postform" eq "delobj" ) {
&headerstta($text{'index_delldapcache'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,"onLoad='initJs();'","$text{head_below}" );
}
if ( "$postform" eq "modobj" ) {
&headerstta($text{'index_modldapcache'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,"onLoad='initJs();'","$text{head_below}" );
};
if ( "$postform" eq "winldapobjs" ) {
# &headerstta($text{'index_winldapobjs'}, "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
&headerstta("", "", $postform,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
};
if ( "$postform" eq "ldapobjs" || "$postform" eq "tree" ) {
&headerstta ($text{'index_ldapobjs'}, "", "$postform" ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
} ;
print "<hr><p>\n";
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "<!--\n";
print "/* Strings for locales */\n";
print "var msg0=\"".$text{'msg_0'},"\";\n";
print "var msg1=\"".$text{'msg_1'},"\";\n";
print "var msg2=\"".$text{'msg_2'},"\";\n";
print "var msg3=\"".$text{'msg_3'},"\";\n";
print "var msg4=\"".$text{'msg_4'},"\";\n";
print "var msg5=\"".$text{'msg_5'},"\";\n";
print "var msg6=\"".$text{'msg_6'},"\";\n";
print "var msg7=\"".$text{'msg_7'},"\";\n";
print "var msg8=\"".$text{'msg_8'},"\";\n";
print "var ask_confadmin=true;\n";
print "var ask_confpasscache=true;\n";
print "/******************************************************************\n";
print " showValue(formObj)\n";
print " Show Password value from form.\n";
print "*******************************************************************/\n";
print "function showValue() {\n";
print " if (document.cache_$postform.dn.value.length > 0 ) {\n";
print " alert(document.cache_$postform.dn.value);\n";
print " }\n";
print "}\n";
print "/******************************************************************\n";
print " set_values(iobj,idn,idesc)\n";
print "*******************************************************************/\n";
print "function set_values(iobj,idn,idesc) {\n";
print " document.cache_$postform.elements[1].value=iobj;\n";
print " document.cache_$postform.elements[2].value=idn;\n";
print " document.cache_$postform.elements[3].value=idesc;\n";
print " document.cache_$postform.lnro.value=\"-1\";\n";
print " return;\n";
print "}\n";
print "/******************************************************************\n";
print " set_cmd(cmd)\n";
print "*******************************************************************/\n";
print "function set_cmd(cmd) {\n";
print " document.cache_$postform.elements[4].value=cmd;\n";
print " if (cmd == \"delete\" ) {;\n";
print " document.cache_$postform.action=\"cache_delobj.cgi\";\n";
print " }\n";
print " if (cmd == \"modify\" ) {;\n";
print " document.cache_$postform.action=\"cache_modobj.cgi\";\n";
print " }\n";
print " return;\n";
print "}\n";
print "//-->\n";
print "/******************************************************************\n";
print " Check_fields(obj)\n";
print "*******************************************************************/\n";
print "function Check_fields(obj) {\n";
print " var lnro=document.cache_$postform.lnro.value;\n";
print " if ( lnro > -1 ) {\n";
print " if ( document.cache_$postform.action == \"cache_modobj.cgi\") { \n";
print " alert(\"$text{l_line} \"+document.cache_$postform.lnro.value+\":\"+msg8);\n";
print " setObjBoxes(obj,-1,\"\",\"\")\n";;
print " return false;\n";
print " } \n";
print " }\n";
print " if ( emptyField(obj.objcnou) == true ) {\n";
print " alert(obj.objcnou.name+\":\"+msg1+\"->\"+obj.objcnou.value+\"<-\");\n";
print " obj.objcnou.focus();\n";
print " return false;\n";
print " } \n";
print " if ( emptyField(obj.dn) == true ) {\n";
print " alert(obj.objcnou.name+\":\"+msg1);\n";
print " obj.objcnou.value=\"\";\n";
print " obj.objcnou.focus();\n";
print " return false;\n";
print " } \n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
print "<table width=100% border>\n";
if ( "$postform" eq "delobj") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_delldapcache'}</b></font></td> </tr>\n" };
if ( "$postform" eq "modobj") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_modldapcache'}</b></font></td> </tr>\n" };
if ( "$postform" eq "ldapobjs" || "$postform" eq "tree" ) { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_ldapobjs'}</b></font></td> </tr>\n" };
if ( "$postform" eq "winldapobjs") { print "<tr $tb> <td><font color='$revtext'><b>$text{'titidx_winldapobjs'}</b></font></td> </tr>\n" };
print "<tr><TABLE border width=100% >\n";
if ($debug gt 0 ) { print "<p>$search_dn, $method, $filter "; };
sub callbackSearch
{
my ( $conncache, $entry) = @_;
my (%entryAttrs);
if ( !defined($entry) ) { return };
$dn = $entry->dn;
@attrs = $entry->attributes; # Obtain attributes for this entry.
my (%all_elemen);
$all_elemen{dn} = $dn;
foreach my $var (@attrs) {
$attr = $entry->get_value( $var, asref => 1 );
if ( defined($attr) ) {
foreach my $value (@$attr) { $entryAttrs{$var} = $value; }
}
}
$all_elemen{objectclass} = $entryAttrs{objectclass};
if ( $entryAttrs{objectclass} eq "ttacacheapp" || $entryAttrs{objectClass} eq "ttacacheapp" ) {
$all_elemen{objtype} = "cn";
$all_elemen{objcnou} = $entryAttrs{cn};
$all_elemen{description} = $entryAttrs{tta3tiertitle};
} else {
$all_elemen{objtype} = "ou";
$all_elemen{objcnou} = $entryAttrs{ou};
$all_elemen{description} = $entryAttrs{description};
}
$all_elemen[$i++] = \%all_elemen;
$conncache->pop_entry;
}
&connect_cache();
$i=0;
$ious=0;
$conncache = $ldapcacheObj->search ( base => $search_dn,
scope => "$method",
filter => "(" . $filter . ")",
callback => \&callbackSearch
);
$search_cmd="dn=>'$search_dn'||method=>'$method'||filter=>'$filter'";
&ldapcache_logerr("search $search_dn");
if ( $conncache->code ) {
if ($conncache->count == 0) { # if conncache is not defined we have nothing.
print "<TR><TD colspan=4>" . $text{msg_1} . "</TD></TR>\n"; }
}
else {
print "<tr><td><B>-- $text{'f_ldapserver'} ";
if ( "$ldapcache_server" eq "1" ) {
print $config{ldapcache_servertitle}." (".$config{ldapcache_server}.") ";
} elsif ( "$ldapcache_server" eq "2" ) {
print $config{ldapcache2_servertitle}." (".$config{ldapcache2_server}.") ";
}
print " -- $text{'l_orderby'}<B> ";
if ($sort_on eq "dn") {
@elemens = sort {$a->{$sort_on} cmp $b->{$sort_on}} @all_elemen;
print $text{l_dn} . "\n";
}
elsif ($sort_on eq "objcnou") {
@elemens = sort {$a->{objcnou} cmp $b->{objcnou}} @all_elemen;
print $text{l_objcnou} . "\n";
}
else {
@elemens = sort {($a->{description} . $a->{objcnou}) cmp
($b->{description} . $b->{objcnou})} @all_elemen;
print $text{l_description} . "\n";
}
print "</td></tr><tr> <td><table width=100%>\n";
print "<TR $tb><TD><center><B>";
if ( "$postform" eq "tree" ) {
print "<A class=\"menu1\" href=\"cache_selobj.cgi?sort_on=objcnou&form=$postform&ldapcacheserver=$ldapcache_server\">";
}
print "<font color='$revtext'> $text{l_objcnou}";
if ( "$postform" eq "tree" ) { print "</A>" };
print "</B></center></font></TD>\n";
print "<TD><center><B>";
if ( "$postform" eq "tree" ) {
print "<B><A class=\"menu1\" href=\"cache_selobj.cgi?sort_on=description&form=$postform&ldapcacheserver=$ldapcache_server\">";
}
print "<font color='$revtext'> $text{l_description}";
if ( "$postform" eq "tree" ) { print "</A>" };
print "</B></center></font></TD>\n";
print "<TD><font color='$revtext'><center><B>";
if ( "$postform" eq "tree" ) {
print "<A class=\"menu1\" href=\"cache_selobj.cgi?sort_on=dn&form=$postform&ldapcacheserver=$ldapcache_server\">";
}
print "<font color='$revtext'> $text{l_dn}";
print "<center><form METHOD=POST name=\"cacheObj\" ACTION=\"\" >\n";
if ( "$postform" eq "tree" ) { print "</A>" };
print "</B></center></font></TD>\n";
$i = 0;
foreach $item (@elemens) {
print "<TR $cb>";
if ( "$item->{objtype}" eq "ou") {
$conncache = $ldapcacheObj->search ( base => $item->{dn},
scope => "one",
filter => "(" . $filter . ")",
);
print "<TD><input type=\"checkbox\" name=\"objCheckBox$i\" value=\"no\" ";
print " onClick=\"setObjBoxes(this,$i,'".$item->{objcnou}."','".$item->{dn}."','".$item->{description}."')\">\n";
if ($conncache->code) {
print $item->{objcnou}."</TD>";
} else {
print "<A class=\"menu1\" href=\"cache_selobj.cgi?form=tree&sort_on=$sort_on&base=".&html_escape($item->{dn})."&ldapcacheserver=$ldapcache_server\">".$item->{objcnou}."</A></TD>";
}
$ious++;
} else {
print "<TD><A class=\"menu1\" href=\"javascript:set_values('".$item->{objcnou}."','".$item->{dn}."','".$item->{description}."')\">".$item->{objcnou}."</A></TD>";
}
print "<TD>" . $item->{description}."</TD>";
print "<TD>" . $item->{dn}."</TD>";
print "\n";
$i++;
}
print "</form>\n";
print "<tr></table></table><hr><p>\n";
if ( "$postform" eq "winldapobjs" ) {
print "<center><form METHOD=POST name=cache_".$postform." ACTION=\"index.cgi\" onSubmit=\"top.close()\">\n";
} else {
print "<center><form METHOD=POST name=cache_".$postform." ACTION=\"index.cgi\" onSubmit=\"return Check_fields(this)\">\n";
}
print " <tr><td valign=top>$text{f_checkboxdelobj} [$text{'delete'}] <input TYPE=\"hidden\" NAME=\"lnro\" size=2 VALUE=\"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print " ",&hlink("<b>$text{'f_objname'}</b>","fobjname"),"&nbsp;</td>\n";
print " <td><input TYPE=\"text\" NAME=\"objcnou\" VALUE=\"\" cols=\"23\" size=\"30\" ></td>\n";
print " <input TYPE=\"hidden\" NAME=\"dn\" VALUE=\"",$dn,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"desc\" VALUE=\"\">\n";
print " <input TYPE=\"hidden\" NAME=\"cmd\" VALUE=\"",$cmd,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"base\" VALUE=\"",$search_dn,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"filter\" VALUE=\"",$filter,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"postform\" VALUE=\"cache_selobj\">\n";
print " <input TYPE=\"hidden\" NAME=\"ldapserver\" VALUE=\"",$ldapcache_server,"\">\n";
print " <td valign=top><input TYPE=\"button\" NAME=\"?\" VALUE=\"?\" onClick=\"showValue();\" ></td></tr>\n";
if ( "$postform" eq "winldapobjs" ) {
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$button_name,"\" VALUE=\"",$text{'msg_close'},"\"></td></tr>\n";
} elsif ( $access{passwd} eq 1 && $config{'is_masterHost'} eq "true" ) {
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'modify'},"\" VALUE=\"",$text{'modify'},"\" onClick=\"set_cmd('modify')\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
print " <td valign=top><input TYPE=\"submit\" NAME=\"",$text{'delete'},"\" VALUE=\"",$text{'delete'},"\" onClick=\"set_cmd('delete')\"></td></tr>\n"
}
print " </form></td></tr>\n";
}
print "</tr></table></table></table><hr><p>\n";
if ( "$postform" ne "winldapobjs") {
&footer($config{'back_return'},$text{'index'});
}
print "<p> -- <p><p>\n";
do "footer.pl";
#if there is only one jump to it !!!
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "/******************************************************************\n";
print " setObjBoxes(obj,lnro,objcnou,dn,desc)\n";
print "*******************************************************************/\n";
print "function setObjBoxes(obj,lnro,objcnou,dn,desc) {\n";
print " nroBoxes=$i; \n";
if ( $ious gt 1 ) {
for ( $l = 0; $l < $ious; $l++) {
print " if ( lnro != $l ) { document.cacheObj.objCheckBox$l.checked=false; }\n";
}
}
print " set_values(objcnou,dn,desc);\n";
print " document.cache_$postform.lnro.value=lnro;\n";
print "}\n";
print "/******************************************************************\n";
print " initJs()\n";
print "*******************************************************************/\n";
print "function initJs() {\n";
if ( $i == 1 ) {
if ( "$postform" eq "delobj" || "$postform" eq "modobj" ) {
print " set_values('".$item_objcnou."','".$item_dn."');\n";
if ( "$postform" eq "delobj" ) { print " set_cmd('delete');\n"; }
if ( "$postform" eq "modobj" ) { print " set_cmd('modify');\n"; }
print " document.cache_$postform.submit();\n";
}
}
print "}\n";
print "</SCRIPT>\n";
exit;

16
stta/cgitools/do.pl Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/perl
# tta_status.cgi
# Display Status de los Servicios de Tarantella.
require './tarantella-lib.pl';
open(PS, "nom.html");
while($line=<PS>) {
chop($line);
print " print \"$line\"; \n";
}
close(PS);
exit;

108
stta/cgitools/help-cgi Executable file
View File

@ -0,0 +1,108 @@
#!/usr/bin/perl
# help.cgi
# Displays help HTML for some module, with substitutions
require './web-lib.pl';
&init_config();
&error_setup($text{'help_err'});
$ENV{'PATH_INFO'} !~ /[\\\&\;\`\'\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\n\r]/ ||
&error($text{'help_epath'});
$ENV{'PATH_INFO'} =~ /^\/(\S+)\/(\S+)$/ || &error($text{'help_epath'});
$module = $1; $file = $2;
# if it ends with .gif assume it is a direct URL
if ($file =~ /\.gif$/) {
&redirect("$module/$file");
exit;
}
sub write_helpfile
{
local $dir = $module_name ? "../$_[0]/help" : "$_[0]/help";
local $path = "$dir/$_[1].$current_lang.html";
open (FILE, ">$path");
print FILE "<include head>\n";
print FILE "<header>$_[1]</header>\n";
print FILE "<include foot>\n";
close (FILE);
}
# read the help file
$path = &help_file($module, $file);
@st = stat($path);
open(HELP, $path) || &write_helpfile($module,$file);
$path = &help_file($module, $file);
@st = stat($path);
open(HELP, $path) || &helperror(&text('help_efile', $path));
read(HELP, $help, $st[7]);
close(HELP);
# find and replace the <header> section
if ($help =~ s/<header>([^<]+)<\/header>/<center><h1>$1<\/h1><\/center><hr>/) {
&header($1);
}
else {
&helperror($text{'help_eheader'});
}
# find and replace <include> directives
$help =~ s/<include\s+(\S+)>/inchelp($1)/ge;
# find and replace <if><else> directives
$help =~ s/<if\s+([^>]*)>([\000-\177]*?)<else>([\000-\177]*?)<\/if>/ifhelp($1, $2, $3)/ge;
# find and replace <if> directives
$help =~ s/<if\s+([^>]*)>([\000-\177]*?)<\/if>/ifhelp($1, $2)/ge;
# find and replace <exec> directives
$help =~ s/<exec\s+([^>]*)>/exechelp($1)/ge;
# output the HTML
print $help;
&footer();
# inchelp(path)
sub inchelp
{
if ($_[0] =~ /^\/(\S+)\/(\S+)$/) {
# including something from another module..
}
else {
# including from this module
local $ipath = &help_file($module, $_[0]);
@st = stat($ipath);
open(INC, $ipath) ||
return "<i>".&text('help_einclude', $_[0])."</i><br>\n";
read(INC, $inc, $st[7]);
close(INC);
return $inc;
}
}
# ifhelp(perl, text, [elsetext])
sub ifhelp
{
local $rv = eval $_[0];
if ($@) { return "<i>".&text('help_eif', $_[0], $@)."</i><br>\n"; }
elsif ($rv) { return $_[1]; }
else { return $_[2]; }
}
# exechelp(perl)
sub exechelp
{
local $rv = eval $_[0];
if ($@) { return "<i>".&text('help_eexec', $_[0], $@)."</i><br>\n"; }
else { return $rv; }
}
sub helperror
{
&header($text{'error'});
print "<center><h2>$text{'error'}</h2></center>\n";
print "<hr><p><b>",@_,"</b><p><hr>\n";
exit;
}

106
stta/cgitools/help.cgi Executable file
View File

@ -0,0 +1,106 @@
#!/usr/bin/perl
# help.cgi
# Displays help HTML for some module, with substitutions
require './web-lib.pl';
&init_config();
&error_setup($text{'help_err'});
$ENV{'PATH_INFO'} !~ /[\\\&\;\`\'\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\n\r]/ ||
&error($text{'help_epath'});
$ENV{'PATH_INFO'} =~ /^\/(\S+)\/(\S+)$/ || &error($text{'help_epath'});
$module = $1; $file = $2;
if ( $module eq "stta" ) { &redirect("$module/help.cgi/stta/$file"); }
# if it ends with .gif assume it is a direct URL
if ($file =~ /\.gif$/) {
&redirect("$module/$file");
exit;
}
sub write_helpfile
{
local $dir = $module_name ? "../$_[0]/help" : "$_[0]/help";
local $path = "$dir/$_[1].$current_lang.html";
open (FILE, ">$path");
print FILE "<include head>\n";
print FILE "<header>$_[1]</header>\n";
print FILE "<include foot>\n";
close (FILE);
}
# read the help file
$path = &help_file($module, $file);
@st = stat($path);
open(HELP, $path) || &write_helpfile($module,$file);
#open(HELP, $path) || &helperror(&text('help_efile', $path));
read(HELP, $help, $st[7]);
close(HELP);
# find and replace the <header> section
if ($help =~ s/<header>([^<]+)<\/header>/<center><h1>$1<\/h1><\/center><hr>/) {
&header($1);
}
else {
&helperror($text{'help_eheader'});
}
# find and replace <include> directives
$help =~ s/<include\s+(\S+)>/inchelp($1)/ge;
# find and replace <if><else> directives
$help =~ s/<if\s+([^>]*)>([\000-\177]*?)<else>([\000-\177]*?)<\/if>/ifhelp($1, $2, $3)/ge;
# find and replace <if> directives
$help =~ s/<if\s+([^>]*)>([\000-\177]*?)<\/if>/ifhelp($1, $2)/ge;
# find and replace <exec> directives
$help =~ s/<exec\s+([^>]*)>/exechelp($1)/ge;
# output the HTML
print $help;
&footer();
# inchelp(path)
sub inchelp
{
if ($_[0] =~ /^\/(\S+)\/(\S+)$/) {
# including something from another module..
}
else {
# including from this module
local $ipath = &help_file($module, $_[0]);
@st = stat($ipath);
open(INC, $ipath) ||
return "<i>".&text('help_einclude', $_[0])."</i><br>\n";
read(INC, $inc, $st[7]);
close(INC);
return $inc;
}
}
# ifhelp(perl, text, [elsetext])
sub ifhelp
{
local $rv = eval $_[0];
if ($@) { return "<i>".&text('help_eif', $_[0], $@)."</i><br>\n"; }
elsif ($rv) { return $_[1]; }
else { return $_[2]; }
}
# exechelp(perl)
sub exechelp
{
local $rv = eval $_[0];
if ($@) { return "<i>".&text('help_eexec', $_[0], $@)."</i><br>\n"; }
else { return $rv; }
}
sub helperror
{
&header($text{'error'});
print "<center><h2>$text{'error'}</h2></center>\n";
print "<hr><p><b>",@_,"</b><p><hr>\n";
exit;
}

12
stta/cgitools/showenv.cgi Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl -T
print "Content-type: text/html\n\n";
print "<!doctype html public '-//w3c//dtd html 4.0 transitional//en'>\n";
print "<html>\n";
print "<head> </head>\n";
print "<body bgcolor='#FFFFFF'>\n";
while (($key, $val) = each %ENV) {
print "$key = $val<BR>\n";
}
print "</body></html>\n";

32
stta/cgitools/showvalues.cgi Executable file
View File

@ -0,0 +1,32 @@
#!/usr/bin/perl -T
$a = $_[0] ? $_[0] : \%in;
$i;
$meth = $_[1] ? $_[1] : $ENV{'REQUEST_METHOD'};
if ($meth eq 'POST') {
read(STDIN, $in, $ENV{'CONTENT_LENGTH'});
}
if ($ENV{'QUERY_STRING'}) {
if ($in) { $in .= "&".$ENV{'QUERY_STRING'}; }
else { $in = $ENV{'QUERY_STRING'}; }
}
@in = split(/\&/, $in);
foreach $i (@in) {
local ($k, $v) = split(/=/, $i, 2);
$k =~ s/\+/ /g; $k =~ s/%(..)/pack("c",hex($1))/ge;
$v =~ s/\+/ /g; $v =~ s/%(..)/pack("c",hex($1))/ge;
$a->{$k} = defined($a->{$k}) ? $a->{$k}."\0".$v : $v;
}
print "Content-type: text/html\n\n";
print "<!doctype html public '-//w3c//dtd html 4.0 transitional//en'>\n";
print "<html>\n";
print "<head> </head>\n";
print "<body bgcolor='#FFFFFF'>\n";
while (($key, $val) = each %in) {
print "$key = $val<BR>\n";
}
print "</body></html>\n";

105
stta/cgitools/t.cgi Executable file
View File

@ -0,0 +1,105 @@
#!/usr/bin/perl
# test-list.cgi
# Display list for Tarantella Services.
# STTA Rev. 1.2 Copyright (c) Jesús Pérez Lorenzo --- license GNU GPL
require './tarantella-lib.pl';
&foreign_require("proc", "proc-lib.pl");
&headerstta($text{'index_ttastatus'}, "", "ttastatus",undef,1,1,$text{headpage_rigth} );
print "<hr><p>\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><b>$text{'titidx_ttastatus'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<hr>\n";
print "<tr><td><pre>\n";
# $str="tta status";
# $str=$config{'tta_status'};
%ou=&list_hosts(5);
foreach $keyou (keys (%ou)) {
print " $keyou--".$ou{$keyou}->{ipname}."\n";
}
$host="alhambra.itaca.alandalus.es";
print "$host = ".$ou{$host}->{portalive}."\n";
do "footer.pl";
exit;
# &showrec_list(\%ou);
&show_hash(\%ou,"","=","","");
$host='alhambra.itaca.alandalus.es';
print "$host = ".$ou{$hosts}{portalive}."\n";
# print $ou{'alhambra'}{ipname}."\n";
do "footer.pl";
exit;
foreach $lk (@ou_list) {
print $lk->{'alias'}." ";
print $lk->{'name'}." ";
print $lk->{'obj'}." ";
print $lk->{'ens'}." ";
print $lk->{'maxsess'}."\n";
print $lk->{'ipname'}."\n";
print $lk->{'portalive'}."\n";
}
do "footer.pl";
exit;
#%ou=&list_ous();
#$keyou="usuarios";
#print " $keyou--".$ou{$keyou}->{ens}."\n";
#foreach $keyou (keys (%ou)) {
#@foreach $keyou (@ou) {
# if ( $ou->{'alias'} eq "usuarios" )
# {
# $rec1=${$ou{$keyou}};
# print " $keyou--".$ou{$keyou}->{name}."\n";
# print " $keyou--".$ou{$keyou}->{ens}."\n";
# print $ou{$keyou.'_name'}."\n";
# print $ou{$keyou.'_obj'}."\n";
# print $ou{$keyou.'_ens'}."\n";
# }
# }
print "<tr>\n";
print "<tr>\n";
print "<tr>\n";
print "</table></table><p>\n";
&footer($config{'back_return'},$text{'index'});
do "footer.pl";
exit;
# start by reading Webtops File List
foreach $u (&list_webtops()) {
print $u->{'alias'}." ";
print $u->{'name'}."\n";
print $u->{'obj'}."\n";
}
foreach $lk (&list_links()) {
print $lk->{'alias'}." ";
print $lk->{'name'}."\n";
print $lk->{'obj'}."\n";
}
%ou=&list_ous();
foreach $keyou (keys (%ou)) {
# if ( $ou->{'alias'} eq "usuarios" )
# {
print $ou{$keyou.'_alias'}."- ";
print $ou{$keyou.'_name'}."\n";
print $ou{$keyou.'_obj'}."\n";
print $ou{$keyou.'_ens'}."\n";
}
# }
print "$lnum\n";
print "<tr>\n";
print "<tr>\n";
print "<tr>\n";
print "</table></table><p>\n";
&footer($config{'back_return'},$text{'index'});
do "footer.pl";
exit;

49
stta/cgitools/works.cgi Executable file
View File

@ -0,0 +1,49 @@
#!/usr/bin/perl
# tta_works.cgi
# ... Servicios de Tarantella.
require './tarantella-lib.pl';
&foreign_require("proc", "proc-lib.pl");
&header($text{'index_works'}, "", "");
print "<hr><p>\n";
print "<table width=100% border>\n";
print "<tr $tb> <td><b>$text{'titidx_works'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
print "<h1> <font color='#000099'>En Construcci&oacute;n ...</font></h1></center>";
print "<center>";
print "<p><img SRC='images/duke_404.gif' height=258 width=390></center>";
print "<tr><tr>\n";
print "</table></table>\n";
&footer($text{'back_return'},$text{'index'});
do "footer.pl";
exit;
$str=$config{'ldap_replicate'};
if ($str) {
$| = 1;
$temp = &tempname();
open(TEMP, ">$temp");
print TEMP "#!/bin/sh\n";
print TEMP $env;
print TEMP "export $export\n" if ($export);
print TEMP "$str\n";
close(TEMP);
chmod(0777, $temp);
print "<pre>\n";
$got = &foreign_call("proc", "safe_process_exec",
"su root -c $temp", 0, 0,
STDOUT, undef, 0);
unlink($temp);
&additional_log('exec', undef, $displaystr);
if (!$got) { print "<i>$text{'run_noout'}</i>\n"; }
print "</pre>\n"
&webmin_log("exec", "command", "root", "$str");
} else {
print "<b>$text{'index_cmderr'}</b>\n";
}

80
stta/cleanfile.cgi Executable file
View File

@ -0,0 +1,80 @@
#!/usr/bin/perl
# cleanfile.cgi
# Clean file for Services with Tarantella
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require './stta-lib.pl';
&ReadParse();
if ( ! $access{'supervision'} ) { &redirect("index.cgi"); }
$postform = ($in{postform}) ? $in{postform} : "cleanfile";
$cgiPost = ($in{cgiPost}) ? $in{cgiPost} : "file";
$cgiName = ($in{cgiName}) ? $in{cgiName} : "cleanfile.cgi";
$wkdir = ($in{wkdir}) ? $in{wkdir} : eval("\$config{'$postform"."_path'}");
if ( ! $in{fName} ) { &redirect("index.cgi"); }
if ( ! $in{filePerm} ) { &redirect("index.cgi"); }
$filePerm= $in{'filePerm'};
if ( $postform eq "filemgr" ) { $postform="addfile"; }
$fName=$in{fName};
$cmd=$in{cmd};
if ( $in{fPerm} ) {
if ( substr($in{fPerm},0,1) ne "-" ) {
@l_target = split(/,/,$text{'f_perm_value'}, -1);
@l_target_tit = split(/,/,$text{'f_perm_desc'}, -1);
$nItems=0;
foreach $item (@l_target) {
if ( $item eq $in{fPerm} ) {
$fMode=$l_target_tit[$nItems];
$fPerm=substr($fMode,2,1);
last;
}
print $l_target_tit{$nItems};
$nItems++;
}
} else {
$fMode=$in{fPerm};
$fPerm=substr($fMode,2,1);
}
}
$perm=$in{perm};
if ( $perm ne "new" && substr($in{fPerm},1,3) eq "rwx" ) { $perm="all"; }
&headerstta(eval("\$text{'index_$postform'}"), "", $postform ,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<table width=100% border>\n";
print "<tr $tb> <td><font color='$revtext'><b>";
if ( $postform ne "addfile" ) { print $text{'clean'}; }
print " ".eval("\$text{'titidx_$postform'}")."</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
if ( $fPerm ne "w" ) {
print "<tr><td>";
print &text('file_err',$text{'clean'},$wkdir,$fName,$fMode);
print "</td></tr>\n";
&footHere;
exit 1;
}
$f_path=$wkdir."/".$fName;
$lnum = 0;
$in{'f_lines'} =~ s/\r//g;
&lock_file($f_path);
unless ( open FILELIST,">$f_path" ) {
print "<tr><td>>";
print &text('file_err',$text{'clean'},$wkdir,$fName,"");
print "</td></tr>\n";
&footHere;
exit 1;
}
print FILELIST "";
close(FILELIST);
&webmin_log("$text{clean} ($perm) ","file","$f_path $fMode");
print "</tr></td>\n";
print "<tr><td><b>$text{'user_clean'} <b><i>$wkdir</i>/<b>$fName</b>\n";
if ( $debug gt 0 ) { print " &nbsp;&nbsp; ($fMode) ";}
print " </td></tr>\n";
print "</left><tr><tr></table></table><hr><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
do "footer.pl";
exit;

59
stta/config.cgi Executable file
View File

@ -0,0 +1,59 @@
#!/usr/bin/perl
# config.cgi
# From Webmin config.cgi ... does not allow to pass arguments so ...
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require '../web-lib.pl';
do 'global-lib.pl';
do 'lists-lib.pl';
do 'html-lib.pl';
do 'print-lib.pl';
do "config_info.pl";
&init_config();
&load_dataconf();
$tta_ok=true;
$ldap_ok=true;
$ldapcache_ok=true;
$fileCFG = $ARGV[0];
if ( $fileCFG ne '' ) {
$helpFile="config_".$fileCFG;
} else {
$helpFile="sttaconfig";
}
$m = "stta";
%access = &get_module_acl(undef, $m);
$access{'noconfig'} &&
&error($text{'config_ecannot'});
%module_info = &get_module_info($m);
if ( $config{check_brand} eq "true" ) { &check_brand_cgi() }
&headerstta( $text{'config_title'}, undef, $helpFile,undef,1,0,"$text{'headpage_right'}"."$text{'head_logout'}",undef,undef,"$text{head_below}" );
print "<center><font size=+2>",&text('config_dir', $module_info{'desc'}),
"</font></center>\n";
print "<hr>\n";
print "<form action=\"/config_save.cgi\">\n";
print "<input type=hidden name=module value=\"$m\">\n";
print "<input type=hidden name=fcfg value=\"$fileCFG\">\n";
print "<table border>\n";
print "<tr $tb> <td><font color='$revtext'><b>",&text('config_header', $module_info{'desc'}),
"</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print "<img SRC='/stta/images/info.gif' width=20 heigth=20 align=top border=0> - $text{'help'}\n";
if ( $fileCFG eq "" ) {
print "<img SRC='/stta/images/icon_pencil.gif' width=20 heigth=18 align=top border=0> - $text{'modify'}\n";
}
print "</td></font></tr>\n";
print "<tr $cb> <td><table width=100%>\n";
&config_form;
print "</table></td></tr></table>\n";
print "<input type=submit value=\"$text{'save'}\"></form>\n";
print "<hr>\n";
&footer($config{'back_return'},$text{'index'});
do "footer.pl";

297
stta/config.info Normal file
View File

@ -0,0 +1,297 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
#English
stta_srvtitle=Server Description,0
tta_dir=Tarantella directory path,7
tta_daemon=Tarantella daemon path,8
tta_aliascmd=Tarantella alias command path,8
tta_status=Command to get Tarantella Status,0
tta_restart=Command to restart Tarantella,0
tta_backup=Command to make TTA copies,0
tta_backup_dir=Path to copy Tarantella,0
tta_ensdump=Command to dump TTA ENS,0
tta_ensdump_dir=Directory path to dump TTA ENS,7
tta_ensload=Command to load TTA ENS,0
tta_ensload_dir=Directory path to load TTA ENS,7
tta_ensrestore=Command to restore TTA ENS Backups,0
tta_ensrecreate=Command to Recreate TTA ENS,0
tta_archive=Command to archive Tarantella logs,0
tta_emusessions=Command to know Tarantella emulation list,0
tta_emusessions_end=Command to finish Tarantella emulation sessions,0
tta_websessions=Command to know Tarantella webtop sessions,0
tta_websessions_logout=Command to logout Tarantella webtop sessions,0
tta_defsconf=Path where services values are defined,8
stta_defslist=Load lists directory path,7
tta_webtops=TTA users webtops list path,8
ens_base= Tarantella Federal Name -TFN- (.../_ens/),0,30
tta_base=ENS directory tree root,0
sysusers_list=System user list path,8
ou_list=Organizations list path,8
grpapps_list=Applications group list path,8
apps_list=Applications list path,8
links_list=Links list path,8
domains_list=Domains list path,8
acts_list=Actions list path,8
grphosts_list=Hosts Groups list path,8
hosts_list=Hosts list path,8
hostsuser_list=Hosts users list path,8
profcache_list=TTA cache profiles list path,8
tta_defaults_obj=TTA Person objects default values path,8
tta_defaults_ou=TTA OrgUnit objects default values path,8
tta_defaults_hosts=TTA Host objects default values path,8
default_portalive=Default Host port status value,0,4
ldapcache2_port=LDAP Cache 2 server port number,0,6
tta_defaults_grpapps=TTA Apps groups objects default values path,8
tta_ldapUser=LDAP Users path in TTA caache (standard),0
has_ldapusers=Use LDAP user with TTA ?,true-true,false-false
has_systemusers=Use System users with TTA ?,1,true-true,false-false
ldap_type=LDAP Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_dir=LDAP software directory,7
ldap_daemon=LDAP daemon path,8
ldap_restart=Command to restart LDAP,8
ldap_stop=Command to stop LDAP,8
ldap_start=Command to start LDAP,8
ldap2_restart=Command to restart LDAP 2,8
ldap2_conf=LDAP 2 configuration file,0
ldap_conf=LDAP configuration file,0
ldap_backup=Command to copy LDAP DB,8
ldap_restore=Command to restore LDAP DB,8
ldap_backup_dir=Path for LDAP DB copies,7
ldap_ldif=Command to export LDAP DB,8
ldap_load=Command to load LDAP DB,8
ldap_ldif_dir=Path to export LDAP DB,7
ldap_replicate=Path to replicate LDAP DB,8
ldap_log_name=LDAP log path ,8
ldap_log_perm=Permissiong to manage LDAP log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_log_fperm=LDAP log permissions ,0,5
ldap_log_tail=Number of lines to see from LDAP end of file,0,5
ldap_server=LDAP Host name or server IP,0
ldap_dirname=LDAP server directory name (without-path),0
ldap_servertitle=LDAP server description,0
ldap_port=LDAP server port number,0,5
ldap_base=LDAP Directory tree root DN,0
ldap_dnusers=LDAP users root DN,0
ldap_user=LDAP administrator credentials,0
ldap_passwd=LDAP administrator password (text),12
ldap_version=LDAP software version,0
ldap_type=LDAP Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_server_log_name=LDAP server log path,8
ldap_server_log_perm=Permission to manage LDAP server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_server_log_fperm=LDAP sever log file permissions,0,5
ldap_server_log_tail=Number of lines to see from LDAP server log end of file,0,5
ldap_server_acclog_name=LDAP access log path,8
ldap_server_acclog_perm=Permission to manage LDAP access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_server_acclog_fperm=LDAP log access file permissions,0,5
ldap_server_acclog_tail=Number of lines to see from LDAP access log end of file,0,5
ldap2_server=LDAP 2 Host name or server IP,0
ldap2_servertitle=LDAP 2 server description,0
ldap2_port=LDAP 2 server port number,0,5
ldap2_user=LDAP 2 administrator credentials,0
ldap2_passwd=LDAP 2 administrator password (text),12
ldap2_type=LDAP 2 Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap2_version=LDAP 2 software Version,0
companydomain=Default company domain,0
back_return=Default module to link at end of page,0
companyntdomain=Default domain Windows NT,0
loginUsername=User default login,0,12
masterHost=Service Tables Host Master,0
masterHostURL=Service Tables Host Master URL,0
is_masterHost=Is STTA tables Host Master ?,1,true-true,false-false
stta_sync=STTA Tables automatic Synchronization ?,1,true-true,false-false
is_ldapcache=Is using LDAP Cache service ?,1,true-true,false-false
cacherule_1=LDAP Cache Rule 1,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_2=LDAP Cache Rule 2,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_3=LDAP Cache Rule 3,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_4=LDAP Cache Rule 4,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_5=LDAP Cache Rule 5,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_6=LDAP Cache Rule 6,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_7=LDAP Cache Rule 7,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cache_chkdefaults=Use LDAP CACHE default object,1,true-true,false-false
cache_chkttalogin=Use tta user login values in LDAP CACHE,1,true-true,false-false
cache_scandebug=LDAP Cache search debug level,1,0-0,1-1,2-2
cache_domain=LDAP Cache default login domain,0
cache_scancfg=LDAP Cache configuration directory,7
cache_rulelimit=LDAP Cache number of rules,0,1
cache_debuglog=LDAP Cache debug file path,7
cache_debuglog_dir=LDAP CachePath debug logs directory,7
ldapcache_defaultobj=LDAP Cache default object,0
ldapcache_dndefaultobj=LDAP Cache DN last default object,0
ldapcache_base=LDAP Cache directort tree root DN,0
ldapcache_server=LDAP Cache Host name or server IP,0
ldapcache_dirname=LDAP Cache server directory name (without-path),0
ldapcache_servertitle=LDAP Cache server description,0
ldapcache_port=LDAP Cache server port number,0,5
ldapcache_user=LDAP Cache administrador credentials,0
ldapcache_passwd=LDAP Cache administrator password (text),12
ldapcache_version=LDAP Cache software Version,0
ldapcache_server_log_name=LDAP Cache server log path,8
ldapcache_server_log_perm=Permission to manage LDAP Cache server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldapcache_server_log_fperm=LDAP Cache server log file permissions,0,5
ldapcache_server_log_tail=Number of lines to see from LDAP Cache server log end of file,0,5
ldapcache_server_acclog_name=LDAP Cache access log path,8
ldapcache_server_acclog_perm=Permission to manage LDAP Cache access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldapcache_server_acclog_fperm=LDAP Cache access log file permissions,0,5
ldapcache_server_acclog_tail=Number of lines to see from LDAP Cache access log end of file,0,5
ldapcache2_server=LDAP Cache 2 Host name or server IP,0
ldapcache2_servertitle=LDAP Cache 2 server description,0
ldapcache2_port=LDAP Cache 2 server port number,0,5
ldapcache2_user=LDAP Cache 2 administrador credentials,0
ldapcache2_passwd=LDAP Cache 2 administrator password (text),12
ldapcache2_type=LDAP Cache 2 Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache2_conf=LDAP Cache 2 configuration file,0
ldapcache2_version=LDAP Cache 2 software Version,0
tta_ldapcacheUser=DN Base para Usuarios de TTA LDAP CACHE,0
tta_ldapcacheApps=DN Base para Aplicaciones de TTA LDAP CACHE,0
tta_ldapcacheHosts=DN Base para Hosts de TTA LDAP CACHE,0
ldapcache_type=LDAP Cache Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache_dir=LDAP Cache Software directory path,7
ldapcache_daemon=Path to the LDAP Cache daemon,8
ldapcache_restart=Command to restart LDAP Cache,8
ldapcache_stop=Command to stop LDAP Cache,8
ldapcache_start=Command to start LDAP Cache,8
ldapcache2_restart=Command to restart LDAP Cache 2,8
ldapcache_backup=Command to copy LDAP Cache DB,8
ldapcache_restore=Command to restore LDAP Cache DB,8
ldapcache_backup_dir=Path to make LDAP Cache DB copies,7
ldapcache_ldif=Command to exportar la BD LDAP Cache,8
ldapcache_load=Command to Cargar la BD LDAP Cache,8
ldapcache_ldif_dir=Path para exportar la BD del LDAP Cache,7
ldapcache_replicate=Path de la orden para replicar BD LDAP Cache ,8
ldapcache_conf=Archivo configuración LDAP Cache,0
apps_list=Path de las lista de Aplicaciones,8
tta_appwidth=Application window width (pixels),0,6
tta_appheigth=Application window heigth (pixels),0,6
grpapps_list=Applications Group list path,8
domain_list=Domains list path,8
link_list=Links list path,8
default_cat=Default category,4,browsers-Browsers,tta-Tarantella,ldap-ldap,password-keys,ldapcache-Ldap_Cache,objects-Objects,monitor-Monitor
order_cat=Categories Order,4,none-By default,alias-By module,name-By name
interface=Menu Interface,4,tabs-Tabs,index-index
monitor_scripts_path=Monitor scripts path,0,30
mon_title=Monitor title,0,30
act_list=Actions list path,0,30
filemgr_path=File Manager Path,7
ttalog_path=Tarantella logs Manager Path,7
run_exec_user=Login to execute commands,0,12
http_log_name=HTTP server log path,8
http_log_perm=Permission to manage HTTP server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
http_log_fperm=HTTP server log file permissions,0,5
http_log_tail=Number of lines to see from HTTP log end of file,0,5
http_port=Número de puerto del servidor HTTP,0,5
https_log_name=HTTPS server log path,8
https_log_perm=Permission to manage HTTPS server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
https_log_fperm=HTTPS server log file permissions,0,5
https_log_tail=Number of lines to see from HTTPS log end of file,0,5
httpacc_log_name=HTTP access log path,8
httpacc_log_perm=Permission to manage HTTP access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
httpacc_log_fperm=HTTP log access file permissions,0,5
httpacc_log_tail=Number of lines to see from HTTP access log end of file,0,5
httpsacc_log_name=HTTPS access log path,8
httpsacc_log_perm=Permission to manage HTTPS access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
httpsacc_log_fperm=HTTPS access log file permissions,0,5
httpsacc_log_tail=Number of lines to see from HTTPS access log end of file,0,5
https_port=HTTPS server port number,0,5
system_log=System (OS) log path,7
tta_sessout_file=TTA sessions output file path,8
has_monitor=Is using Monitor STTA ?,1,true-true,false-false
has_cronsess=Use Cron to list sessions ?,1,true-true,false-false
sessout_timeout=Reload sessions report every,4,8-hours,12-minutes,11-10 minutes ,13-10 seconds ,14-Seconds
countsessout_file=TTA counter sessions file path,8
totalsessout_file=TTA sessions summary file path,8
tta_billing_dir=TTA billing report directory,7
cmd_getosdata=Command Path to get OS data,0
osdataout_file=File path to keep SO data output,8
msg_noticket=Message for not session valid ticket,0
msg_nosess=Message for not available sessions,0
check_maxsess=Check sessions limits,1,true-true,false-false
default_maxsess=Number for unlimited sessions,0,5
check_ticket=Check sessions ticket,1,true-true,false-false
output_cgis=Display error on screen,1,0-false,1-true
debug_code=Debug level when running code,1,0-Ninguno,1-Nivel 1,2-Nivel 2,3-Nivel 3,4-Nivel 4
stta_debugname=Path and prefix for debug cgi name o STTA tool,0
stta_logname=Path and prefix for log cgi name or STTA tool,0
stta_logdir=Path del directory de logs de CGIs y/o herramientas STTA,7
check_services=Check services in every access,1,true-true,false-false
iferror_services=If there is a services error,1,stop-Stop,warn-Warn,browse-Browse
iferror_objects=If there is an error in objects management,1,stop-Stop,warn-Warn
motd=STTA environment message file,8
motd_style=STTA environment message style,4,marquee-Marquee,box-Box
url_tta=URL for Tarantella Software help,0
url_ldap=URL for LDAP Software help,0
users_alias=Default Users alias,0
servers_alias=Default Servers alias,0
apps_alias=Default applications alias,0
help_active=Use help in forms fields,1,true-true,false-false
bgimage=Page background image,8
cs_page=Page background colour (hex),0,6
cs_table=Tables body background colour (hex),0,6
cs_header=Tables Header background colour (hex),0,6
cs_link=Text links colour in pages (hex),0,6
cs_text=Text colour in pages (hex),0,6
cs_revtext=Reverse text colour in pages (hex),0,6
feedback_to=Person to receive STTA feedbacks,0
feedback_packcmd=Command to pack feedback directory,0
feedback_name=Who send feedback - Name -,0
feedback_email=E-mail to send feedback,0
feedback_dirname=Directory to pack feedbacks,0
feedback_mailserver=SMTP server to send feedbacks,0
list_debuglogs_name=Debug logs list path,8
list_debuglogs_perm=Permission to manage debug logs list,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_debuglogs_fperm=Debug logs lists file permissions,0,5
list_debuglogs_delhours=Delete each debug logs list file every (in hours),0,6
list_sttalogs_name=STTA logs list path,8
list_sttalogs_perm=Permission to manage STTA logs list,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_sttalogs_fperm=STTA logs list file permissions,0,5
list_sttalogs_delhours=Delete each logs list file every (in hours),0,6
list_backups_name=Copies list path,8
list_backups_perm=Permission to manage Copies List,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_backups_fperm=Copies list file Permissions,0,5
list_backups_delhours=Delete each Copies list file every (in hours),0,6
stta_hosts=Hosts with STTA (names separated by spaces),0
list_to_sync=List to synchronize automaticaly (separated by spaces),0
other_list_sync=STTA Synchronization List (separated by spaces),0
stta_tools_dir=STTA tools directory,7
service_tosend=Method to send files (replications),4,ftp-FTP,http-HTTP,https-HTTPS
to_send_dir=Send files directory,7
get_dir=Received files directory,7
save_send_dir=Directory to save files transfers,7
master_sender_host=Master Host to send files,0
target_hosts=Host receiving files (names separated by spaces),0
login_tosend=Login para enviar files (FTP),0,12
passw_tosend=Path file con password para envios (FTP),7
tclx_library=TCL library path (tta),8
stta_wkdir=Working directory(scripts),8
ziptool=Compression tool path,0
unziptool=Uncompression tool path,0
backup_cmd=Command to copy files (cpio),0
extract_cmd=Command to extract files copies (cpio),0
ldap_debug=LDAP daemon debug level,0,4
ldapcache_debug=LDAP CACHE daemon debug level,0,4
help_width=Help window width (pixels),0,6
help_height=Help window height (pixels),0,6
stta_savedir=Directory to save files,7

297
stta/config.info.en Normal file
View File

@ -0,0 +1,297 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
#English
stta_srvtitle=Server Description,0
tta_dir=Tarantella directory path,7
tta_daemon=Tarantella daemon path,8
tta_aliascmd=Tarantella alias command path,8
tta_status=Command to get Tarantella Status,0
tta_restart=Command to restart Tarantella,0
tta_backup=Command to make TTA copies,0
tta_backup_dir=Path to copy Tarantella,0
tta_ensdump=Command to dump TTA ENS,0
tta_ensdump_dir=Directory path to dump TTA ENS,7
tta_ensload=Command to load TTA ENS,0
tta_ensload_dir=Directory path to load TTA ENS,7
tta_ensrestore=Command to restore TTA ENS Backups,0
tta_ensrecreate=Command to Recreate TTA ENS,0
tta_archive=Command to archive Tarantella logs,0
tta_emusessions=Command to know Tarantella emulation list,0
tta_emusessions_end=Command to finish Tarantella emulation sessions,0
tta_websessions=Command to know Tarantella webtop sessions,0
tta_websessions_logout=Command to logout Tarantella webtop sessions,0
tta_defsconf=Path where services values are defined,8
stta_defslist=Load lists directory path,7
tta_webtops=TTA users webtops list path,8
ens_base= Tarantella Federal Name -TFN- (.../_ens/),0,30
tta_base=ENS directory tree root,0
sysusers_list=System user list path,8
ou_list=Organizations list path,8
grpapps_list=Applications group list path,8
apps_list=Applications list path,8
links_list=Links list path,8
domains_list=Domains list path,8
acts_list=Actions list path,8
grphosts_list=Hosts Groups list path,8
hosts_list=Hosts list path,8
hostsuser_list=Hosts users list path,8
profcache_list=TTA cache profiles list path,8
tta_defaults_obj=TTA Person objects default values path,8
tta_defaults_ou=TTA OrgUnit objects default values path,8
tta_defaults_hosts=TTA Host objects default values path,8
default_portalive=Default Host port status value,0,4
ldapcache2_port=LDAP Cache 2 server port number,0,6
tta_defaults_grpapps=TTA Apps groups objects default values path,8
tta_ldapUser=LDAP Users path in TTA caache (standard),0
has_ldapusers=Use LDAP user with TTA ?,true-true,false-false
has_systemusers=Use System users with TTA ?,1,true-true,false-false
ldap_type=LDAP Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_dir=LDAP software directory,7
ldap_daemon=LDAP daemon path,8
ldap_restart=Command to restart LDAP,8
ldap_stop=Command to stop LDAP,8
ldap_start=Command to start LDAP,8
ldap2_restart=Command to restart LDAP 2,8
ldap2_conf=LDAP 2 configuration file,0
ldap_conf=LDAP configuration file,0
ldap_backup=Command to copy LDAP DB,8
ldap_restore=Command to restore LDAP DB,8
ldap_backup_dir=Path for LDAP DB copies,7
ldap_ldif=Command to export LDAP DB,8
ldap_load=Command to load LDAP DB,8
ldap_ldif_dir=Path to export LDAP DB,7
ldap_replicate=Path to replicate LDAP DB,8
ldap_log_name=LDAP log path ,8
ldap_log_perm=Permissiong to manage LDAP log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_log_fperm=LDAP log permissions ,0,5
ldap_log_tail=Number of lines to see from LDAP end of file,0,5
ldap_server=LDAP Host name or server IP,0
ldap_dirname=LDAP server directory name (without-path),0
ldap_servertitle=LDAP server description,0
ldap_port=LDAP server port number,0,5
ldap_base=LDAP Directory tree root DN,0
ldap_dnusers=LDAP users root DN,0
ldap_user=LDAP administrator credentials,0
ldap_passwd=LDAP administrator password (text),12
ldap_version=LDAP software version,0
ldap_type=LDAP Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_server_log_name=LDAP server log path,8
ldap_server_log_perm=Permission to manage LDAP server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_server_log_fperm=LDAP sever log file permissions,0,5
ldap_server_log_tail=Number of lines to see from LDAP server log end of file,0,5
ldap_server_acclog_name=LDAP access log path,8
ldap_server_acclog_perm=Permission to manage LDAP access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldap_server_acclog_fperm=LDAP log access file permissions,0,5
ldap_server_acclog_tail=Number of lines to see from LDAP access log end of file,0,5
ldap2_server=LDAP 2 Host name or server IP,0
ldap2_servertitle=LDAP 2 server description,0
ldap2_port=LDAP 2 server port number,0,5
ldap2_user=LDAP 2 administrator credentials,0
ldap2_passwd=LDAP 2 administrator password (text),12
ldap2_type=LDAP 2 Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap2_version=LDAP 2 software Version,0
companydomain=Default company domain,0
back_return=Default module to link at end of page,0
companyntdomain=Default domain Windows NT,0
loginUsername=User default login,0,12
masterHost=Service Tables Host Master,0
masterHostURL=Service Tables Host Master URL,0
is_masterHost=Is STTA tables Host Master ?,1,true-true,false-false
stta_sync=STTA Tables automatic Synchronization ?,1,true-true,false-false
is_ldapcache=Is using LDAP Cache service ?,1,true-true,false-false
cacherule_1=LDAP Cache Rule 1,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_2=LDAP Cache Rule 2,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_3=LDAP Cache Rule 3,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_4=LDAP Cache Rule 4,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_5=LDAP Cache Rule 5,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_6=LDAP Cache Rule 6,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cacherule_7=LDAP Cache Rule 7,4,none-None,users-Users,ous-Organizations,apps-Applications,grpapps-Applications Group,hosts-Host,grphosts-Hosts Group,domains-Domains (dns|nt)
cache_chkdefaults=Use LDAP CACHE default object,1,true-true,false-false
cache_chkttalogin=Use tta user login values in LDAP CACHE,1,true-true,false-false
cache_scandebug=LDAP Cache search debug level,1,0-0,1-1,2-2
cache_domain=LDAP Cache default login domain,0
cache_scancfg=LDAP Cache configuration directory,7
cache_rulelimit=LDAP Cache number of rules,0,1
cache_debuglog=LDAP Cache debug file path,7
cache_debuglog_dir=LDAP CachePath debug logs directory,7
ldapcache_defaultobj=LDAP Cache default object,0
ldapcache_dndefaultobj=LDAP Cache DN last default object,0
ldapcache_base=LDAP Cache directort tree root DN,0
ldapcache_server=LDAP Cache Host name or server IP,0
ldapcache_dirname=LDAP Cache server directory name (without-path),0
ldapcache_servertitle=LDAP Cache server description,0
ldapcache_port=LDAP Cache server port number,0,5
ldapcache_user=LDAP Cache administrador credentials,0
ldapcache_passwd=LDAP Cache administrator password (text),12
ldapcache_version=LDAP Cache software Version,0
ldapcache_server_log_name=LDAP Cache server log path,8
ldapcache_server_log_perm=Permission to manage LDAP Cache server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldapcache_server_log_fperm=LDAP Cache server log file permissions,0,5
ldapcache_server_log_tail=Number of lines to see from LDAP Cache server log end of file,0,5
ldapcache_server_acclog_name=LDAP Cache access log path,8
ldapcache_server_acclog_perm=Permission to manage LDAP Cache access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
ldapcache_server_acclog_fperm=LDAP Cache access log file permissions,0,5
ldapcache_server_acclog_tail=Number of lines to see from LDAP Cache access log end of file,0,5
ldapcache2_server=LDAP Cache 2 Host name or server IP,0
ldapcache2_servertitle=LDAP Cache 2 server description,0
ldapcache2_port=LDAP Cache 2 server port number,0,5
ldapcache2_user=LDAP Cache 2 administrador credentials,0
ldapcache2_passwd=LDAP Cache 2 administrator password (text),12
ldapcache2_type=LDAP Cache 2 Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache2_conf=LDAP Cache 2 configuration file,0
ldapcache2_version=LDAP Cache 2 software Version,0
tta_ldapcacheUser=DN Base para Usuarios de TTA LDAP CACHE,0
tta_ldapcacheApps=DN Base para Aplicaciones de TTA LDAP CACHE,0
tta_ldapcacheHosts=DN Base para Hosts de TTA LDAP CACHE,0
ldapcache_type=LDAP Cache Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache_dir=LDAP Cache Software directory path,7
ldapcache_daemon=Path to the LDAP Cache daemon,8
ldapcache_restart=Command to restart LDAP Cache,8
ldapcache_stop=Command to stop LDAP Cache,8
ldapcache_start=Command to start LDAP Cache,8
ldapcache2_restart=Command to restart LDAP Cache 2,8
ldapcache_backup=Command to copy LDAP Cache DB,8
ldapcache_restore=Command to restore LDAP Cache DB,8
ldapcache_backup_dir=Path to make LDAP Cache DB copies,7
ldapcache_ldif=Command to exportar la BD LDAP Cache,8
ldapcache_load=Command to Cargar la BD LDAP Cache,8
ldapcache_ldif_dir=Path para exportar la BD del LDAP Cache,7
ldapcache_replicate=Path de la orden para replicar BD LDAP Cache ,8
ldapcache_conf=Archivo configuración LDAP Cache,0
apps_list=Path de las lista de Aplicaciones,8
tta_appwidth=Application window width (pixels),0,6
tta_appheigth=Application window heigth (pixels),0,6
grpapps_list=Applications Group list path,8
domain_list=Domains list path,8
link_list=Links list path,8
default_cat=Default category,4,browsers-Browsers,tta-Tarantella,ldap-ldap,password-keys,ldapcache-Ldap_Cache,objects-Objects,monitor-Monitor
order_cat=Categories Order,4,none-By default,alias-By module,name-By name
interface=Menu Interface,4,tabs-Tabs,index-index
monitor_scripts_path=Monitor scripts path,0,30
mon_title=Monitor title,0,30
act_list=Actions list path,0,30
filemgr_path=File Manager Path,7
ttalog_path=Tarantella logs Manager Path,7
run_exec_user=Login to execute commands,0,12
http_log_name=HTTP server log path,8
http_log_perm=Permission to manage HTTP server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
http_log_fperm=HTTP server log file permissions,0,5
http_log_tail=Number of lines to see from HTTP log end of file,0,5
http_port=Número de puerto del servidor HTTP,0,5
https_log_name=HTTPS server log path,8
https_log_perm=Permission to manage HTTPS server log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
https_log_fperm=HTTPS server log file permissions,0,5
https_log_tail=Number of lines to see from HTTPS log end of file,0,5
httpacc_log_name=HTTP access log path,8
httpacc_log_perm=Permission to manage HTTP access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
httpacc_log_fperm=HTTP log access file permissions,0,5
httpacc_log_tail=Number of lines to see from HTTP access log end of file,0,5
httpsacc_log_name=HTTPS access log path,8
httpsacc_log_perm=Permission to manage HTTPS access log,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
httpsacc_log_fperm=HTTPS access log file permissions,0,5
httpsacc_log_tail=Number of lines to see from HTTPS access log end of file,0,5
https_port=HTTPS server port number,0,5
system_log=System (OS) log path,7
tta_sessout_file=TTA sessions output file path,8
has_monitor=Is using Monitor STTA ?,1,true-true,false-false
has_cronsess=Use Cron to list sessions ?,1,true-true,false-false
sessout_timeout=Reload sessions report every,4,8-hours,12-minutes,11-10 minutes ,13-10 seconds ,14-Seconds
countsessout_file=TTA counter sessions file path,8
totalsessout_file=TTA sessions summary file path,8
tta_billing_dir=TTA billing report directory,7
cmd_getosdata=Command Path to get OS data,0
osdataout_file=File path to keep SO data output,8
msg_noticket=Message for not session valid ticket,0
msg_nosess=Message for not available sessions,0
check_maxsess=Check sessions limits,1,true-true,false-false
default_maxsess=Number for unlimited sessions,0,5
check_ticket=Check sessions ticket,1,true-true,false-false
output_cgis=Display error on screen,1,0-false,1-true
debug_code=Debug level when running code,1,0-Ninguno,1-Nivel 1,2-Nivel 2,3-Nivel 3,4-Nivel 4
stta_debugname=Path and prefix for debug cgi name o STTA tool,0
stta_logname=Path and prefix for log cgi name or STTA tool,0
stta_logdir=Path del directory de logs de CGIs y/o herramientas STTA,7
check_services=Check services in every access,1,true-true,false-false
iferror_services=If there is a services error,1,stop-Stop,warn-Warn,browse-Browse
iferror_objects=If there is an error in objects management,1,stop-Stop,warn-Warn
motd=STTA environment message file,8
motd_style=STTA environment message style,4,marquee-Marquee,box-Box
url_tta=URL for Tarantella Software help,0
url_ldap=URL for LDAP Software help,0
users_alias=Default Users alias,0
servers_alias=Default Servers alias,0
apps_alias=Default applications alias,0
help_active=Use help in forms fields,1,true-true,false-false
bgimage=Page background image,8
cs_page=Page background colour (hex),0,6
cs_table=Tables body background colour (hex),0,6
cs_header=Tables Header background colour (hex),0,6
cs_link=Text links colour in pages (hex),0,6
cs_text=Text colour in pages (hex),0,6
cs_revtext=Reverse text colour in pages (hex),0,6
feedback_to=Person to receive STTA feedbacks,0
feedback_packcmd=Command to pack feedback directory,0
feedback_name=Who send feedback - Name -,0
feedback_email=E-mail to send feedback,0
feedback_dirname=Directory to pack feedbacks,0
feedback_mailserver=SMTP server to send feedbacks,0
list_debuglogs_name=Debug logs list path,8
list_debuglogs_perm=Permission to manage debug logs list,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_debuglogs_fperm=Debug logs lists file permissions,0,5
list_debuglogs_delhours=Delete each debug logs list file every (in hours),0,6
list_sttalogs_name=STTA logs list path,8
list_sttalogs_perm=Permission to manage STTA logs list,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_sttalogs_fperm=STTA logs list file permissions,0,5
list_sttalogs_delhours=Delete each logs list file every (in hours),0,6
list_backups_name=Copies list path,8
list_backups_perm=Permission to manage Copies List,4,all-All,read-Read,clean-Clean,modify-Modify,run-Run
list_backups_fperm=Copies list file Permissions,0,5
list_backups_delhours=Delete each Copies list file every (in hours),0,6
stta_hosts=Hosts with STTA (names separated by spaces),0
list_to_sync=List to synchronize automaticaly (separated by spaces),0
other_list_sync=STTA Synchronization List (separated by spaces),0
stta_tools_dir=STTA tools directory,7
service_tosend=Method to send files (replications),4,ftp-FTP,http-HTTP,https-HTTPS
to_send_dir=Send files directory,7
get_dir=Received files directory,7
save_send_dir=Directory to save files transfers,7
master_sender_host=Master Host to send files,0
target_hosts=Host receiving files (names separated by spaces),0
login_tosend=Login para enviar files (FTP),0,12
passw_tosend=Path file con password para envios (FTP),7
tclx_library=TCL library path (tta),8
stta_wkdir=Working directory(scripts),8
ziptool=Compression tool path,0
unziptool=Uncompression tool path,0
backup_cmd=Command to copy files (cpio),0
extract_cmd=Command to extract files copies (cpio),0
ldap_debug=LDAP daemon debug level,0,4
ldapcache_debug=LDAP CACHE daemon debug level,0,4
help_width=Help window width (pixels),0,6
help_height=Help window height (pixels),0,6
stta_savedir=Directory to save files,7

297
stta/config.info.es Normal file
View File

@ -0,0 +1,297 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# Spanish
stta_srvtitle=Descripción del Servidor,0
tta_dir=Path del directorio de Tarantella,7
tta_daemon=Path del daemon de Tarantella,8
tta_aliascmd=Path de la orden alias tta,8
tta_status=Orden para obtener el Status de Tarantella,0
tta_restart=Orden para rearrancar Tarantella,0
tta_backup=Orden para generar copia de TTA,0
tta_backup_dir=Path para copiar Tarantella,0
tta_ensdump=Orden para Descargar ENS de TTA,0
tta_ensdump_dir=Path del directorio de Descarga de Bases de Datos TTA,7
tta_ensload=Orden para Cargar ENS de TTA,0
tta_ensload_dir=Path del directorio de Carga de Bases de Datos TTA,7
tta_ensrestore=Orden para Recuperar ENS Backup de TTA,0
tta_ensrecreate=Orden para Inicializar ENS de TTA,0
tta_archive=Orden para archivar los logs de Tarantella,0
tta_emusessions=Orden para conocer las sesiones emulación Tarantella,0
tta_emusessions_end=Orden para finalizar sesiones emulación Tarantella,0
tta_websessions=Orden para conocer las sesiones Webtop Tarantella,0
tta_websessions_logout=Orden para desconectar sesiones Webtop Tarantella,0
tta_defsconf=Path donde se defines los valores del Servicio,8
stta_defslist=Path directorio listas de carga,7
tta_webtops=Path del la lista de Webtops para los usuarios TTA,8
ens_base= Tarantella Federal Name -TFN- (.../_ens/),0,30
tta_base=Raiz para el árbol del directorio ENS,0
sysusers_list=Path de la lista de Usuarios del Sistema,8
ou_list=Path de la lista de Organizaciones,8
grpapps_list=Path del la lista de Grupos de Aplicaciones,8
apps_list=Path de la lista de Aplicaciones,8
links_list=Path de la lista de Vínculos,8
domains_list=Path de la lista de Dominios,8
acts_list=Path de la lista de Acciones,8
grphosts_list=Path del la lista de Grupos de Hosts,8
hosts_list=Path de la lista de Hosts,8
hostsuser_list=Path de la lista de Usuarios de Hosts,8
profcache_list=Path de la lista de Perfiles de Cache,8
tta_defaults_obj=Path de valores por defecto de Objetos TTA Person,8
tta_defaults_ou=Path de valores por defecto de Objetos TTA OrgUnit,8
tta_defaults_hosts=Path de valores por defecto de Objetos TTA Host,8
default_portalive=Valor por defecto del puerto de status Hosts,0,4
ldapcache2_port=Número de puerto del servidor LDAP Cache 2,0,6
tta_defaults_grpapps=Valores por defecto de Objetos TTA Grupo Apps,8
tta_ldapUser=Path usuarios LDAP en Cache TTA(standard),0
has_ldapusers=Usa usuarios LDAP con TTA ?,1,true-true,false-false
has_systemusers=Usa usuarios del Sistema con TTA ?,1,true-true,false-false
ldap_type=LDAP Software ,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_dir=Path del directorio software LDAP,7
ldap_daemon=Path del daemon LDAP,8
ldap_restart=Orden para rearrancar LDAP,8
ldap_stop=Orden para parar LDAP,8
ldap_start=Orden para Arrancar LDAP,8
ldap2_restart=Orden para rearrancar LDAP 2,8
ldap2_conf=Archivo configuración LDAP 2,0
ldap_conf=Archivo configuración LDAP,0
ldap_backup=Orden para generar copia de BD LDAP,8
ldap_restore=Orden para recuperar copia de BD LDAP,8
ldap_backup_dir=Path para copias de BD LDAP,7
ldap_ldif=Orden para exportar la BD LDAP,8
ldap_load=Orden para Cargar la BD LDAP,8
ldap_ldif_dir=Path para exportar la BD LDAP,7
ldap_replicate=Path para replicar la BD LDAP,8
ldap_log_name=Path para el log LDAP ,8
ldap_log_perm=Permiso para gestionar el log LDAP ,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
ldap_log_fperm=Permiso del fichero log LDAP ,0,5
ldap_log_tail=Número líneas para ver desde el final de LDAP ,0,5
ldap_server=Nombre de host o IP del servidor LDAP,0
ldap_dirname=Nombre del directorio (sin-path) del servidor LDAP,0
ldap_servertitle=Descripción del servidor LDAP,0
ldap_port=Número de puerto del servidor LDAP,0,5
ldap_base=Raíz DN en el árbol del directorio,0
ldap_dnusers=Raíz DN para usuarios en árbol LDAP,0
ldap_user=Credenciales de administrador del LDAP,0
ldap_passwd=Password (texto) administrador LDAP,12
ldap_type=LDAP Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap_version=Version software LDAP,0
ldap_server_log_name=Path del log del servidor LDAP,8
ldap_server_log_perm=Permiso para gestionar el log Servidor LDAP,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
ldap_server_log_fperm=Permiso del fichero log Servidor LDAP,0,5
ldap_server_log_tail=Número líneas para ver desde el final del log Servidor LDAP,0,5
ldap_server_acclog_name=Path del log de Accesos al servidor LDAP,8
ldap_server_acclog_perm=Permiso para gestionar el log acceso LDAP,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
ldap_server_acclog_fperm=Permiso del fichero log acceso LDAP,0,5
ldap_server_acclog_tail=Número líneas para ver desde el final del log acceso LDAP,0,5
ldap2_server=Nombre de host o IP del servidor LDAP 2,0
ldap2_servertitle=Descripción del servidor LDAP 2,0
ldap2_port=Número de puerto del servidor LDAP 2,0,5
ldap2_user=Credenciales de administrador del LDAP 2,0
ldap2_passwd=Password (texto) administrador LDAP 2,12
ldap2_type=LDAP 2 Software,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldap2_version=Version software LDAP2,0
companydomain=Dominio de empresa por defecto,0
back_return=Módulo por defecto para enlace fin de página,0
companyntdomain=Dominio Windows NT por defecto,0
loginUsername=Login por defecto del usuario,0,12
masterHost=Host Master de las Tablas del Servicio,0
masterHostURL=URL del Host Master de las Tablas del Servicio,0
is_masterHost=Es Host Master de las Tablas de STTA ?,1,true-true,false-false
stta_sync=Sincronización automática de las Tablas de STTA ?,1,true-true,false-false
is_ldapcache=Esta usando el servicio LDAP Cache ?,1,true-true,false-false
cacherule_1=LDAP Cache Rule 1,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_2=LDAP Cache Rule 2,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_3=LDAP Cache Rule 3,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_4=LDAP Cache Rule 4,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_5=LDAP Cache Rule 5,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_6=LDAP Cache Rule 6,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cacherule_7=LDAP Cache Rule 7,4,none-None,users-Usuarios,ous-Organizaciones,apps-Aplicaciones,grpapps-Grupo Aplicaciones,hosts-Host,grphosts-Grupo Hosts,domains-Dominios (dns|nt)
cache_chkdefaults=Usar objeto por defecto LDAP Cache,1,true-true,false-false
cache_chkttalogin=Usar valores login de usuario tta en LDAP Cache,1,true-true,false-false
cache_scandebug=Nivel depuración de búsqueda en LDAP Cache,1,0-0,1-1,2-2
cache_domain=Dominio por defecto de login para LDAP Cache,0
cache_scancfg=Directorio de configuración LDAP Cache,7
cache_rulelimit=Número de reglas para LDAP Cache,0,1
cache_debuglog=Path fichero depuración LDAP Cache,7
cache_debuglog_dir=Path Directorio Logs depuración LDAP Cache,7
ldapcache_defaultobj=Objeto por defecto de LDAP Cache,0
ldapcache_dndefaultobj=DN último objeto por defecto de LDAP Cache,0
ldapcache_base=Raíz DN en el árbol del directorio LDAP Cache,0
ldapcache_server=Nombre de host o IP del servidor LDAP Cache,0
ldapcache_dirname=Nombre del directorio (sin-path) del servidor LDAP Cache,0
ldapcache_servertitle=Descripción del servidor LDAP Cache,0
ldapcache_port=Número de puerto del servidor LDAP Cache,0,6
ldapcache_user=Credenciales administrador LDAP Cache,0
ldapcache_passwd=Password (texto) administrador LDAP Cache,12
ldapcache_version=Version software LDAP Cache,0
ldapcache_server_log_name=Path del log del servidor LDAP Cache,8
ldapcache_server_log_perm=Permiso para gestionar el log LDAP Cache,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
ldapcache_server_log_fperm=Permiso del fichero log acceso LDAP Cache,0,5
ldapcache_server_log_tail=Número para ver desde el final del log acceso LDAP Cache,0,5
ldapcache_server_acclog_name=Path del log de Accesos al servidor LDAP Cache,8
ldapcache_server_acclog_perm=Permiso para gestionar el log acceso LDAP Cache,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
ldapcache_server_acclog_fperm=Permiso del fichero log acceso LDAP Cache,0,5
ldapcache_server_acclog_tail=Número líneas para ver desde el final del log acceso LDAP Cache,0,5
ldapcache2_server=Nombre de host o IP del servidor LDAP Cache 2,0
ldapcache2_servertitle=Descripción del servidor LDAP Cache 2,0
ldapcache2_port=Número de puerto del servidor LDAP Cache 2,0,6
ldapcache2_user=Credenciales administrador LDAP Cache 2,0
ldapcache2_passwd=Password (texto) administrador LDAP Cache 2,12
ldapcache2_type=Software de LDAP Cache 2,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache2_conf=Archivo configuración LDAP Cache 2 2,0
ldapcache2_version=Version software LDAP CacheCache 2,0
tta_ldapcacheUser=DN Base para Usuarios de TTA LDAP Cache,0
tta_ldapcacheApps=DN Base para Aplicaciones de TTA LDAP Cache,0
tta_ldapcacheHosts=DN Base para Hosts de TTA LDAP Cache,0
ldapcache_type=Software de LDAP Cache,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
ldapcache_dir=Path del directorio software LDAP Cache,7
ldapcache_daemon=Path to the LDAP Cache daemon,8
ldapcache_restart=Orden para rearrancar el LDAP Cache,8
ldapcache_stop=Orden para Parar el LDAP Cache,8
ldapcache_start=Orden para Arrancar el LDAP Cache,8
ldapcache2_restart=Orden para rearrancar el LDAP Cache 2,8
ldapcache_backup=Orden para copiar la BD LDAP Cache,8
ldapcache_restore=Orden para recuperar la BD LDAP Cache,8
ldapcache_backup_dir=Path para generar copias de la BD LDAP Cache,7
ldapcache_ldif=Orden para exportar la BD LDAP Cache,8
ldapcache_load=Orden para Cargar la BD LDAP Cache,8
ldapcache_ldif_dir=Path para exportar la BD del LDAP Cache,7
ldapcache_replicate=Path de la orden para replicar BD LDAP Cache ,8
ldapcache_conf=Archivo configuración LDAP Cache,0
apps_list=Path de las lista de Aplicaciones,8
tta_appwidth=Anchura (pixels) ventana de aplicaciones,0,6
tta_appheigth=Altura (pixels) ventana de aplicaciones,0,6
grpapps_list=Path para la lista de Grupo de Aplicaciones,8
domain_list=Path para la lista de Dominios,8
link_list=Path para la lista de Links,8
default_cat=Categoría por defecto,4,browsers-Navegadores,tta-Tarantella,ldap-ldap,password-Claves,ldapcache-Ldap_Cache,objects-Objetos,monitor-Monitor
order_cat=Orden de Categorías,4,none-Por defecto,alias-Por modulo,name-Por nombre
interface=Menu Interface,4,tabs-Tabs,index-index
monitor_scripts_path=Path de Guiones para el Monitor,0,30
mon_title=Titulo Monitor,0,30
act_list=Path de lista de acciones,0,30
filemgr_path=Path del Gestor de Ficheros,7
ttalog_path=Path Gestor logs de Tarantella,7
run_exec_user=Login para ejecutar órdenes,0,12
http_log_name=Path del log de HTTP,8
http_log_perm=Permiso para gestionar el log servidor HTTP,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
http_log_fperm=Permiso del fichero log servidor HTTP,0,5
http_log_tail=Número líneas para ver desde el final del log servidor HTTP,0,5
http_port=Número de puerto del servidor HTTP,0,5
https_log_name=Path del log de HTTPS,8
https_log_perm=Permiso para gestionar el log servidor HTTPS,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
https_log_fperm=Permiso del fichero log servidor HTTPS,0,5
https_log_tail=Número líneas para ver desde el final del log servidor HTTPS,0,5
httpacc_log_name=Path del log de accessos HTTP,8
httpacc_log_perm=Permiso para gestionar el log acceso HTTP,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
httpacc_log_fperm=Permiso del fichero log acceso HTTP,0,5
httpacc_log_tail=Número para ver desde el final del log acceso HTTP,0,5
httpsacc_log_name=Path del log de accessos HTTPS,8
httpsacc_log_perm=Permiso para gestionar el log acceso HTTPS,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
httpsacc_log_fperm=Permiso del fichero log acceso HTTPS,0,5
httpsacc_log_tail=Número para ver desde el final del log acceso HTTPS,0,5
https_port=Número de puerto del servidor HTTPS,0,5
system_log=Path del log del Sistem Operativo,7
tta_sessout_file=Path del Fichero de salida sesiones TTA,8
has_monitor=Está usando el Monitor TTA ?,1,true-true,false-false
has_cronsess=Usa Cron para Listar Sesiones ?,1,true-true,false-false
sessout_timeout=Recargar Informes de Sesiones,4,8-hora,12-minuto,11-10 minutos ,13-10 segundos ,14-Segundo
countsessout_file=Path del Fichero de Resumen de sesiones TTA,8
totalsessout_file=Path del Fichero de Acumulado de sesiones TTA,8
tta_billing_dir=Directorio de Informes de sesiones TTA,7
cmd_getosdata=Path del ejecutable para obtener datos del SO,0
osdataout_file=Path del Fichero de Acumulado de Datos SO,8
msg_noticket=Mensaje para ticket sesión no válido,0
msg_nosess=Mensaje de que no hay sesiones disponibles,0
check_maxsess=Comprobar límite de Sesiones,1,true-true,false-false
default_maxsess=Número ilimitado de Sesiones,0,5
check_ticket=Comprobar Ticket de Sesiones,1,true-true,false-false
output_cgis=Visualizar Errores por Pantalla,1,0-false,1-true
debug_code=Nivel de Depuración de Codigo en Ejecución,1,0-Ninguno,1-Nivel 1,2-Nivel 2,3-Nivel 3,4-Nivel 4
stta_debugname=Path y Prefijo para el Nombre del debug del CGI o herramienta STTA,0
stta_logname=Path y Prefijo para el Nombre del log del CGI o herramienta STTA,0
stta_logdir=Path del directorio de logs de CGIs y/o herramientas STTA,7
check_services=Comprobar Servicios en cada Acceso,1,true-true,false-false
iferror_services=Si hay error en Servicos,1,stop-Parar,warn-Avisar,browse-Consulta
iferror_objects=Si hay error en la Gestion de Objetos,1,stop-Parar,warn-Avisar
motd=Path fichero mensajes del entorno STTA,8
motd_style=Estilo de los mensajes del entorno STTA,4,marquee-Scroll,box-Recuadro
url_tta=URL para Ayuda de Software Tarantella,0
url_ldap=URL para Ayuda de Software LDAP,0
users_alias=Alias de Usuarios por Defecto,0
servers_alias=Alias de Servidores por Defecto,0
apps_alias=Alias de Aplicaciones por Defecto,0
help_active=Usar ayuda en las pantallas de entrada,1,true-true,false-false
bgimage=Imagen de fondo de páginas,8
cs_page=Color de fondo de página (hex),0,6
cs_table=Color de fondo cuerpo de Tablas (hex),0,6
cs_header=Color de fondo Cabeceras de Tablas (hex),0,6
cs_link=Color de enlaces de texto en páginas(hex),0,6
cs_text=Color de texto en páginas (hex),0,6
cs_revtext=Color de texto inverso en páginas (hex),0,6
feedback_to=Destinatario de comentarios STTA,0
feedback_packcmd=Orden para empaquetar directorio de comentarios,0
feedback_name=Nombre de quien envia los comentarios,0
feedback_email=Destinatarios de los comentarios,0
feedback_dirname=Directorio para empaquetar los comentarios,0
feedback_mailserver=Servidor SMTP para enviar comentarios,0
list_debuglogs_name=Path de lista de logs de debug,8
list_debuglogs_perm=Permiso para gestionar la lista de logs de debug,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
list_debuglogs_fperm=Permiso del fichero lista de logs de debug,0,5
list_debuglogs_delhours=Borrar cada fichero de lista de logs debug cada (en horas),0,6
list_sttalogs_name=Path de lista de logs de STTA,8
list_sttalogs_perm=Permiso para gestionar la lista de logs de STTA,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
list_sttalogs_fperm=Permiso del fichero lista de logs de STTA,0,5
list_sttalogs_delhours=Borrar cada fichero de lista de logs cada (en horas),0,6
list_backups_name=Path de lista de Copias,8
list_backups_perm=Permiso para gestionar la lista de Copias,4,all-Todos,read-Lectura,clean-Vaciar,modify-Escritura,run-Ejecutar
list_backups_fperm=Permiso del fichero lista de Copias,0,5
list_backups_delhours=Borrar cada fichero de lista de Copias cada (en horas),0,6
stta_hosts=Hosts con STTA (nombres separado por espacios),0
list_to_sync=Lista a sincronizar automaticamente (separada por espacios),0
other_list_sync=Lista de sincronización de STTA (separada por espacios),0
stta_tools_dir=Directorio de los tools de STTA,7
service_tosend=Método para envio de ficheros (replicaciones),4,ftp-FTP,http-HTTP,https-HTTPS
to_send_dir=Directorio de ficheros a enviar,7
get_dir=Directorio de ficheros recibidos,7
save_send_dir=Directorio para salvar envios,7
master_sender_host=Host Master de Envios,0
target_hosts=Host que reciben envios (nombres separado por espacios),0
login_tosend=Login para enviar ficheros (FTP),0,12
passw_tosend=Path fichero con password para envios (FTP),7
tclx_library=Path biblioteca TCL (tta),8
stta_wkdir=Directorio de trabajo (scripts),8
ziptool=Path herramienta de compresión,0
unziptool=Path herramienta de descompresión,0
backup_cmd=Orden para copiar ficheros (cpio),0
extract_cmd=Orden para extraer copia de ficheros (cpio),0
ldap_debug=Nivel de depuración de LDAP,0,4
ldapcache_debug=Nivel de depuración de LDAP CACHE,0,4
help_width=Ancho de la ventana de ayuda (pixels),0,6
help_height=Altura de la ventana de ayuda (pixels),0,6
stta_savedir=Directorio para guardar ficheros,7

45
stta/config.init Normal file
View File

@ -0,0 +1,45 @@
masterHost=HOSTNAME
tta_dir=TTA-SOFTWARE-DIR-PATH
ldapcache2_port=LDAPCACHE2-SERVERPORT
ldap_dnusers=o=ORGANIZATION-ROOT-LDAP-USERS-DN (HOSTNAME,dc=ttaldap,dc=DOMAIN)
ldap2_server=LDAP2-SERVER-HOSTNAME
companydomain=COMPANY-DOMAIN-FOR-EMAILS
ldapcache_dir=LDAP-SOFTWARE-DIR-PATH/ldap
tta_base=o=ORGANIZATION-TTA-DN
tta_daemon=TTA-SOFTWARE-DIR-PATH/bin/bin/ttaauxserv
ldap2_passwd=LDAP-PASSWORD
ldap_server=LDAP-SERVER-HOSTNAME
ldap2_user=cn=DIRECTORY-MANAGER-LOGIN (Directory Manager)
hostsuser_list=TTA-SOFTWARE-DIR-PATH/defs/.passwd
ldap_type=IPLANET
ldap_user=cn=DIRECTORY-MANAGER-LOGIN (Directory Manager)
ldapcache_server=LDAPCACHE-SERVER-HOSTNAME
ldapcache2_server=LDAPCACHE2-SERVER
ldapcache2_servertitle=SECONDARY-LDAP-SERVER-TITLE
tta_ldapcacheApps=o=ORGANIZATION-LDAP-dn
tta_ldapcacheUser=o=ORANIZATION-ROOT-USER
ldap_passwd=LDAP-PASSWORD
ldapcache_user=cn=DIRECTORY-MANAGER-LOGIN (Directory Manager)
ldapcache_passwd=LDAP-PASSWORD
ldapcache2_passwd=LDAP-PASSWORD
companyntdomain=COMPANY-DOMAIN
ldap2_servertitle=SECONDARY-LDAPCACHE-SERVER-TITLE
cache_domain=CACHE-DOMAIN
tta_ldapcacheHosts=o=ORGANIZATION-ROOT-HOSTS
ldap2_port=LDAP2-SERVERPORT
ldap_base=o=ORGANIZATION-ROOT-LDAP-TOP-DN (HOSTNAME,dc=ttaldap,dc=DOMAIN)
ldapcache2_user=cn=DIRECTORY-MANAGER-LOGIN (Directory Manager)
ldapcache_daemon=./ns-slapd
ldap_servertitle=PRIMARY-LDAP-SERVER-TITLE
tta_defaults_ou=TTA-SOFTWARE-DIR-PATH/defs/orgunit-defaults
tta_defaults_grpapps=TTA-SOFTWARE-DIR-PATH/defs/grpapps-defaults
tta_defaults_obj=TTA-SOFTWARE-DIR-PATH/defs/person-defaults
tta_defaults_hosts=TTA-SOFTWARE-DIR-PATH/defs/host-defaults
ldap_port=LDAP-SERVER
tta_websessions_logout=TTA-SOFTWARE-DIR-PATH/bin/tarantella webtopsession logout
ldapcache_servertitle=PRIMARY-LDAPCACHE-SERVER-TITLE
ldapcache_base=o=ORGANIZATION-ROOT-LDAPCACHE-TOP
ldapcache_port=LDAPCACHE-SERVER
https_port=HTTPS-SERVER-PORT
url_ldap=http://HOSTNAME/ldapmanuals/en/slapd/ag/contents.htm (for IPLANET enable ALIAS in HTTP server config)
stta_deflists=STTA-DEFS_LIST_PATH

122
stta/config_dir/config-aix Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-hpux Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-lfs-linux Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-msc-linux Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-openserver Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-solaris Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-suse-linux Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

122
stta/config_dir/config-unixware Executable file
View File

@ -0,0 +1,122 @@
tta_base=o=gestion.rima.telefonica.es
tta_aliascmd=/usr/sbin/tta
tta_status=/opt/tarantella/bin/tarantella status --byserver
companydomain=telefonica.es
back_return=/tarantella
ldap_backup_dir=/opt/save/bak
shell=/bin/true
tta_backup_dir=/opt/save
ldap_ldif_dir=/opt/save/ldif
tta_emusessions=/opt/tarantella/bin/tarantella emulatorsession list
tta_emusessions_end=/opt/tarantella/bin/tarantella emulatorsession end
tta_websessions=/opt/tarantella/bin/tarantella webtopsession list
tta_websessions_logout=/opt/tarantella/bin/tarantella webtopsession logout
ldap_dir=/opt/netscape/ldap
ldap_restart=/opt/netscape/ldap/slapd-ttaldap/restart-slapd
ldap2_restart=/opt/netscape/ldap/slapd-ttaldap2/restart-slapd
tta_dir=/opt/tarantella
tta_links=/opt/tarantella/defs/links
tta_archive=/opt/tarantella/bin/tarantella archive
tta_webtops=/opt/tarantella/defs/webtops
tta_restart=/opt/tarantella/bin/tarantella restart
tta_defsconf=/etc/webmin/trantella/defs.conf
ldap_daemon=./ns-slapd
ldap_backup=/opt/netscape/ldap/slapd-ttaldap/db2bak
ldap_replicate=/opt/tarantella/tools/ldapreplicate
tta_daemon=/opt/tarantella/bin/bin/ttaauxserv
tta_backup=/opt/tarantella/tools/ttabackup
ou_list=/opt/tarantella/defs/ou_list
ldap_ldif=/opt/netscape/ldap/slapd-ttaldap/db2ldif
ldap_base=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_port=389
ldap_server=ttaldap
ldap_servertitle=Primario
ldap_user=cn=DirectoryManager
ldap_passwd=tarantella
ldap2_port=16634
ldap2_server=ttaldap2
ldap2_servertitle=Secundario
ldap2_user=cn=DirectoryManager
ldap2_passwd=tarantella
tta_defaults_obj=/opt/tarantella/defs/person-defaults
tta_defaults_ou=/opt/tarantella/defs/orgunit-defaults
ldap_dnusers=o=gestion.rima.telefonica.es,dc=ttaldap,dc=gestion,dc=rima,dc=telefonica,dc=es
ldap_type=IPLANET
hosts_list=/opt/tarantella/defs/hosts_list
tta_defaults_hosts=/opt/tarantella/defs/hosts-defaults
Tta_daemon=
hostsuser_list=/opt/tarantella/defs/.passwd
ldap_log=/opt/save/ldap.log
grphosts_list=/opt/tarantella/defs/grphosts_list
profcache_list=/opt/tarantella/defs/profcache_list
companyntdomain=TTARIMA
loginUsername=ttauser
masterhost=alhambra
masterHostURL=http://alhambra:10000/tarantella
masterHost=alhambra
ens_base=.../_ens/
tta_ldapUser=.../_service/sco/tta/ldapcache/
ldapcache_passwd=tarantella
ldapcache_base=o=gestion.rima.telefonica.es
ldapcache_port=802
ldapcache_server=ttacache
ldapcache_servertitle=Primario
ldapcache_user=cn=DirectoryManager
ldapcache2_passwd=tarantella
ldapcache2_port=6889
ldapcache2_server=ttacache2
ldapcache2_servertitle=Secundario
ldapcache2_user=cn=DirectoryManager
ldapcache_dnapps=ou=RIMA,o=gestion.rima.telefonica.es
unixexp_app_default=/opt/tarantella/defs/conf/unix.exp
ldapcache_dnusers=ou=usuarios,o=gestion.rima.telefonica.es
winexp_app_default=/opt/tarantella/defs/conf/unixwin.exp
app_list=/opt/tarantella/defs/app_list
is_ldapcache=true
ldapcache_ldif_dir=/opt/save/ldif_cache
ldapcache_backup_dir=/opt/save/bak_cache
ldapcache_type=IPLANET
ldapcache_ldif=/opt/netscape/ldap/slapd-ttacache/db2ldif
ldapcache_daemon=./ns-slapd
ldapcache_backup=/opt/netscape/ldap/slapd-ttacache/db2bak
ldapcache_replicate=/opt/tarantella/tools/ldapcachereplicate
ldapcache_dir=/opt/netscape/ldap
ldapcache_restart=/opt/netscape/ldap/slapd-ttacache/restart-slapd
ldapcache2_restart=/opt/netscape/ldap/slapd-ttacache2/restart-slapd
ldapcache_log=/opt/save/ldapcahe.log
ldapcache_dnhosts=ou=servidores,o=gestion.rima.telefonica.es
tta_ldapcacheApps=o=gestion.rima.telefoncia.es
tta_ldapcacheUser=o=gestion.rima.telefoncia.es
tta_ldapcacheHosts=o=gestion.rima.telefoncia.es
ldapcache_targetpath=/opt/tarantella/defs/cachetarget_list
ldapcache_rulespath=/opt/tarantella/defs/rules_list
grpapps_list=/opt/tarantella/defs/grpapps_list
domain_list=/opt/tarantella/defs/domain_list
cacherule_1=apps
cacherule_2=grpapps
cacherule_3=hosts
cacherule_4=grphosts
cacherule_5=domains
ldapcache_defaultobj=default_obj
cache_chkdefaults=true
ldapcache_dndefaultobj=cn=default_obj,ou=RIMA
cache_domain=ttarima
cache_chkttalogin=true
cache_scandebug=2
cache_debuglog=/opt/tarantella/var/log/cache/ttadebug.log
cache_rulelimit=5
cache_scancfg=/etc/webmin/tarantella/config
ttases_id=Session ID
ttases_app=Application
ttases_client=Client
ttases_appserv=Application Server
ttases_time=Start Time
ttases_user=User
ttases_pe=Protocol Engine ID
ttases_resume=Resumable For
ttases_status=Status
ttases_serveruser=Application Server User
has_monitor=true
is_masterHost=true
default_cat=objects
interface=tabs

571
stta/config_info.pl Executable file
View File

@ -0,0 +1,571 @@
#!/usr/bin/perl
# config_info.pl
# configure Services with Tarantella
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
# stta: (@#) 1.31051043346- [2004_01_29_102036]
require '../web-lib.pl';
do 'web-lib.pl';
do 'global-lib.pl';
&init_config();
&load_dataconf();
$dataConf="dataconf";
$listfcfgs="ordercfgs";
$configValues="sttavalues";
$defaultcfg="defaultcfg";
$scancachecfg="scancache";
$envsttashell="envstta";
$scanlistcfgs="scanlistcfgs";
$envshlistcfgs="envshlistcfgs";
$now_is=&set_now();
sub config_form
{
&set_interface_colors(); # just to be sure !!!
if ( -r "$config_directory/$module_name/.insupd.lock" ) {
print "<tr><td><h2>$text{stta_locked} <h2></td><tr>\n";
}
$m = "stta";
&set_variables_cfg();
if (!(-d $configDir )) {
if ( $_[0] eq "report" ) {
print &error('config_error','config.cgi?stta');
return;
}
if ( -d "/etc/openldap" || -x "/usr/local/openldap/slapd" || -x "/usr/local/libexec/slapd" ) {
&read_file("$configDef/$defaultcfg.openldap", \%sttaconfig);
} else {
&read_file("$configDef/$defaultcfg.iplanet", \%sttaconfig);
}
# Use config.info to create config inputs
&read_file("$module_dir/configinit.info", \%info);
foreach $o (@lang_order_list) {
&read_file("$module_dir/configinit.info.$o", \%info);
}
@info_order=();
foreach $c (keys (%info)) {
push(@info_order, { 'name' => $c, 'title' => $info{$c} });
}
%einfo = %info;
@info_order = &unique(@info_order);
&set_values_from();
} else {
&read_file("$module_dir/config.info", \%infoall, \@info_orderall);
foreach $o (@lang_order_list) {
&read_file("$module_dir/config.info.$o", \%infoall, \@info_orderall);
}
if ( $fileCFG ne "" ) {
%listfcfgs=();
@orderfcfgs=();
&read_file("$baseDataConfDir/$listfcfgs", \%listaf);
foreach $d (keys (%listaf) ) {
if ( $d eq $fileCFG ) {
push(@orderfcfgs, $d );
$listfcfgs{$d}=$listaf{$d};
last;
}
}
} else {
&read_file("$baseDataConfDir/$listfcfgs", \%listfcfgs, \@orderfcfgs);
print "<table border=0 align=center>\n";
print "<tr $cb><td><ul></td></tr>\n";
local $i=0;
foreach $d (@orderfcfgs) {
$i++;
$item_title=$d."_title";
$item_help=$listfcfgs{$d};
print "<tr $cb><td valign=center><li>";
if ( $_[0] ne "report" ) {
print "<a class=\"menu1\" href=\"config.cgi?$d\"> <img SRC='/stta/images/icon_pencil.gif' width=20 heigth=18 align=top border=0></a>&nbsp;&nbsp; ";
}
print "<a class=\"menu1\" href=\"#$d\">$i - $text{$item_title}</a></td><td>",&hlink("<img SRC='/stta/images/info.gif' width=20 heigth=20 align=top border=0>","$item_help"),"</td><td align=rigth> - $d&nbsp;</li></td></tr>\n";
}
print "</ul></table><br>\n";
}
@orderf_cfgs = @orderfcfgs;
@orderfcfgs = sort @orderf_cfgs;
foreach $d (@orderfcfgs) {
%sttaconfig=();
%sttabase=();
@stta_base=();
%info=();
@info_order=();
&read_file("$configDir/$d", \%sttaconfig);
&read_file("$baseDataConf/$d", \%sttabase, \@stta_base);
if ( $d eq "session" ) {
if ( $sttaconfig{msg_noticket} eq "" ) {
$sttaconfig{msg_noticket}=$text{msg_noticket};
}
if ( $sttaconfig{msg_nosess} eq "" ) {
$sttaconfig{msg_nosess}=$text{msg_nosess};
}
}
$item_title=$d."_title";
$item_help=$listfcfgs{$d};
print "<tr><td>&nbsp;<b>$text{$item_title}<a name=\"$d\"></b></td></tr>\n";
print "<tr><td align=center><table border align=center>\n";
print "<tr $tb> <td>",&hlink("<img SRC='/stta/images/info.gif' width=20 heigth=20 align=top border=0><b>$text{$item_title}</b>","$item_help","stta","menu2"),"</b> - $d&nbsp;";
if ( $fileCFG eq "" && $_[0] ne "report" ) {
print "<a class=\"menu2\" href=\"config.cgi?$d\"><img SRC='/stta/images/icon_pencil.gif' width=20 heigth=18 align=top border=0>$text{modify}</a>";
}
print "</font></td></tr>\n";
print "<tr $cb> <td><table width=100%>\n";
foreach $c (@stta_base) {
$info{$c}=$infoall{$c};
push(@info_order, { 'name' => $c, 'title' => $infoall{$c} });
}
$einfo=%info;
@info_order = &unique(@info_order);
# @info_order = sort {$a->{'title'} cmp $b->{'title'}} @info_order;
if ( $_[0] eq 'report' ) {
&view_values_from();
} else {
&set_values_from();
}
print "</table></table></td></tr>\n";
}
if ( $ENV{'HTTP_USER_AGENT'} =~ /MSIE/ && $ENV{'HTTP_USER_AGENT'} =~ /Windows/
&& $fileCFG eq "" ) {
$text{'save'}="";
}
}
}
sub config_save
{
$m = $in{module} || "stta";
$fileCFG = $in{fcfg} || "";
&set_variables_cfg();
if (!(-d $configDir )) {
mkdir($configDir, 0777);
&init_dataconf();
if ( $main::config{'tta_dir'} ne "" ) {
&test_minfo("migrate","html");
system("cat $config_directory/$m/config > $configDir/config.old");
%main::config=(); # Reset
$main::config{'MIGRATE'}="$now_is $remote_user [".&get_system_hostname()."] dataconf/config.old";
} else {
%main::config=(); # Reset
}
$main::config{'CONFIG'}="look at dataconf directory --- everything is there !!!";
$main::config{'INSTALL'}="$now_is $remote_user [".&get_system_hostname()."]";
} else {
if ( $ENV{'HTTP_USER_AGENT'} =~ /MSIE/ && $ENV{'HTTP_USER_AGENT'} =~ /Windows/ && $fileCFG eq "" ) {
&header($text{'config_title'}, "", undef, 0, 1);
print "<hr width=\"100%\" noshade size=2><p>\n";
print "<p><p><p>\n";
print "<table width=100% border>\n";
print "<tr></tr><tr $cb><td align=center><b>$text{'ieconfigsave_err'}</b></td></tr>\n";
print "</table>\n";
print "$ENV{'HTTP_USER_AGENT'}<br>";
print "<hr noshade size=2>\n";
print "<p><p><p>\n";
&footer($config{'back_return'},$text{'index'});
print "<p><p><p>\n";
exit;
}
&read_file("$module_dir/config.info", \%infoall, \@info_orderall);
if ( $fileCFG ne "" && $fileCFG ne "ALL" ) {
%listfcfgs=();
@orderfcfgs=();
&read_file("$baseDataConfDir/$listfcfgs", \%listaf);
foreach $d (keys (%listaf) ) {
if ( $d eq $fileCFG ) {
push(@orderfcfgs, $d );
$listfcfgs{$d}=$listaf{$d};
$main::config{$fileCFG}="$now_is $remote_user [".&get_system_hostname()."]";
last;
}
}
} else {
&read_file("$baseDataConfDir/$listfcfgs", \%listfcfgs, \@orderfcfgs);
$main::config{'UPDATEFULL'}="$now_is $remote_user [".&get_system_hostname()."]";
}
foreach $d (@orderfcfgs) {
%sttabase=();
@stta_base=();
%info=();
@info_order=();
&read_file("$baseDataConf/$d", \%sttabase, \@stta_base);
foreach $c (@stta_base) {
push(@info_order, $c );
$info{$c}=$infoall{$c};
}
@info_order = &unique(@info_order);
%sttaconfig=();
&get_values_tosave();
&lock_file("$configDir/$d");
open(CFGFILE, ">$configDir/$d") || &error(&text("efilewrite", $configDir/$d, $!));
foreach $c (@info_order) {
if (exists($sttaconfig{$c})) {
(print CFGFILE $c,"=",$sttaconfig{$c},"\n") ||
&error(&text("efilewrite", $configDir/$d, $!));
}
}
close(CFGFILE);
&unlock_file("$configDir/$d");
}
}
&make_scancfg();
&make_envshfile();
}
sub set_variables_cfg
{
$module_dir="$root_directory/stta";
$configDir="$config_directory/$m/$dataConf";
$configDef="$module_dir/$dataConf/defs";
$baseDataConf="$module_dir/dataconf/base";
$baseDataConfDir="$module_dir/dataconf";
foreach $l (@lang_order_list) {
&read_file("$module_dir/lang/cfg/$l", \%text);
}
foreach $k (keys %text) {
$text{$k} =~ s/\$([A-Za-z0-9\.\-\_]+)/text_subs($1,\%text)/ge;
}
}
sub make_scancfg
{
local %scanconfig=();
local %listfcfgs=();
local @scanfcfgs=();
local $d="";
local $v="";
&read_file("$baseDataConfDir/$scanlistcfgs", \%listfcfgs, \@scanfcfgs);
foreach $d (@scanfcfgs) {
&read_file("$configDir/$d", \%scanconfig);
}
&write_file("$configDir/$scancachecfg", \%scanconfig);
}
sub make_envshfile
{
local %listvcfgs=();
local @scanvcfgs=();
local $d="";
local $v="";
%config=();
&load_dataconf();
&read_file("$baseDataConfDir/$envshlistcfgs", \%listvcfgs, \@scanvcfgs);
open(ARFILE,">$configDir/$envsttashell");
print ARFILE "#!/bin/sh \n";
print ARFILE "$text{set_env_vars}\n";
print ARFILE "# \n";
print ARFILE "STTA_CFGDIR=$configDir ; export STTA_CFGDIR \n";
print ARFILE "WEBMIN_ETC=$config_directory ; export WEBMIN_ETC \n";
print ARFILE "WEBMIN_ROOT=$root_directory ; export WEBMIN_ROOT \n";
print ARFILE "WEBMIN_LANG=$gconfig{lang}; export WEBMIN_LANG \n";
@scanvcfgs = sort @scanvcfgs;
foreach $d (@scanvcfgs) {
$v=$listvcfgs{$d};
print ARFILE "$d=\"".$config{$v}."\"; export $d\n";
}
close(ARFILE);
chmod(0555, "$configDir/$envsttashell");
if ( $config{stta_tools_dir} && -d $config{stta_tools_dir} ) {
system("cp -p $configDir/$envsttashell $config{stta_tools_dir}");
chmod(0555, "$config{stta_tools_dir}/$envsttashell");
}
}
sub get_values_tosave
{
foreach $c (@info_order) {
@p = split(/,/, $info{$c});
if ($p[1] == 0 || $p[1] == 7 || $p[1] == 8 || $p[1] == 12 ) {
# Free text input
$sttaconfig{$c} = $in{$c};
}
elsif ($p[1] == 1 || $p[1] == 4) {
# One of many
$sttaconfig{$c} = $in{$c};
}
elsif ($p[1] == 5 || $p[1] == 6) {
# User or group
$sttaconfig{$c} = ($p[2] && $in{$c."_def"} ? "" : $in{$c});
}
elsif ($p[1] == 2) {
# Many of many
$in{$c} =~ s/\0/,/g;
$sttaconfig{$c} = $in{$c};
}
elsif ($p[1] == 3) {
# Optional free text
if ($in{$c."_none"}) { $sttaconfig{$c} = ""; }
else { $sttaconfig{$c} = $in{$c}; }
}
elsif ($p[1] == 9) {
# Multilines of free text
local $sp = $p[4] ? eval "\"$p[4]\"" : " ";
$in{$c} =~ s/\r//g;
$in{$c} =~ s/\n/$sp/g;
$in{$c} =~ s/\s+$//;
$sttaconfig{$c} = $in{$c};
}
elsif ($p[1] == 10) {
# One of many or free text
if ($in{$c} eq 'free') {
$sttaconfig{$c} = $in{$c.'_free'};
}
else {
$sttaconfig{$c} = $in{$c};
}
}
}
}
sub set_values_from
{
foreach $lineform (@info_order) {
$c=$lineform->{'name'};
@p = split(/,/, $info{$c});
@ep = split(/,/, $einfo{$c});
if (scalar(@ep) > scalar(@p)) {
push(@p, @ep[scalar(@p) .. @ep-1]);
}
if ($p[1] == 11) {
print "<tr><td colspan=3 $tb><font color='\$revtext'>\n" ;
print "\t<b>" . &hlink($p[0],"config/$c") . "</b></font>\n</td></tr>\n" ;
next;
}
print "<tr> <td valign=top><b>".&hlink($p[0],"config/$c")."</b></td>\n";
print "<td nowrap>\n";
$qw = $sttaconfig{$c} =~ /'/ ? '"' : "'";
if ($p[1] == 0 || $p[1] == 12) {
$size = $p[2] ? "size=$p[2]" : "size=40";
$max = $p[3] ? "maxlength=$p[3]" : "";
$type = $p[1] == 12 ? "type=password" : "";
print "<input name=\"$c\" $size $max $type value=$qw$sttaconfig{$c}$qw>\n";
}
elsif ($p[1] == 1) {
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
printf "<input type=radio name=\"$c\" value='$1' %s>\n",
$sttaconfig{$c} eq $1 ? "checked" : "";
print "$2 &nbsp;&nbsp;\n";
}
}
elsif ($p[1] == 2) {
local %sel;
map { $sel{$_}++ } split(/,/, $sttaconfig{$c});
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
printf "<input type=checkbox name=\"$c\" value='$1' %s>\n", $sel{$1} ? "checked" : "";
print "$2 &nbsp;&nbsp;\n";
}
}
elsif ($p[1] == 3) {
$none = $p[2] ? $p[2] : $text{'config_none'};
printf "<input type=radio name=\"%s_none\" value=1 %s> $none\n",
$c, $sttaconfig{$c} eq "" ? "checked" : "";
print "&nbsp;&nbsp;\n";
printf "<input type=radio name=\"%s_none\" value=0 %s>\n",
$c, $sttaconfig{$c} eq "" ? "" : "checked";
print "<input name=\"$c\" size=20 value=$qw$sttaconfig{$c}$qw>\n";
}
elsif ($p[1] == 4) {
print "<select name=\"$c\">\n";
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S+)\-(.*)$/;
printf "<option value=\"$1\" %s>$2\n",
$sttaconfig{$c} eq $1 ? "selected" : "";
}
print "</select>\n";
}
elsif ($p[1] == 5) {
if ($p[2]) {
printf
"<input type=radio name=${c}_def value=1 %s>$p[2]\n",
$sttaconfig{$c} eq "" ? "checked" : "";
printf "<input type=radio name=${c}_def value=0 %s>\n",
$sttaconfig{$c} eq "" ? "" : "checked";
}
print &unix_user_input($c, $sttaconfig{$c});
}
elsif ($p[1] == 6) {
if ($p[2]) {
printf
"<input type=radio name=${c}_def value=1 %s>$p[2]\n",
$sttaconfig{$c} eq "" ? "checked" : "";
printf "<input type=radio name=${c}_def value=0 %s>\n",
$sttaconfig{$c} eq "" ? "" : "checked";
}
print &unix_group_input($c, $sttaconfig{$c});
}
elsif ($p[1] == 7) {
print "<input name=\"$c\" size=40 value=$qw$sttaconfig{$c}$qw> ",
&file_chooser_button($c, 1);
}
elsif ($p[1] == 8) {
print "<input name=\"$c\" size=40 value=$qw$sttaconfig{$c}$qw> ",
&file_chooser_button($c, 0);
}
elsif ($p[1] == 9) {
local $cols = $p[2] ? $p[2] : 40;
local $rows = $p[3] ? $p[3] : 5;
local $sp = $p[4] ? eval "\"$p[4]\"" : " ";
print "<textarea name=\"$c\" rows=$rows cols=$cols>",
join("\n", split(/$sp/, $sttaconfig{$c})),
"</textarea>\n";
}
elsif ($p[1] == 10) {
local $fv = $sttaconfig{$c};
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
printf "<input type=radio name=\"$c\" value=\"$1\" %s>\n",
$sttaconfig{$c} eq $1 ? "checked" : "";
print "$2 &nbsp;&nbsp;\n";
$fv = undef if ($sttaconfig{$c} eq $1);
}
printf "<input type=radio name=\"$c\" value=free %s>\n",
$fv ? "checked" : "";
print "<input name=\"${c}_free\" value='$fv'>\n";
}
print "</td> </tr>\n";
}
}
sub view_values_from
{
foreach $lineform (@info_order) {
$c=$lineform->{'name'};
@p = split(/,/, $info{$c});
@ep = split(/,/, $einfo{$c});
if (scalar(@ep) > scalar(@p)) {
push(@p, @ep[scalar(@p) .. @ep-1]);
}
if ($p[1] == 11) {
print "<tr><td colspan=3 $tb><font color='\$revtext'>\n" ;
print "\t<b>" . $p[0] . "</b></font>\n</td></tr>\n" ;
next;
}
print "<tr> <td valign=top><b>$p[0]</b></td>\n";
print "<td nowrap>\n";
$qw = $sttaconfig{$c} =~ /'/ ? '"' : "'";
if ($p[1] == 0 || $p[1] == 12) {
$size = $p[2] ? "size=$p[2]" : "size=40";
$max = $p[3] ? "maxlength=$p[3]" : "";
$type = $p[1] == 12 ? "type=password" : "";
print "$sttaconfig{$c}\n";
}
elsif ($p[1] == 1) {
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
if ( $sttaconfig{$c} eq $1 ) { print "$2 &nbsp;&nbsp;\n";}
}
}
elsif ($p[1] == 2) {
local %sel;
map { $sel{$_}++ } split(/,/, $sttaconfig{$c});
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
if ( $sel{$1} ) { print "$2 &nbsp;&nbsp;\n";}
}
}
elsif ($p[1] == 3) {
$none = $p[2] ? $p[2] : $text{'config_none'};
if ( $sttaconfig{$c} ) { print "$c &nbsp;&nbsp; $sttaconfig{$c}\n";}
}
elsif ($p[1] == 4) {
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S+)\-(.*)$/;
if ( $sttaconfig{$c} eq $1 ) { print "$2\n";}
}
}
elsif ($p[1] == 5) {
if ($p[2]) {
if ( $sttaconfig{$c} ) { print "$p[2]\n";}
}
print &unix_user_input($c, $sttaconfig{$c});
}
elsif ($p[1] == 6) {
if ($p[2]) {
if ( $sttaconfig{$c} ) { print "$p[2]\n";}
}
print &unix_group_input($c, $sttaconfig{$c});
}
elsif ($p[1] == 7) {
print "$sttaconfig{$c}";
}
elsif ($p[1] == 8) {
print "$sttaconfig{$c}";
}
elsif ($p[1] == 9) {
local $cols = $p[2] ? $p[2] : 40;
local $rows = $p[3] ? $p[3] : 5;
local $sp = $p[4] ? eval "\"$p[4]\"" : " ";
print join("\n", split(/$sp/, $sttaconfig{$c})),"\n";
}
elsif ($p[1] == 10) {
local $fv = $sttaconfig{$c};
for($i=2; $i<@p; $i++) {
$p[$i] =~ /^(\S*)\-(.*)$/;
if ( $sttaconfig{$c} eq $1 ) { print "$2 &nbsp;&nbsp;\n";}
$fv = undef if ($sttaconfig{$c} eq $1);
}
printf "%s\n",
$fv ? "checked" : "";
print "$fv\n";
}
print "</td> </tr>\n";
}
}
sub init_dataconf
{
%sttaconfig=();
# Use config.info to parse config inputs
&read_file("$module_dir/configinit.info", \%info, \@info_order);
%einfo = %info;
foreach $o (@lang_order_list) {
&read_file("$module_dir/configinit.info.$o", \%info, \@info_order);
}
@info_order = &unique(@info_order);
&get_values_tosave;
&write_file("$configDef/$configValues", \%sttaconfig);
if ( $in{ldap_type} eq "OpenLDAP" ) {
$suffixcfg=".openldap";
} else {
$suffixcfg=".iplanet";
}
&read_file("$configDef/$listfcfgs$suffixcfg", \%listfcfgs, \@orderfcfgs);
@orderfcfgs = &unique(@orderfcfgs);
&read_file("$configDef/$configValues", \%sttaValues);
foreach $d (@orderfcfgs) {
%config=();
$nomFile=$d;
$nomFile=~ s/$suffixcfg//g;
&lock_file("$configDir/$nomFile");
&read_file("$configDef/$d", \%config);
foreach $o (@lang_order_list) {
&read_file("$configDef/$d.$o", \%config);
}
foreach $c (keys (%config)) {
foreach $v (keys (%sttaValues)) {
if ( $config{$c} =~ /$v/ ) {
$config{$c}=~s/$v/$sttaValues{$v}/g;
}
if ( $c eq $v && $c ne "" ) { $config{$c}=$sttaValues{$v} }
}
if ( $main::config{'tta_dir'} ne "" && $main::config{$c} ne "" ) {
$config{$c}=$main::config{$c}; # this is to migrate config file
}
}
&write_file("$configDir/$nomFile", \%config);
&unlock_file("$configDir/$nomFile");
}
&write_file("$configDir/$configValues", \%sttaValues);
}
1; # Return true

70
stta/configinit.info Normal file
View File

@ -0,0 +1,70 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
#
ldap_type=LDAP Software ,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
is_masterHost=Es Host Master de las Tablas del Servicio,1,true-true,false-false
masterHostURL=Master Host URL for Service Tables,0,30
is_ldapcache=Esta usando el servico LDAP-CACHE,1,true-true,false-false
has_monitor=Está usando el Monitor TTA,1,true-true,false-false
has_cronsess=Usa Cron para Listar Sessiones,1,true-true,false-false
help_active=Usar ayuda en los campos entrada de datos,1,true-true,false-false
HOSTSERVER-TITLE=Decripción del Servidor,0
MASTER-HOSTNAME=Host Master Name for URLs de las Tablas del Servicio,0
SAVE-PATH-DIR=Path del directorio para Salvar Copias, diffs, etcs,7
TTA-SOFTWARE-DIR-PATH=Path del directorio de Tarantella,7
HTTP-WEBMIN-PROTOCOL=Webmin Protocol,1,http-Normal,https-SSL
OPENLDAP-SOFTWARE-DIR-PATH=Path del directorio de Sofware LDAP OpenLDAP,7
OPENLDAP-LDAP-DIR-NAME=Directorio de Sofware LDAP OpenLDAP,7
IPLANET-SOFTWARE-DIR-PATH=Path del directorio de Sofware LDAP IPLANET,7
IPLANET-LDAP-DIR-NAME=Directorio de Sofware LDAP IPLANET,7
TTALDAP-NAME=Nombre del directorio de configuración del LDAP,8
LDAP-DAEMON=Nombre del daemon de ldap para "ps" ,8
ORGANIZATION-TTA-DN=Raíz ENS en el árbol del directorio TTA,0
ORGANIZATION-ROOT-LDAP-TOP-DN=Raíz DN en el árbol del directorio LDAP,0
ORGANIZATION-ROOT-LDAP-USERS-DN=Raíz DN para usuarios en árbol LDAP,0
LDAP-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAP,0
LDAP-SERVERPORT=Número de puerto del servidor LDAP,0,5
LDAP-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAP,0
LDAP-PASSWORD=Password (texto) administrador LDAP,12
LDAP-VERSION=version del Software de LDAP,0,2
PRIMARY-LDAP-SERVER-TITLE=Descripción del servidor LDAP,0
LDAP2-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAP2,0
LDAP2-SERVERPORT=Número de puerto del servidor LDAP2,0,5
LDAP2-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAP2,0
LDAP2-PASSWORD=Password (texto) administrador LDAP2,12
LDAP2-VERSION=version del Software de LDAP2,0,2
SECONDARY-LDAP-SERVER-TITLE=Descripción del servidor LDAP2,0
ORGANIZATION-ROOT-LDAPCACHE-TOP=Raíz DN en el árbol del directorio,0
ORANIZATION-ROOT-USER-LDAPCACHE-DN=Path Base para Usuarios de TTA LDAP CACHE,0
ORGANIZATION-ROOT-APPS-LDAPCACHE-DN=Path Base para Aplicaciones de TTA LDAP CACHE,0
ORGANIZATION-ROOT-HOSTS-LDAPCACHE-DN=Path Base para Hosts de TTA LDAP CACHE,0
CACHE-DOMAIN=Default LDAP CACHE domain for TTA login,0,20
LDAPCACHE-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAPCACHE,0
LDAPCACHE-SERVERPORT=Número de puerto del servidor LDAPCACHE,0,5
LDAPCACHE-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAPCACHE,0
LDAPCACHE-PASSWORD=Password (texto) administrador LDAPCACHE,12
LDAPCACHE-VERSION=version del Software de LDAPCACHE,0,2
PRIMARY-LDAPCACHE-SERVER-TITLE=Descripción del servidor LDAPCACHE,0
TTACACHE-NAME=Nombre del directorio de configuración del LDAPCACHE,8
LDAPCACHE2-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAPCACHE2,0
LDAPCACHE2-SERVERPORT=Número de puerto del servidor LDAPCACHE2,0,5
LDAPCACHE2-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAPCACHE2,0
LDAPCACHE2-PASSWORD=Password (texto) administrador LDAPCACHE2,12
LDAPCACHE2-VERSION=version del Software de LDAPCACHE2,0,2
SECONDARY-LDAPCACHE-SERVER-TITLE=Descripción del servidor LDAPCACHE2,0
COMPANY-DOMAIN=Dominio de empresa por defecto,0
COMPANY-DOMAIN-FOR-EMAILS=Default mail Company domain for new users,0,20
HTTP-SERVER-PORT=Número de puerto del servidor HTTP,0,5
HTTP-SOFTWARE-DIR-LOG=Path del log de HTTP,8
HTTPS-SERVER-PORT=Número de puerto del servidor HTTPS,0,5
HTTPS-SOFTWARE-DIR-LOG=Path del log de HTTPS,8
STTA-DEFS_LIST_PATH=Path del directorio de listas definidas para STTA,7

70
stta/configinit.info.en Normal file
View File

@ -0,0 +1,70 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
#
ldap_type=LDAP Software ,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
is_masterHost=Is Tables Service Host Master ?,1,true-true,false-false
masterHostURL=Tables Service Host Master URL,0,30
is_ldapcache=Use LDAP Cache service ?,1,true-true,false-false
has_monitor=Use STTA Monitor ?,1,true-true,false-false
has_cronsess=Use Cron for sessions list ?,1,true-true,false-false
help_active=Use help in forms fields ?,1,true-true,false-false
HOSTSERVER-TITLE=Server description,0
MASTER-HOSTNAME=Tables service Host Master Name,0
SAVE-PATH-DIR=Copy save files dyrectory patih (diffs etc),7
TTA-SOFTWARE-DIR-PATH=Tarantella software directory path,7
HTTP-WEBMIN-PROTOCOL=Webmin Protocol,1,http-Normal,https-SSL
OPENLDAP-SOFTWARE-DIR-PATH=LDAP software directory path (OpenLDAP),7
OPENLDAP-LDAP-DIR-NAME=LDAP software directory (OpenLDAP),7
IPLANET-SOFTWARE-DIR-PATH=LDAP software directory path (IPLANET),7
IPLANET-LDAP-DIR-NAME=LDAP software directory (IPLANET),7
TTALDAP-NAME=LDAP configuration directory name,8
LDAP-DAEMON=LDAP daemon name for "ps" ,8
ORGANIZATION-TTA-DN=ENS root in TTA directory tree,0
ORGANIZATION-ROOT-LDAP-TOP-DN=DN root in LDAP directory tree,0
ORGANIZATION-ROOT-LDAP-USERS-DN=LDAP user DN root in directory tree,0
LDAP-SERVER-HOSTNAME=LDAP server host name or server IP,0
LDAP-SERVERPORT=LDAP server port number,0,5
LDAP-DIRECTORY-MANAGER-LOGIN=LDAP administrator credentials,0
LDAP-PASSWORD=LDAP administrator password (text),12
LDAP-VERSION=LDAP software version,0,2
PRIMARY-LDAP-SERVER-TITLE=LDAP server description,0
LDAP2-SERVER-HOSTNAME=LDAP 2 host name or server IP,0
LDAP2-SERVERPORT=LDAP 2 sever port number,0,5
LDAP2-DIRECTORY-MANAGER-LOGIN=LDAP 2 administrator credentials.0
LDAP2-PASSWORD=LDAP 2 administrator password (text),12
LDAP2-VERSION=LDAP 2 software version,0,2
SECONDARY-LDAP-SERVER-TITLE=LDAP 2 server description,0
ORGANIZATION-ROOT-LDAPCACHE-TOP=LDAP Cache DN root in directory tree,0
ORANIZATION-ROOT-USER-LDAPCACHE-DN=LDAP Cache TTA Users base path,0
ORGANIZATION-ROOT-APPS-LDAPCACHE-DN=LDAP Cache TTA Applications base path,0
ORGANIZATION-ROOT-HOSTS-LDAPCACHE-DN=LDAP Cache TTA Hosts base path,0
CACHE-DOMAIN=Default LDAP CACHE domain for TTA login,0,20
LDAPCACHE-SERVER-HOSTNAME=LDAP Cache host name or server IP,0
LDAPCACHE-SERVERPORT=LDAP Cache server port number,0,5
LDAPCACHE-DIRECTORY-MANAGER-LOGIN=LDAP Cache administrator credentials,0
LDAPCACHE-PASSWORD=LDAP Cache administrator password (text),12
LDAPCACHE-VERSION=LDAP Cache software version,0,2
PRIMARY-LDAPCACHE-SERVER-TITLE=LDAP Cache serer description,0
TTACACHE-NAME=LDAP Cache configuration directory name,8
LDAPCACHE2-SERVER-HOSTNAME=LDAP Cache 2 host name or server IP,0
LDAPCACHE2-SERVERPORT=LDAP Cache 2 server port number,0,5
LDAPCACHE2-DIRECTORY-MANAGER-LOGIN=LDAP Cache i2 administrator credentials,0
LDAPCACHE2-PASSWORD=LDAP Cache 2 administrator password (text),12
LDAPCACHE2-VERSION=LDAP Cache 2 software version,0,2
SECONDARY-LDAPCACHE-SERVER-TITLE=LDAP Cache 2 server description,0
COMPANY-DOMAIN=Default company domain,0
COMPANY-DOMAIN-FOR-EMAILS=Default mail Company domain for new users,0,20
HTTP-SERVER-PORT=HTTP server port number,0,5
HTTP-SOFTWARE-DIR-LOG=HTTP log path,8
HTTPS-SERVER-PORT=HTTPS server port number,0,5
HTTPS-SOFTWARE-DIR-LOG=HTTPS log path,8
STTA-DEFS_LIST_PATH=Directory path for STTA defined lists,7

70
stta/configinit.info.es Normal file
View File

@ -0,0 +1,70 @@
# STTA Rev. 1.3 Copyright (c) 2001-2004 Jesús Pérez Lorenzo --- license GNU GPL
#
ldap_type=LDAP Software ,1,OpenLDAP-OpenLDAP,IPLANET-IPLANET
is_masterHost=Es Host Master de las Tablas del Servicio ?,1,true-true,false-false
masterHostURL=URL del Host Master de la tablas del servicio,0,30
is_ldapcache=Esta usando el servicio LDAP-CACHE,1,true-true,false-false
has_monitor=Está usando el Monitor STTA ? ,1,true-true,false-false
has_cronsess=Usa Cron para Listar Sessiones ? ,1,true-true,false-false
help_active=Usar ayuda en los campos entrada de datos ?,1,true-true,false-false
HOSTSERVER-TITLE=Decripción del Servidor,0
MASTER-HOSTNAME=Host Master Name for URLs de las Tablas del Servicio,0
SAVE-PATH-DIR=Path del directorio para Salvar Copias, diffs, etcs,7
TTA-SOFTWARE-DIR-PATH=Path del directorio de Tarantella,7
HTTP-WEBMIN-PROTOCOL=Webmin Protocol,1,http-Normal,https-SSL
OPENLDAP-SOFTWARE-DIR-PATH=Path del directorio de Sofware LDAP OpenLDAP,7
OPENLDAP-LDAP-DIR-NAME=Directorio de Sofware LDAP OpenLDAP,7
IPLANET-SOFTWARE-DIR-PATH=Path del directorio de Sofware LDAP IPLANET,7
IPLANET-LDAP-DIR-NAME=Directorio de Sofware LDAP IPLANET,7
TTALDAP-NAME=Nombre del directorio de configuración del LDAP,8
LDAP-DAEMON=Nombre del daemon de ldap para "ps" ,8
ORGANIZATION-TTA-DN=Raíz ENS en el árbol del directorio TTA,0
ORGANIZATION-ROOT-LDAP-TOP-DN=Raíz DN en el árbol del directorio LDAP,0
ORGANIZATION-ROOT-LDAP-USERS-DN=Raíz DN para usuarios en árbol LDAP,0
LDAP-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAP,0
LDAP-SERVERPORT=Número de puerto del servidor LDAP,0,5
LDAP-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAP,0
LDAP-PASSWORD=Password (texto) administrador LDAP,12
LDAP-VERSION=version del Software de LDAP,0,2
PRIMARY-LDAP-SERVER-TITLE=Descripción del servidor LDAP,0
LDAP2-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAP2,0
LDAP2-SERVERPORT=Número de puerto del servidor LDAP2,0,5
LDAP2-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAP2,0
LDAP2-PASSWORD=Password (texto) administrador LDAP2,12
LDAP2-VERSION=version del Software de LDAP2,0,2
SECONDARY-LDAP-SERVER-TITLE=Descripción del servidor LDAP2,0
ORGANIZATION-ROOT-LDAPCACHE-TOP=Raíz DN en el árbol del directorio,0
ORANIZATION-ROOT-USER-LDAPCACHE-DN=Path Base para Usuarios de TTA LDAP CACHE,0
ORGANIZATION-ROOT-APPS-LDAPCACHE-DN=Path Base para Aplicaciones de TTA LDAP CACHE,0
ORGANIZATION-ROOT-HOSTS-LDAPCACHE-DN=Path Base para Hosts de TTA LDAP CACHE,0
CACHE-DOMAIN=Default LDAP CACHE domain for TTA login,0,20
LDAPCACHE-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAPCACHE,0
LDAPCACHE-SERVERPORT=Número de puerto del servidor LDAPCACHE,0,5
LDAPCACHE-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAPCACHE,0
LDAPCACHE-PASSWORD=Password (texto) administrador LDAPCACHE,12
LDAPCACHE-VERSION=version del Software de LDAPCACHE,0,2
PRIMARY-LDAPCACHE-SERVER-TITLE=Descripción del servidor LDAPCACHE,0
TTACACHE-NAME=Nombre del directorio de configuración del LDAPCACHE,8
LDAPCACHE2-SERVER-HOSTNAME=Nombre de host o IP del servidor LDAPCACHE2,0
LDAPCACHE2-SERVERPORT=Número de puerto del servidor LDAPCACHE2,0,5
LDAPCACHE2-DIRECTORY-MANAGER-LOGIN=Credenciales de administrador del LDAPCACHE2,0
LDAPCACHE2-PASSWORD=Password (texto) administrador LDAPCACHE2,12
LDAPCACHE2-VERSION=version del Software de LDAPCACHE2,0,2
SECONDARY-LDAPCACHE-SERVER-TITLE=Descripción del servidor LDAPCACHE2,0
COMPANY-DOMAIN=Dominio de empresa por defecto,0
COMPANY-DOMAIN-FOR-EMAILS=Default mail Company domain for new users,0,20
HTTP-SERVER-PORT=Número de puerto del servidor HTTP,0,5
HTTP-SOFTWARE-DIR-LOG=Path del log de HTTP,8
HTTPS-SERVER-PORT=Número de puerto del servidor HTTPS,0,5
HTTPS-SOFTWARE-DIR-LOG=Path del log de HTTPS,8
STTA-DEFS_LIST_PATH=Path del directorio de listas definidas para STTA,7

407
stta/copia/installupd-lib.pl Executable file
View File

@ -0,0 +1,407 @@
# installupd-lib.pl
# STTA Rev. 1.3 Copyright (c) 2001-2002 Jesús Pérez Lorenzo --- license GNU GPL
# Common functions for Install / update
sub show_tta_serv_table
{
&load_ttaprops();
&scanSTTA_services("all");
$text_str="";
&checkSTTA_services("all","status",\$text_str);
&printSTTA_config(\$text_str,"=");
$text_str=~s/STTA:/<tr><td><li>/g;
$text_str=~s/\n/<\/b><\/td><\/tr>/g;
$text_str=~s/==/<td><b>/g;
$html_str.="<tr $cb><td><table width=100% border><tr $tb> <td><big><b>".$text{srvSTATUS}."</b></big></td></tr>";
$html_str.="<tr $cb> <td><table width=100%><td>";
$html_str.="<ul>$text_str</ul>";
$html_str.="</table></table>";
print $html_str;
print "</td></tr>\n";
}
sub show_procServ
{
my ($serv) = $_[0] || return undef;
my ($outhtml) = $_[1] || 1;
my ($edit_ps) = $_[2] || 1;
$title_list=$serv."ps_list_title";
$title_idx=$serv."ps_title";
print "<tr $tb> <td align><big><b>$text{$title_idx}</b></big></td> </tr>\n";
$daemon=$serv."_daemon";
@line=split(/\//, $config{$daemon}, -1);
$daemonStr=$line[$#line];
return &get_processes_list($daemonStr,$outhtml,$edit_ps);
}
sub check_ps_serv
{
print "<tr $cb> <td><table width=100%><td>";
@ttaps=&show_procServ("tta");
print "</tr></td></table><tr $cb> <td><table width=100%><td>";
@ldapps=&show_procServ("ldap");
print "</tr></td></table><tr $cb> <td><table width=100%><td>";
@ldapcacheps=&show_procServ("ldapcache");
print "</tr></td></table>\n";
}
sub check_ttabase
{
if ( $debug eq 0 ) { $debug=1 };
print "<tr $cb> <td><table width=100%>\n";
print "<tr $tb><td><b><big>Tarantella: </big>$text{chk_srv_title} - $config{tta_base} - </b></td></tr>\n";
# loading object attributes ...
$ens_obj=$config{tta_base};
$op="attributes";
$type_cmd="attributes";
$status_cmd=&run_tta_cmd($type_cmd,$ens_obj);
if ( !$status_cmd ) {
print "<tr><td> ".$text{'tta_noobject'}."</td></tr>";
&html_errshow("tta");
} else {
# Assigning and collecting values to be used in the form ...
%h_ttaobj=&load_ttaobj();
}
if ( $debug lt 2 ) { unlink($temp_f); }
print "<tr $cb><td>".&text('viewlog_action',$stta_sid)."</b></td></tr>\n";
print "</tr></td></table>\n";
}
sub out_javascript
{
print "<SCRIPT SRC=\"global.js\">\n";
print "</SCRIPT>\n";
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "var msg0=\"".$text{'msg_0'}."\";\n";
print "var msg1=\"".$text{'msg_1'}."\";\n";
print "var msg2=\"".$text{'msg_2'}."\";\n";
print "var msg3=\"".$text{'msg_3'}."\";\n";
print "var msg4=\"".$text{'msg_4'}."\";\n";
print "var msg5=\"".$text{'msg_5'}."\";\n";
print "var msg6=\"".$text{'msg_6'}."\";\n";
print "var msg7=\"".$text{'msg_7'}."\";\n";
print "/******************************************************************\n";
print " showWin(item)\n";
print "*******************************************************************/\n";
print "function showWin(item,args) {\n";
print " var str=item+\".cgi\"+args;\n";
print " window.open(str,item,",
"'toolbar=no,menubar=no,scrollbars=yes,width=1000,height=500,resizable=yes')\n";
print "}\n";
print "/******************************************************************\n";
print " Chek_fields(obj)\n";
print "*******************************************************************/\n";
print "function Chek_fields(obj) {\n";
print " if ( emptyField(obj.file) == true ) {\n";
print " alert(obj.file.name+\":\"+msg1+\"->\"+obj.file.value+\"<-\");\n";
print " obj.file.focus();\n";
print " return false;\n";
print " } \n";
print " return true;\n";
print "}\n";
print "//-->\n";
print "</SCRIPT>\n";
}
sub out_initJS
{
print "<SCRIPT LANGUAGE=\"JavaScript\">\n";
print "/******************************************************************\n";
print " initJs()\n";
print "*******************************************************************/\n";
print "function initJs() {\n";
print " $JScodeInit \n";
print "}\n";
print "</SCRIPT>\n";
}
sub out_head_instupd
{
print "<tr $cb> <td><table width=100%>\n";
print "<tr><td valig=top><h1><img SRC='images/duke_warn.gif' height=66 width=100 align=top>";
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print "<font color='#000099'>$text{installupd_title}</font></h1></td>\n";
if ( $task eq "" ) { return };
$opLock="unlockstta";
if ( ! -r "$config_directory/$module_name/.install" ) { $opLock="lockstta"; }
$opLock_msg=$opLock,"_msg";"unlockstta_m";
print "<td align=rigth valign=top><form METHOD=POST name=installupd ACTION=\"stta_installupd.cgi?lck=$opLock&task=$task&step=$r&next=$nextStep&td=$tdone\" onSubmit=\"alert('".eval("\$text{$opLock.'_msg'}")."');\">\n";
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input TYPE=\"submit\" NAME=\"",$text{$opLock},"\" VALUE=\"",$text{$opLock},"\">".&hlink("<img SRC='images/info.gif' align=top border=0>",$opLock)."\n";
print "</form>\n";
print "</td></tr>\n";
}
#To set $tdone and ruleHash
sub set_hashes_rules
{
if ( $task eq "" ) { return };
my $task_proc = $task."_proc";
my $task_steps = $task."_steps";
my $task_brand = $task."_brand";
$rulesHash{'proc'}=$rules{$task_proc};
if ( defined($rules{$task_brand} ) ) { $rulesHash{'brand'}=$rules{$task_brand};}
my @ruleline = split(/,/,$rules{$task},-1);
my @tdoneline = split(/,/,$tdone,-1);
my @stepsline = split(/,/,$rules{$task_steps},-1);
if ( $tdone eq "" ) {
$tdone="";
for ( $i = 0 ; $i < $#ruleline ; $i++ ) { $tdone.= "0,"; }
$tdone.= "0";
}
@tdoneline = split(/,/,$tdone,-1);
$i=0;
foreach $r (@ruleline) {
$rulesHash{$r}=$stepsline[$i].":".$tdoneline[$i];
$i++;
}
$rulesHash{'ntask'}=$i;
if ( $nextStep eq "" ) { $nextStep=$ruleline[0] };
}
# To track visited links !!! and set Step & nextStep
sub check_visit_tasks
{
my @ruleline = split(/,/,$rules{$task},-1);
my @lineStep =();
if ( $Step eq "" ) { $Step=$ruleline[0] };
if ( $nextStep eq "" ) { $nextStep=$ruleline[0] };
$tdone="";
$i=0;
foreach $r (@ruleline) {
my @lineStep = split(/:/,$rulesHash{$r},-1);
if ( $Step eq $r ) {
if ( $Step eq $nextStep ) {
$j=$i+1;
if ( $j gt $#ruleline ) { $j=0 };
$nextStep=$ruleline[$j];
}
$lineStep[1]++; i
}
$tdone.= $lineStep[1].",";
$i++;
}
}
sub make_steps_tables
{
my @statStep =();
my @ruleline = split(/,/,$rules{$task},-1);
print "</td></tr></table><tr $cb> <td><table width=100%>\n";
print "<tr><td valign=top><table width=100% border align=center>\n";
print "<tr $tb> <td valign=top><b>$text{$task}</b></td> </tr>\n";
print "<tr $cb> <td valign=top><table><tr $cb><td><b>$text{work_secuence}:</b> </td></tr>\n";
print "<tr><td valign=top><ul>\n";
$i=0;
foreach $r (@ruleline) {
print "<li><a href=\"stta_installupd.cgi?task=$task&step=$r&next=$nextStep&td=$tdone\">";
if ( $nextStep eq $r ) { print "<img SRC='images/next.gif'width=18 heigth=18 align=top border=0> <font color='#9830d2'><b>"; }
print $text{$r};
if ( $nextStep eq $r ) {
print "</b></font></a>($text{nextstep})\n";
} else {
print "</b></a>\n";
}
@statStep = split(/:/,$rulesHash{$r},-1);
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
if ( $statStep[0] eq 1 && $statStep[1] gt 0 ) { print "<img SRC='images/ok.gif' align=top width=18 heigth=18 border=0>($text{'done'})"; }
if ( $statStep[1] gt 0 ) { print "($text{'visited'})"; }
print "<\li>\n";
$i++;
}
print "</td></tr></table></table></td>\n";
print "<td><table width=100% border>\n";
print "<tr $tb> <td valign=top><b>$text{$Step}</b></td> </tr>\n";
print "<tr $cb > <td valign=top><table width=100%>\n";
print "<tr bgcolor=$white><td valign=top><pre>\n";
# First try languages in order for particular $task/tmp/info .. if got it.. last
# Second try languages in order for global $task/info.. if got it ... last
$infoTmpDirInstall= "$DirInstall/tmp/info";
$infoDirInstall= "$DirInstall/info";
foreach $l (@lang_order_list) {
if ( &out_htmlfile("$infoTmpDirInstall/$l/$Step.html") eq 0 ) { last; };
if ( &out_htmlfile("$infoDirInstall/$l/$Step.html") eq 0 ) { last; };
}
print "</pre></td></tr>\n";
print "</td></tr></table></table></td></tr>\n";
return 0;
}
sub out_sel_task
{
print "</td></tr></table><tr $cb> <td><table border align=center>\n";
print "<tr $tb><td><b>$text{f_taskinstupd} </b>\n";
print "<form METHOD=POST name=installupd ACTION=\"stta_installupd.cgi?lck=$opLock\" onSubmit=\"alert('$text{warn_lockstta}');\"></td><td></td></tr>\n";
print "<tr><td valign=top><table>\n";
print " <tr $cb><td valign=top>",&hlink("<b>$text{'f_taskinstupd'}</b>","ftaskinstupd"),"&nbsp;</td><td valign=top ><select NAME=\"task\">\n";
foreach $item (keys (%rules)) {
next if ( $item =~ /_/ );
print " <option VALUE=\"".$item."\" >".$text{$item}." ";
}
print " </select></td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\"></td>\n";
print " <td valign=top><input TYPE=\"reset\" NAME=\"",$text{'f_cancelreq'},"\" VALUE=\"",$text{'f_cancelreq'},"\"></td></tr>\n";
print "</form>\n";
print "</td></tr></table></table></td></tr>\n";
print "\n";
}
sub get_file_updpatch
{
if ($file) { return };
print "<table border align=center>\n";
print "<tr $tb><td><b><big></big>".&text('tit_fileupdpatch',$task)." </b>\n";
print "<tr $cb> <td><table align=center>\n";
print "<tr></tr>\n";
print "<form METHOD=POST name=fupdpatch ACTION=\"stta_installupd.cgi?lck=$opLock\" onSubmit=\"return Chek_fields(this)\"></td><td></td></tr>\n";
print "<td valign=top>",&hlink("<b>$text{'f_fileupdpatch'}</b>","ftargetfile"),"&nbsp;\n";
print "<td valign=top><input TYPE=\"text\" NAME=\"file\" VALUE=\"\" cols=\"52\" size=\"52\" ALIGN=left ", &file_chooser_button("file",0,1,"/"),"</td></tr>\n";
print " <tr><td valign=top><input TYPE=\"submit\" NAME=\"",$text{'f_sendreq'},"\" VALUE=\"",$text{'f_sendreq'},"\">\n";
print " &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print " <input TYPE=\"hidden\" NAME=\"task\" VALUE=\"",$task,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"step\" VALUE=\"",$Step,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"next\" VALUE=\"",$nextStep,"\">\n";
print " <input TYPE=\"hidden\" NAME=\"td\" VALUE=\"",$tdone,"\">\n";
print " </form>\n";
print "<tr></tr></table></table>\n";
print "<tr $tb><td><b>$text{'warn_updpatch'}</b></td></tr>\n";
}
sub do_instupdfile
{
my $wkdir="$DirInstall/tmp";
if ( -r "$wkdir/$task.pl" ) { do "$wkdir/$task.pl"; }
}
sub run_instupd_procedure
{
if ( $rulesHash{'proc'} ne "" ) { eval ("&$rulesHash{proc}()") }
}
sub running_fileName
{
my $wkdir="$DirInstall/tmp";
if ( $wkdir eq "/tmp") {
print &text('dir_erraccess DirInstall ',$wkdir)."\n";
return;
}
print "<tr><td><table border align=center>\n";
print "<tr $tb><td><b><big></big>".&text('tit_runfilename',$fileName)." </b>\n";
print "<tr $cb> <td><table align=center>\n";
print "<tr $cb><td align=center valign=top><pre>\n";
if ( ! -r $fileName || $fileName =~ /^(\/\*)/ ) {
print &text('file_erraccess',$fileName)." </b>\n";
} else {
if ( ! -d $wkdir ) { system("mkdir -p $wkdir") }
if ( ! -d $wkdir ) {
print &text('dir_erraccess',$wkdir)."\n";
} else {
system("rm -f $wkdir/* 2>/dev/null");
$str="cd $wkdir; ";
if ( $fileName =~ /.tar.gz$/ ) { $str.="cat $fileName | gunzip | tar xvf -" }
elsif ( $fileName =~ /.cpio.gz$/ ) { $str.="cat $fileName | gunzip | cpio -idumv " }
elsif ( $fileName =~ /.gz$/ ) {
@line=split(/\//, $fileName, -1);
$nomf=$line[$#line];
$nomf=~s/.gz$//g;
$str.="cat $fileName | gunzip > $nomf";
}
elsif ( $fileName =~ /.cpio$/ ) { $str.="cpio -idumvI $fileName" }
elsif ( $fileName =~ /.tar$/ ) { $str.="tar xvf $fileName" }
elsif ( $fileName =~ /.shx$/ ) { $str.="sh $fileName" }
else { $str = "cp $fileName . ";}
if ( ! &run_cmd($str)) { &html_errshow("cmd")};
#print "$str\n";
}
}
print "</pre></td></tr></table></table>\n";
}
sub lock_insupd_stta
{
my $task_steps = $task."_steps";
open(FILEINSTALL, ">>$config_directory/$module_name/.install");
print FILEINSTALL "# ----$_[0]---$task---------------------------\n";
if ( $task ) { print FILEINSTALL "task=$task\n"; }
print FILEINSTALL "now=".&set_now($now)."\n";
if ( $Step ) {print FILEINSTALL "step=$Step\n"; }
if ( $nextStep ) {print FILEINSTALL "next=$nextStep\n"; }
if ( $rules{$task} ) {print FILEINSTALL "rule=$rules{$task}\n"; }
if ( $tdone ) {print FILEINSTALL "tdone=$tdone\n"; }
if ( $rules{$task_steps} ) {print FILEINSTALL "steps=$rules{$task_steps}\n";}
if ( $rulesHash{'proc'} ) {print FILEINSTALL "proc=$rulesHash{'proc'}\n"; }
if ( $rulesHash{'brand'} ) {print FILEINSTALL "brand=$rulesHash{'brand'}\n"; }
close (FILEINSTALL);
}
# Unlock STTA and move all to $task logfile
sub unlock_insupd_stta
{
my $Line="";
unless ( open(FILELOG,"$config_directory/$module_name/.install") ) { return -1}
&lock_insupd_stta($_[0]);
@ary = <FILELOG>;
close (FILELOG);
my $ahoraf=&out_now_filename($now);
my $logfile=$DirInstall."/".$ahoraf."_log";
open(FILEINSTALL, ">>$logfile");
foreach $line (@ary) { print FILEINSTALL "$line"; }
close (FILEINSTALL);
system (" rm -f $config_directory/$module_name/.install");
}
sub doStep
{
if ( $Step eq "" ) { return };
my $foo="";
my @statStep = split(/:/,$rulesHash{$Step},-1);
print "<table border align=center>\n";
print "<tr $tb><td><b><big></big>$text{$Step}</b>\n";
print "<tr $cb> <td><table align=center>\n";
print "<tr $cb><td align=center valign=top><pre>\n";
if ( $statStep[0] eq 1 && $statStep[1] gt 1 ) {
print &text('error_runonce_step', $text{$Step});
} else {
&lock_insupd_stta($Step);
if ( $Step eq "lockstta" ) { &lock_insupd_stta("lock"); }
if ( $Step eq "dataconf" ) {
$JScodeInit="showWin('config','')";
# } elsif ( $Step eq "defslists" ) {
# } elsif ( $Step eq "ldapbasedns" ) {
# } elsif ( $Step eq "ttaensbase" ) {
} elsif ( $Step eq "checklist" ) {
$foo=""; # Do nothing so all test will are at end of page
$JScodeInit="showWin(config.cgi,'')";
# } elsif ( $Step eq "makelogsdir" ) {
# } elsif ( $Step eq "maketools" ) {
# } elsif ( $Step eq "expectchanges" ) {
} elsif ( $Step eq "unlockstta" ) {
&unlock_insupd_stta;
# } elsif ( $Step eq "fixstampdata" ) {
} elsif ( $Step eq "doupdate" ) {
&run_instupd_procedure();
} elsif ( $Step eq "doupgrade" ) {
&run_instupd_procedure();
} elsif ( $Step eq "doupatch" ) {
&run_instupd_procedure();
# commenting following lines nothing is done if the "Step" has no code to handle
# interesting to manage "info" files
# } else ( ! $Step =~ /readme/ ) {
# print &text('error_unknown_step', $Step, $text{$Step});
}
}
print "</pre></td></tr></table></table>\n";
}
1; # Return true

208
stta/copia/stta_installupd.cgi Executable file
View File

@ -0,0 +1,208 @@
#!/usr/bin/perl
# stta_installupd.cgi
# ... Init Update Services with Tarantella.
# STTA Rev. 1.3 Copyright (c) 2001-2002 Jesús Pérez Lorenzo --- license GNU GPL
require '../web-lib.pl';
do 'web-lib.pl';
do 'global-lib.pl';
do 'lists-lib.pl';
do 'html-lib.pl';
do 'ttasess-lib.pl';
do 'monitor-lib.pl';
do 'print-lib.pl';
do "config_info.pl";
do "ldap-lib.pl";
do "installupd-lib.pl";
&init_config();
&load_dataconf();
$white="#ffffff";
&set_variables_cfg();
# Loading rules (alis paranoia rules) --- defaults & local $task rules & tmp rules
$rulesFile= "$root_directory/stta/install/rules";
&read_file("$rulesFile", \%rules);
$rulesFile= "$root_directory/stta/$task/rules";
&read_file("$rulesFile", \%rules);
$rulesFile= "$root_directory/stta/$task/tmp/rules";
&read_file("$rulesFile", \%rules);
$hostname = &get_system_hostname();
$ver = &get_webmin_version();
&get_miniserv_config(\%miniserv);
if ($gconfig{'real_os_type'}) {
if ($gconfig{'os_version'} eq "*") {
$ostr = $gconfig{'real_os_type'};
}
else {
$ostr = "$gconfig{'real_os_type'} $gconfig{'real_os_version'}";
}
}
else {
$ostr = "$gconfig{'os_type'} $gconfig{'os_version'}";
}
%access = &get_module_acl();
%ttaprops=();
@ttahosts=();
%sttaparams=();
$cginame= $0 =~ /([^\/]+)$/ ? $1 : '-';
$ldap_ok=true;
$ldapcache_ok=true;
$tta_ok=true;
@access_types = $access{'types'} eq '*' ? (0 .. 100)
: split(/\s+/, $access{'types'});
map { $access_types{$_}++ } @access_types;
$debug=$config{debug_code};
&foreign_require("proc", "proc-lib.pl");
&ReadParse();
%rulesHash=();
$task=$in{task} || "";
$cgi = $in{cgi};
$msg = $in{msg};
$tdone = $in{td} || "";
$lockDo = $in{lck} || "";
$nextStep=$in{next} || "";
$redir=$in{rd} || "" ;
$Step=$in{step} || "" ;
$fileName=$in{file} || "" ;
$now = time();
$JScodeInit=""; # to hold code for initJs config by example
if ( $redir ne "" ) {
&headerstta($text{'index_title'}, "images/$current_lang/stta_stta.gif", "sttaintro",undef, 1, 0,$text{headpage_rigth} );
do "index/insupd.pl";
do "footer.pl";
exit;
}
if ( $task ne "" ) { $DirInstall= "$root_directory/stta/$task"; }
&set_hashes_rules();
if ( $lockDo eq "lockstta" ) { &lock_insupd_stta($lockDo); }
if ( $lockDo eq "unlockstta") { &unlock_insupd_stta($lockDo); }
if ( ! -r "$config_directory/$module_name/.install" &&
$Step eq "lockstta" ) { &lock_insupd_stta("lock"); }
&headerstta($text{'index_installupd'}, "", "insupd" ,undef,1,1,$text{headpage_rigth},"","onLoad='initJs();'" );
&out_javascript();
print "<hr><p>\n";
print "<table width=100% border>\n";
print "<tr $tb> <td valig=top><b> $text{'titidx_installupd'}</b>";
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";
print "Webmin $ver - $hostname - $ostr";
print "</td> </tr>\n";
&out_head_instupd();
# Seleccionar Task .... (new request)
if ( $task eq "" ) { I
&out_sel_task();
&footHere;
&out_initJS;
exit
};
# If file to load get Name ... (new request)
if ( $task ne "install" && $fileName eq "" && $Step eq "" ) { I
&get_file_updpatch(); # paso 0 from no-file for some task not install
&footHere;
&out_initJS;
exit
}
# If file to load Unpack it ... and keep going
if ( $task ne "install" && $fileName ne "" && $Step eq "" ) {
&running_fileName(); # unpack
}
# Always "do" perl file for $task in $InstallDir/$task/tmp
&do_instupdfile();
if ( ! -r "$config_directory/$module_name/.install" ) {
&check_visit_tasks();
&make_steps_tables();
if ( $task ne "" && $Step ne "" ) {
print "<table width=100% border><tr $cb><td>\n";
print "<tr><td><h2><font color='#000099'><b>$text{warn_lockstta2}</b></font></h2></td></tr><tr>\n";
print "</td></tr></table>\n";
}
} else {
if ( $Step ne "" ) {
&check_visit_tasks();
&doStep();
}
&make_steps_tables();
}
if ( $Step ne "checklist" && $task ne "check" ) { &footHere; &out_initJS; exit } ;
# From here all checking staff .....
print "<tr $cb> <td align=center><table>\n";
$config{iferror_services}="warn";
&show_tta_serv_table();
&check_ps_serv();
&check_ttabase();
if ( $debug eq 0 ) { $debug=2 }
print "<tr $cb> <td><table width=100%><tr $cb><td>\n";
$ldap_server=$in{ldapserver} || "1";
print " <tr $tb> <td><big><b>\n";
if ( "$ldap_server" eq "1" ) {
print $config{ldap_type}.":".$config{ldap_server}.":".$config {ldap_port};
} elsif ( "$ldap_server" eq "2" ) {
print $config{ldap2_type}.":".$config{ldap2_server}.":".$config {ldap2_port};
}
print "</b></big></td></tr>\n";
if ( $ldap_ok eq true ) {
print "<tr $cb><td><b><big>LDAP: </big>$text{chk_srv_title} - $config{ldap_base} - </b></td></tr>\n";
&connect();
$dn=$config{ldap_base};
$cur_entry=&sel_ldap_obj($dn,"o=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dn) {
&html_errshow("ldap")
} else {
&ldap_logerr("browse $dn");
print "<tr $cb><td>".&text('viewlog_action',$stta_sid)."</td></tr>\n";
}
} else { print "<tr $cb><td><b><big>LDAP: </big> - $config{ldap_base} - ???? </b></td></tr>\n";}
print "</table>\n";
print "<tr $cb> <td><table width=100%><tr $cb><td>\n";
$ldapcache_server=$in{ldapcacheserver} || "1";
print " <tr $tb> <td><big><b>\n";
if ( "$ldapcache_server" eq "1" ) {
print $config{ldapcache_type}.":".$config{ldapcache_server}.":".$config {ldapcache_port};
} elsif ( "$ldapcache_server" eq "2" ) {
print $config{ldapcache2_type}.":".$config{ldapcache2_server}.":".$config {ldapcache2_port};
}
print "</b></big></td></tr>\n";
if ( $ldapcache_ok eq true ) {
print "<tr $cb><td><b><big>LDAP Cache: </big>$text{chk_srv_title} - $config{ldapcache_base} - </b></td></tr>\n";
&connect_cache();
$dnCache=$config{ldapcache_base};
$cur_entry=&sel_cache_obj($dnCache,"o=*");
if ( !defined($cur_entry) || $cur_entry->dn ne $dnCache) {
&html_errshow("ldapcache")
} else {
&ldapcache_logerr("browse $dn");
print "<tr $cb><td>".&text('viewlog_action',$stta_sid)."</td></tr>\n";
}
} else { print "<tr $cb><td><b><big>LDAP Cache: </big>$text{chk_srv_title} - $config{ldapcache_base} - ???? </b></td></tr>\n"};
print "</table>\n";
$text_str="";
$text_str=~s/STTA:/<tr><td><li>/g;
$text_str=~s/\n/<\/b><\/td><\/tr>/g;
$text_str=~s/==/<td><b>/g;
print $text_str;
print "</td></tr></table></table>\n";
&footer($config{'back_return'},$text{'index'});
do "footer.pl";
&out_initJS;
exit;

3
stta/dataconf/base/alias Executable file
View File

@ -0,0 +1,3 @@
servers_alias=
users_alias=
apps_alias=

13
stta/dataconf/base/cache Executable file
View File

@ -0,0 +1,13 @@
cache_rulelimit=
cacherule_1=
cacherule_2=
cacherule_3=
cacherule_4=
cacherule_5=
cacherule_6=
cacherule_7=
cache_domain=
cache_chkdefaults=
cache_chkttalogin=
cache_debuglog_dir=
cache_debuglog=

7
stta/dataconf/base/debug Executable file
View File

@ -0,0 +1,7 @@
debug_code=
iferror_services=
iferror_objects=
output_cgis=
cache_scandebug=
ldap_debug=
ldapcache_debug=

5
stta/dataconf/base/feedback Executable file
View File

@ -0,0 +1,5 @@
feedback_name=
feedback_email=
feedback_mailserver=
feedback_dirname=
feedback_packcmd=

18
stta/dataconf/base/http Executable file
View File

@ -0,0 +1,18 @@
http_port=
http_log_name=
http_log_perm=
http_log_fperm=
http_log_tail=
httpacc_log_name=
httpacc_log_perm=
httpacc_log_fperm=
httpacc_log_tail=
https_port=
https_log_name=
https_log_perm=
https_log_fperm=
https_log_tail=
httpsacc_log_name=
httpsacc_log_perm=
httpsacc_log_fperm=
httpsacc_log_tail=

14
stta/dataconf/base/interface Executable file
View File

@ -0,0 +1,14 @@
interface=
default_cat=
order_cat=
bgimage=
cs_page=
cs_table=
cs_header=
cs_link=
cs_text=
cs_revtext=
help_width=
help_height=
back_return=
motd_style=

24
stta/dataconf/base/ldap Executable file
View File

@ -0,0 +1,24 @@
ldap_server=
ldap_servertitle=
ldap_port=
ldap_user=
ldap_passwd=
ldap_version=
ldap_type=
ldap_dirname=
ldap_conf=
ldap_stop=
ldap_start=
ldap_restart=
ldap_backup=
ldap_restore=
ldap_load=
ldap_ldif=
ldap_server_log_name=
ldap_server_log_perm=
ldap_server_log_fperm=
ldap_server_log_tail=
ldap_server_acclog_name=
ldap_server_acclog_perm=
ldap_server_acclog_fperm=
ldap_server_acclog_tail=

9
stta/dataconf/base/ldap2 Executable file
View File

@ -0,0 +1,9 @@
ldap2_server=
ldap2_servertitle=
ldap2_port=
ldap2_user=
ldap2_passwd=
ldap2_version=
ldap2_type=
ldap2_conf=
ldap2_restart=

12
stta/dataconf/base/ldap_vars Executable file
View File

@ -0,0 +1,12 @@
ldap_daemon=
ldap_dir=
ldap_base=
ldap_dnusers=
ldap_replicate=
ldap_ldif_dir=
ldap_backup_dir=
ldap_log_name=
ldap_log_perm=
ldap_log_fperm=
ldap_log_tail=
url_ldap=

24
stta/dataconf/base/ldapcache Executable file
View File

@ -0,0 +1,24 @@
ldapcache_server=
ldapcache_servertitle=
ldapcache_port=
ldapcache_user=
ldapcache_passwd=
ldapcache_version=
ldapcache_type=
ldapcache_dirname=
ldapcache_conf=
ldapcache_stop=
ldapcache_start=
ldapcache_restart=
ldapcache_backup=
ldapcache_restore=
ldapcache_load=
ldapcache_ldif=
ldapcache_server_log_name=
ldapcache_server_log_perm=
ldapcache_server_log_fperm=
ldapcache_server_log_tail=
ldapcache_server_acclog_name=
ldapcache_server_acclog_perm=
ldapcache_server_acclog_fperm=
ldapcache_server_acclog_tail=

9
stta/dataconf/base/ldapcache2 Executable file
View File

@ -0,0 +1,9 @@
ldapcache2_server=
ldapcache2_servertitle=
ldapcache2_port=
ldapcache2_user=
ldapcache2_passwd=
ldapcache2_version=
ldapcache2_type=
ldapcache2_conf=
ldapcache2_restart=

View File

@ -0,0 +1,10 @@
ldapcache_daemon=
ldapcache_base=
ldapcache_defaultobj=
ldapcache_dndefaultobj=
tta_ldapcacheUser=
tta_ldapcacheHosts=
tta_ldapcacheApps=
ldapcache_ldif_dir=
ldapcache_backup_dir=
ldapcache_replicate=

11
stta/dataconf/base/list Executable file
View File

@ -0,0 +1,11 @@
ou_list=
sysusers_list=
hosts_list=
grphosts_list=
apps_list=
grpapps_list=
links_list=
acts_list=
domains_list=
profcache_list=
hostsuser_list=

Some files were not shown because too many files have changed in this diff Show More