mirror of
https://abf.rosa.ru/djam/webmin.git
synced 2025-02-23 07:52:47 +00:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
![]() |
diff -bruN openldap/config-mandrake-linux openldap.mdk/config-mandrake-linux
|
||
|
--- openldap/config-mandrake-linux Thu Jan 1 01:00:00 1970
|
||
|
+++ openldap.mdk/config-mandrake-linux Tue Dec 18 11:55:53 2001
|
||
|
@@ -0,0 +1,7 @@
|
||
|
+slapd_conf_file=/etc/openldap/slapd.conf
|
||
|
+restart_command=/sbin/service ldap restart
|
||
|
+start_command=/sbin/service ldap start
|
||
|
+stop_command=/sbin/service ldap stop
|
||
|
+slapd_port=389
|
||
|
+slapd_path=/usr/sbin/slapd
|
||
|
+crypt_schema=MD5
|
||
|
diff -bruN openldap/module.info openldap.mdk/module.info
|
||
|
--- openldap/module.info Wed Nov 22 23:47:02 2000
|
||
|
+++ openldap.mdk/module.info Tue Dec 18 11:34:38 2001
|
||
|
@@ -1,5 +1,5 @@
|
||
|
category=servers
|
||
|
-os_support=debian-linux redhat-linux suse-linux hpux solaris
|
||
|
+os_support=debian-linux redhat-linux suse-linux hpux solaris mandrake-linux
|
||
|
desc=OpenLDAP server
|
||
|
desc_fr=Serveur OpenLDAP
|
||
|
name=OpenLDAP
|
||
|
diff -bruN openldap/start.cgi openldap.mdk/start.cgi
|
||
|
--- openldap/start.cgi Thu Nov 30 23:18:21 2000
|
||
|
+++ openldap.mdk/start.cgi Tue Dec 18 11:54:13 2001
|
||
|
@@ -21,12 +21,12 @@
|
||
|
&init_config();
|
||
|
use POSIX;
|
||
|
|
||
|
-my $port =$config{slapd_port}||389 ;
|
||
|
-if ($config{slapd_start_command}) {
|
||
|
+my $port =$config{'slapd_port'}||389 ;
|
||
|
+if ($config{'start_command'}) {
|
||
|
# Use a start script
|
||
|
$out = system("$config{'start_command'} >/dev/null");
|
||
|
if ($out) {
|
||
|
- &error("<pre>$text{error_start}</pre>");
|
||
|
+ &error("<pre>$text{'error_start'}</pre>");
|
||
|
}
|
||
|
}
|
||
|
else {
|