You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
687 B
48 lines
687 B
![]()
7 years ago
|
package Lemonldap::NG::Common::Conf::Backends::Local;
|
||
|
|
||
|
use strict;
|
||
|
use Lemonldap::NG::Common::Conf::Constants;
|
||
|
|
||
|
our $VERSION = '2.0.0';
|
||
|
|
||
|
sub prereq {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub available {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub lastCfg {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub isLocked {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub unlock {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub store {
|
||
|
$Lemonldap::NG::Common::Conf::msg = 'Read-only backend !';
|
||
|
return DATABASE_LOCKED;
|
||
|
}
|
||
|
|
||
|
sub load {
|
||
|
return {
|
||
|
cfgNum => 1,
|
||
|
cfgAuthor => 'LLNG Team',
|
||
|
cfgLog =>
|
||
|
q"Don't edit this configuration, Null backend uses only lemonldap-ng.ini values",
|
||
|
};
|
||
|
}
|
||
|
|
||
|
sub delete {
|
||
|
$Lemonldap::NG::Common::Conf::msg = 'Read-only backend !';
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
1;
|