From c83a974df8458341e00df37b22079817eb8baa47 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 7 Apr 2008 15:27:12 +0000 Subject: [PATCH] More moving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10252 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/openldap/gofirewall.schema | 128 ------------------ gosa-core/contrib/openldap/slapd.conf | 1 + .../dhcp/contrib}/dhcp.schema | 0 .../dns/contrib}/dnszone.schema | 0 .../fai/contrib}/fai.schema | 0 .../glpi/contrib}/glpi.schema | 0 .../gofax/contrib}/gofax.schema | 0 .../gofon/contrib}/gofon.schema | 0 .../goto/contrib}/goto-mime.schema | 0 .../goto/contrib}/goto.schema | 0 .../heimdal/contrib}/hdb.schema | 0 .../kolab/contrib}/kolab2.schema | 0 .../kolab/contrib}/rfc2739.schema | 0 .../nagios/contrib}/nagios.schema | 0 .../netatalk/contrib}/apple.schema.README | 0 .../openxchange/contrib}/openxchange.schema | 0 .../phpgw/contrib}/phpgwaccount.schema | 0 .../contrib}/phpscheduleit.schema | 0 .../pptp/contrib}/pptp.schema | 0 .../pureftpd/contrib}/pureftpd.schema | 0 gosa-plugins/sudo/contrib/sudo.schema | 44 ++++++ 21 files changed, 45 insertions(+), 128 deletions(-) delete mode 100644 gosa-core/contrib/openldap/gofirewall.schema rename {gosa-core/contrib/openldap => gosa-plugins/dhcp/contrib}/dhcp.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/dns/contrib}/dnszone.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/fai/contrib}/fai.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/glpi/contrib}/glpi.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/gofax/contrib}/gofax.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/gofon/contrib}/gofon.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/goto/contrib}/goto-mime.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/goto/contrib}/goto.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/heimdal/contrib}/hdb.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/kolab/contrib}/kolab2.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/kolab/contrib}/rfc2739.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/nagios/contrib}/nagios.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/netatalk/contrib}/apple.schema.README (100%) rename {gosa-core/contrib/openldap => gosa-plugins/openxchange/contrib}/openxchange.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/phpgw/contrib}/phpgwaccount.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/phpscheduleit/contrib}/phpscheduleit.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/pptp/contrib}/pptp.schema (100%) rename {gosa-core/contrib/openldap => gosa-plugins/pureftpd/contrib}/pureftpd.schema (100%) create mode 100644 gosa-plugins/sudo/contrib/sudo.schema diff --git a/gosa-core/contrib/openldap/gofirewall.schema b/gosa-core/contrib/openldap/gofirewall.schema deleted file mode 100644 index 3405b9de6..000000000 --- a/gosa-core/contrib/openldap/gofirewall.schema +++ /dev/null @@ -1,128 +0,0 @@ -## -## -## gofirewall.schema - Used to store some firewalling data -## -## -## Version 030403 -## -## -## Maintainer: Cajus Pollmeier (pollmeier@GONICUS.de) -## Lars Scheiter (scheiter@GONICUS.de) -## -## - - -# Attributes for FireWall Configs -attributetype ( 1.3.6.1.4.1.10098.1.1.4.1 NAME 'FWdevice' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.2 NAME 'FWtype' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - SINGLE-VALUE) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.3 NAME 'FWaction' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 - SINGLE-VALUE) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.4 NAME 'FWtable' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.5 NAME 'FWsource' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.6 NAME 'FWdest' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.7 NAME 'FWservice' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.8 NAME 'FWprotocol' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.10 NAME 'FWlog' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.11 NAME 'FWnetwork' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.12 NAME 'FWhost' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.14 NAME 'FWproto' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.15 NAME 'FWlist' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.16 NAME 'FWdisabled' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -attributetype ( 1.3.6.1.4.1.10098.1.1.4.17 NAME 'FWid' - DESC 'Firewall definitions' - EQUALITY caseIgnoreIA5Match - SUBSTR caseExactIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) - -## -## Objectclasses -## - -# ObjectClasses for Firewall Setups -objectclass (1.3.6.1.4.1.10098.1.2.1.6 NAME 'FWRule' - DESC 'Firewall rule definition' SUP top AUXILIARY - MUST ( cn $ FWtype ) - MAY ( FWdevice $ FWaction $ FWtable $ FWsource $ FWdest $ FWservice $ FWprotocol $ - FWtable $ FWlog $ FWid )) - -objectclass (1.3.6.1.4.1.10098.1.2.1.7 NAME 'FWGroup' - DESC 'Firewall group definition' SUP top AUXILIARY - MUST ( cn ) - MAY ( FWnetwork $ FWhost $ FWservice $ FWproto $ FWid)) - -objectclass (1.3.6.1.4.1.10098.1.2.1.8 NAME 'FWRuleSet' - DESC 'Firewall ruleset definition' SUP top AUXILIARY - MUST ( cn ) - MAY ( FWlist $ FWdisabled $ FWid)) - diff --git a/gosa-core/contrib/openldap/slapd.conf b/gosa-core/contrib/openldap/slapd.conf index 8cebaf837..73ba870c5 100644 --- a/gosa-core/contrib/openldap/slapd.conf +++ b/gosa-core/contrib/openldap/slapd.conf @@ -20,6 +20,7 @@ include /etc/ldap/schema/misc.schema include /etc/ldap/schema/gosa/samba3.schema include /etc/ldap/schema/gosa/gosystem.schema include /etc/ldap/schema/gosa/goto.schema +include /etc/ldap/schema/gosa/goserver.schema include /etc/ldap/schema/gosa/gosa-samba3.schema include /etc/ldap/schema/gosa/trust.schema diff --git a/gosa-core/contrib/openldap/dhcp.schema b/gosa-plugins/dhcp/contrib/dhcp.schema similarity index 100% rename from gosa-core/contrib/openldap/dhcp.schema rename to gosa-plugins/dhcp/contrib/dhcp.schema diff --git a/gosa-core/contrib/openldap/dnszone.schema b/gosa-plugins/dns/contrib/dnszone.schema similarity index 100% rename from gosa-core/contrib/openldap/dnszone.schema rename to gosa-plugins/dns/contrib/dnszone.schema diff --git a/gosa-core/contrib/openldap/fai.schema b/gosa-plugins/fai/contrib/fai.schema similarity index 100% rename from gosa-core/contrib/openldap/fai.schema rename to gosa-plugins/fai/contrib/fai.schema diff --git a/gosa-core/contrib/openldap/glpi.schema b/gosa-plugins/glpi/contrib/glpi.schema similarity index 100% rename from gosa-core/contrib/openldap/glpi.schema rename to gosa-plugins/glpi/contrib/glpi.schema diff --git a/gosa-core/contrib/openldap/gofax.schema b/gosa-plugins/gofax/contrib/gofax.schema similarity index 100% rename from gosa-core/contrib/openldap/gofax.schema rename to gosa-plugins/gofax/contrib/gofax.schema diff --git a/gosa-core/contrib/openldap/gofon.schema b/gosa-plugins/gofon/contrib/gofon.schema similarity index 100% rename from gosa-core/contrib/openldap/gofon.schema rename to gosa-plugins/gofon/contrib/gofon.schema diff --git a/gosa-core/contrib/openldap/goto-mime.schema b/gosa-plugins/goto/contrib/goto-mime.schema similarity index 100% rename from gosa-core/contrib/openldap/goto-mime.schema rename to gosa-plugins/goto/contrib/goto-mime.schema diff --git a/gosa-core/contrib/openldap/goto.schema b/gosa-plugins/goto/contrib/goto.schema similarity index 100% rename from gosa-core/contrib/openldap/goto.schema rename to gosa-plugins/goto/contrib/goto.schema diff --git a/gosa-core/contrib/openldap/hdb.schema b/gosa-plugins/heimdal/contrib/hdb.schema similarity index 100% rename from gosa-core/contrib/openldap/hdb.schema rename to gosa-plugins/heimdal/contrib/hdb.schema diff --git a/gosa-core/contrib/openldap/kolab2.schema b/gosa-plugins/kolab/contrib/kolab2.schema similarity index 100% rename from gosa-core/contrib/openldap/kolab2.schema rename to gosa-plugins/kolab/contrib/kolab2.schema diff --git a/gosa-core/contrib/openldap/rfc2739.schema b/gosa-plugins/kolab/contrib/rfc2739.schema similarity index 100% rename from gosa-core/contrib/openldap/rfc2739.schema rename to gosa-plugins/kolab/contrib/rfc2739.schema diff --git a/gosa-core/contrib/openldap/nagios.schema b/gosa-plugins/nagios/contrib/nagios.schema similarity index 100% rename from gosa-core/contrib/openldap/nagios.schema rename to gosa-plugins/nagios/contrib/nagios.schema diff --git a/gosa-core/contrib/openldap/apple.schema.README b/gosa-plugins/netatalk/contrib/apple.schema.README similarity index 100% rename from gosa-core/contrib/openldap/apple.schema.README rename to gosa-plugins/netatalk/contrib/apple.schema.README diff --git a/gosa-core/contrib/openldap/openxchange.schema b/gosa-plugins/openxchange/contrib/openxchange.schema similarity index 100% rename from gosa-core/contrib/openldap/openxchange.schema rename to gosa-plugins/openxchange/contrib/openxchange.schema diff --git a/gosa-core/contrib/openldap/phpgwaccount.schema b/gosa-plugins/phpgw/contrib/phpgwaccount.schema similarity index 100% rename from gosa-core/contrib/openldap/phpgwaccount.schema rename to gosa-plugins/phpgw/contrib/phpgwaccount.schema diff --git a/gosa-core/contrib/openldap/phpscheduleit.schema b/gosa-plugins/phpscheduleit/contrib/phpscheduleit.schema similarity index 100% rename from gosa-core/contrib/openldap/phpscheduleit.schema rename to gosa-plugins/phpscheduleit/contrib/phpscheduleit.schema diff --git a/gosa-core/contrib/openldap/pptp.schema b/gosa-plugins/pptp/contrib/pptp.schema similarity index 100% rename from gosa-core/contrib/openldap/pptp.schema rename to gosa-plugins/pptp/contrib/pptp.schema diff --git a/gosa-core/contrib/openldap/pureftpd.schema b/gosa-plugins/pureftpd/contrib/pureftpd.schema similarity index 100% rename from gosa-core/contrib/openldap/pureftpd.schema rename to gosa-plugins/pureftpd/contrib/pureftpd.schema diff --git a/gosa-plugins/sudo/contrib/sudo.schema b/gosa-plugins/sudo/contrib/sudo.schema new file mode 100644 index 000000000..1790d039a --- /dev/null +++ b/gosa-plugins/sudo/contrib/sudo.schema @@ -0,0 +1,44 @@ +# +# schema file for sudo +# + +attributetype ( 1.3.6.1.4.1.15953.9.1.1 + NAME 'sudoUser' + DESC 'User(s) who may run sudo' + EQUALITY caseExactIA5Match + SUBSTR caseExactIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.15953.9.1.2 + NAME 'sudoHost' + DESC 'Host(s) who may run sudo' + EQUALITY caseExactIA5Match + SUBSTR caseExactIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.15953.9.1.3 + NAME 'sudoCommand' + DESC 'Command(s) to be executed by sudo' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.15953.9.1.4 + NAME 'sudoRunAs' + DESC 'User(s) impersonated by sudo' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.15953.9.1.5 + NAME 'sudoOption' + DESC 'Options(s) followed by sudo' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL + DESC 'Sudoer Entries' + MUST ( cn ) + MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $ + description ) + ) + + -- 2.30.2