From 9ecef31baf46c399f0e2d98f04f5ba9bb6c08c14 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Jan 2010 15:41:06 +0000 Subject: [PATCH] Added Filter by p git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15238 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/events/eventTargetSystems-filter.tpl | 21 ++++++++ .../goto/events/eventTargetSystems-filter.xml | 52 +++++++++++++++++-- 2 files changed, 70 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.tpl b/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.tpl index 2f09c5868..b3c115882 100644 --- a/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.tpl +++ b/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.tpl @@ -11,6 +11,7 @@ {$SERVER} 
{$WORKSTATION} 
{$TERMINAL} 
+ {$BYIP} 
{$SCOPE} @@ -26,6 +27,26 @@ {$NAME} + + + + + + {$IPSTART} + + + + + + + + {$IPSTOP} + + diff --git a/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.xml b/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.xml index 2c635a4fb..609dde5d0 100644 --- a/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.xml +++ b/gosa-plugins/goto/addons/goto/events/eventTargetSystems-filter.xml @@ -9,12 +9,14 @@ - LDAP - (&(|$SERVER $WORKSTATION $TERMINAL ) $NAME) + SystemByIp + (&(|$SERVER $WORKSTATION $TERMINAL ) $NAME) $IPSTART $IPSTOP $BYIP dn objectClass cn description + macAddress + ipHostNumber auto @@ -29,7 +31,7 @@ (cn=*$*)true - LDAP + SystemByIp (cn=*$NAME*) cn 0.5 @@ -37,6 +39,42 @@ + + textfield + IPSTART + 20 + 60 + 0.0.0.0 + + __IPSTART__=*$*__ + true + + LDAP + __IPSTART__=*$IPSTART*__ + cn + 0.5 + 3 + + + + + textfield + IPSTOP + 20 + 60 + 255.255.255.255 + + __IPSTOP__=*$*__ + true + + LDAP + __IPSTOP__=*$IPSTOP*__ + cn + 0.5 + 3 + + + checkbox SERVER @@ -61,4 +99,12 @@ (objectClass=gotoTerminal) + + checkbox + BYIP + false + __FilterByIP__ + + + -- 2.30.2