Commit d41ca70d authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #1778 Adding supann RDN config to ldap backend

parent 0b2a9a0f
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2013 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
class supannConfig extends simplePlugin
{
var $objectclasses = array("fdSupannConf");
static function plInfo()
{
return array(
"plShortName" => _("SUPANN configuration"),
"plDescription" => _("FusionDirectory SUPANN plugin configuration"),
"plSelfModify" => FALSE,
"plCategory" => array("configuration"),
"plObjectType" => array("smallConfig"),
"plProvidedAcls" => parent::generatePlProvidedAcls(self::getAttributesInfo())
);
}
static function getAttributesInfo ()
{
return array(
'main' => array(
'name' => _('LDAP tree'),
'attrs' => array(
new StringAttribute (
_('SUPANN RDN'), _('Branch in which SUPANN structures will be stored'),
'fdSupannStructuresRDN', TRUE,
'ou=structures'
),
)
),
);
}
}
?>
##
## supann-fd.schema - Needed by Fusion Directory for managing SUPANN
##
# Attributes
attributetype ( 1.3.6.1.4.1.38414.17.1.1 NAME 'fdSupannStructuresRDN'
DESC 'FusionDirectory - SUPANN structres RDN'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE)
# Object Class
objectclass ( 1.3.6.1.4.1.38414.17.2.1 NAME 'fdSupannConf'
DESC 'FusionDirectory supann plugin configuration'
SUP top AUXILIARY
MUST ( cn )
MAY ( fdSupannStructuresRDN ) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment