added $scope to is_base_module,

added get_ldap_filter
This commit is contained in:
Roland Gruber 2004-02-23 16:56:53 +00:00
parent 27e5f9a911
commit 290f5454aa
10 changed files with 22 additions and 10 deletions

View File

@ -67,7 +67,7 @@ class account {
return _('account'); return _('account');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -70,7 +70,7 @@ class inetOrgPerson {
return _('inetOrgPerson'); return _('inetOrgPerson');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -67,7 +67,7 @@ class main {
return _('main'); return _('main');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -133,10 +133,16 @@ class posixAccount {
return "posixAccount"; return "posixAccount";
} }
function is_base_module() { function is_base_module($scope) {
return true; return true;
} }
// returns an LDAP filter for the account lists
// $scope: the account type ("user", "group", "host")
function get_ldap_filter($scope) {
return "(objectClass=posixAccount)";
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -123,10 +123,16 @@ class posixGroup {
return _('posixGroup'); return _('posixGroup');
} }
function is_base_module() { function is_base_module($scope) {
return true; return true;
} }
// returns an LDAP filter for the account lists
// $scope: the account type ("user", "group", "host")
function get_ldap_filter($scope) {
return "(objectClass=posixGroup)";
}
/* This function returns a list with all required modules /* This function returns a list with all required modules
*/ */
function get_dependencies($scope) { function get_dependencies($scope) {

View File

@ -71,7 +71,7 @@ class quota {
return _('quota'); return _('quota');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -126,7 +126,7 @@ class sambaAccount {
return _('sambaAccount'); return _('sambaAccount');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -97,7 +97,7 @@ class sambaGroupMapping {
return _('sambaGroupMapping'); return _('sambaGroupMapping');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -126,7 +126,7 @@ class sambaSamAccount {
return _('sambaSamAccount'); return _('sambaSamAccount');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }

View File

@ -91,7 +91,7 @@ class shadowAccount {
return _('shadowAccount'); return _('shadowAccount');
} }
function is_base_module() { function is_base_module($scope) {
return false; return false;
} }