From 1cddcc0e48bc15e2f28aa8d375ac07b3f3074d6d Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 2 Sep 2009 14:45:21 +0000 Subject: [PATCH] Updated schema to include login restrictions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14192 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/openldap/gosa-samba2.schema | 8 ++++++-- gosa-core/contrib/openldap/gosa-samba3.schema | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gosa-core/contrib/openldap/gosa-samba2.schema b/gosa-core/contrib/openldap/gosa-samba2.schema index 80c2a8182..4aa43315a 100644 --- a/gosa-core/contrib/openldap/gosa-samba2.schema +++ b/gosa-core/contrib/openldap/gosa-samba2.schema @@ -260,6 +260,10 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.12.45 NAME 'gotoLastSystem' DESC 'The DN of the System where the Login was performed' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12) +attributetype ( 1.3.6.1.4.1.10098.1.1.12.46 NAME 'gosaLoginRestriction' + DESC 'Multivalue attribute to carry a number of allowed ips/subnets' + SUP name) + attributetype ( 1.3.6.1.4.1.10098.1.1.6.2 NAME 'academicTitle' DESC 'Field to represent the academic title' EQUALITY caseIgnoreMatch @@ -312,11 +316,11 @@ objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.5 NAME 'gosaMailAccount' SUP top AUXILI gosaVacationMessage $ gosaVacationStart $ gosaVacationStop $ gosaSharedFolderTarget $ acl)) objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.6 NAME 'gosaAccount' SUP top AUXILIARY - DESC 'Class for GOsa Accounts (v2.6.1)' + DESC 'Class for GOsa Accounts (v2.6.6)' MUST ( uid ) MAY ( lmPassword $ ntPassword $ pwdLastSet $ gosaDefaultPrinter $ gosaDefaultLanguage $ academicTitle $ personalTitle $ gosaHostACL $ dateOfBirth $ gender $ - gotoLastSystemLogin $ gotoLastSystem )) + gotoLastSystemLogin $ gotoLastSystem $ gosaLoginRestriction )) objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.7 NAME 'gosaHost' SUP top AUXILIARY DESC 'Class for GOsa Hosts (v2.6.1)' diff --git a/gosa-core/contrib/openldap/gosa-samba3.schema b/gosa-core/contrib/openldap/gosa-samba3.schema index c6fe0900e..f3fb8097f 100644 --- a/gosa-core/contrib/openldap/gosa-samba3.schema +++ b/gosa-core/contrib/openldap/gosa-samba3.schema @@ -262,6 +262,9 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.12.45 NAME 'gotoLastSystem' DESC 'The DN of the System where the Login was performed' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12) +attributetype ( 1.3.6.1.4.1.10098.1.1.12.46 NAME 'gosaLoginRestriction' + DESC 'Multivalue attribute to carry a number of allowed ips/subnets' + SUP name) attributetype ( 1.3.6.1.4.1.10098.1.1.6.2 NAME 'academicTitle' DESC 'Field to represent the academic title' @@ -315,12 +318,12 @@ objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.5 NAME 'gosaMailAccount' SUP top AUXILI gosaVacationMessage $ gosaVacationStart $ gosaVacationStop $ gosaSharedFolderTarget $ acl)) objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.6 NAME 'gosaAccount' SUP top AUXILIARY - DESC 'Class for GOsa Accounts (v2.6.1)' + DESC 'Class for GOsa Accounts (v2.6.6)' MUST ( uid ) MAY ( sambaLMPassword $ sambaNTPassword $ sambaPwdLastSet $ gosaDefaultPrinter $ gosaDefaultLanguage $ academicTitle $ personalTitle $ gosaHostACL $ dateOfBirth $ sambaBadPasswordCount $ sambaBadPasswordTime $ gender $ - gotoLastSystemLogin $ gotoLastSystem )) + gotoLastSystemLogin $ gotoLastSystem $ gosaLoginRestriction )) objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.7 NAME 'gosaHost' SUP top AUXILIARY DESC 'Class for GOsa Hosts (v2.6.1)' -- 2.30.2