summaryrefslogtreecommitdiff
path: root/fml/etc
diff options
context:
space:
mode:
Diffstat (limited to 'fml/etc')
-rw-r--r--fml/etc/default_config.cf.ja41
-rw-r--r--fml/etc/defaults/Configurations1
-rw-r--r--fml/etc/defaults/dbms.cf.ja40
3 files changed, 82 insertions, 0 deletions
diff --git a/fml/etc/default_config.cf.ja b/fml/etc/default_config.cf.ja
index 467c1725..8c9d0fd1 100644
--- a/fml/etc/default_config.cf.ja
+++ b/fml/etc/default_config.cf.ja
@@ -211,6 +211,47 @@ ticket_sequence_file = $ml_home_dir/ticket.seq
# top directory
ticket_db_dir = $shared_db_dir/ticket
+=head1 データベースとの連携
+
+use_database = no
+
+# value: mysql postgresql ldap
+database_method = mysql
+
+database_model = toymodel
+
+# うー?
+# DATABASE_CACHE_FILE_SUFFIX:
+
+=head2 SQL の場合
+
+sql_servers =
+
+#
+# sql_port =
+
+sql_user = fml
+
+sql_use_password =
+
+sql_database_name = fml
+
+
+
+=head2 LDAP の場合
+
+ldap_servers =
+
+# ldap_port =
+
+ldap_server_password =
+
+ldap_search_base =
+
+ldap_server_bind =
+
+ldap_query_filter =
+
=head1 プログラムのパス名
#
diff --git a/fml/etc/defaults/Configurations b/fml/etc/defaults/Configurations
index 183591f4..b0e446e9 100644
--- a/fml/etc/defaults/Configurations
+++ b/fml/etc/defaults/Configurations
@@ -8,6 +8,7 @@ log.cf
spool.cf
command.cf
tickets.cf
+dbms.cf
paths.cf
system_dependence.cf
__end__.cf
diff --git a/fml/etc/defaults/dbms.cf.ja b/fml/etc/defaults/dbms.cf.ja
new file mode 100644
index 00000000..a3632f3b
--- /dev/null
+++ b/fml/etc/defaults/dbms.cf.ja
@@ -0,0 +1,40 @@
+=head1 データベースとの連携
+
+use_database = no
+
+# value: mysql postgresql ldap
+database_method = mysql
+
+database_model = toymodel
+
+# うー?
+# DATABASE_CACHE_FILE_SUFFIX:
+
+=head2 SQL の場合
+
+sql_servers =
+
+#
+# sql_port =
+
+sql_user = fml
+
+sql_use_password =
+
+sql_database_name = fml
+
+
+
+=head2 LDAP の場合
+
+ldap_servers =
+
+# ldap_port =
+
+ldap_server_password =
+
+ldap_search_base =
+
+ldap_server_bind =
+
+ldap_query_filter =