From: watanaby <> Date: Fri, 2 Mar 2007 06:37:35 +0000 (+0000) Subject: Ver.1.4.11: Add ldap authentication. Fix malfunction in exceptional terminals. X-Git-Url: http://git.osdn.net/view?p=opengate%2Fopengate.git;a=commitdiff_plain;h=ae225dd25d34c6978be5a174b931d1cc32b0b682 Ver.1.4.11: Add ldap authentication. Fix malfunction in exceptional terminals. --- diff --git a/opengate/README b/opengate/README index ae2fb1b..e985ba6 100644 --- a/opengate/README +++ b/opengate/README @@ -74,6 +74,7 @@ opengatesrv/ Opengate server program source files auth-pam.c Authentication by PAM auth-pop3s.c Authentication by POP3S auth-rad.c Authentication by RADIUS + auth-ldap.c Authentication by LDAP/LDAPS comm-arp.c Communication with ARP comm-ndp.c Communication with NDP comm-auth.c Communication with authentication systems diff --git a/opengate/conf/opengatesrv.conf.sample b/opengate/conf/opengatesrv.conf.sample index b09539b..9120efc 100644 --- a/opengate/conf/opengatesrv.conf.sample +++ b/opengate/conf/opengatesrv.conf.sample @@ -1,15 +1,17 @@ - + - + opengate.og.saga-u.ac.jp - - +
192.168.0.2
@@ -22,9 +24,10 @@ + @@ -43,7 +46,7 @@ 1200 - 10800 + 3600 @@ -92,6 +95,9 @@ 10 + + 600 + 10 @@ -167,6 +173,18 @@ @ + + + +
+ - - - - -
- - - -

D.2 Setup of DHCPõ

-

There is a configuration file "/usr/local/etc/dhcpd.conf.sample" after instalation. Copy "dhcpd.conf.sample" to "dhcpd.conf" and edit the file. Following is a setting example.

+

There is a configuration file "/usr/local/etc/dhcpd.conf.sample" after instalation. Copy "dhcpd.conf.sample" to "dhcpd.conf" and edit the file. Following is a setting example. The lease time must be greater than the maximum usage duration (Duration/Max in opengatesrv.conf) used at sellecting time watching mode.

@@ -520,8 +520,8 @@ option subnet-mask 255.255.255.0;
 option broadcast-address 192.168.1.255;
 option routers 192.168.1.1;
 
-default-lease-time 600;
-max-lease-time 7200;
+default-lease-time 86400;
+max-lease-time 604800;
 ddns-update-style none;
 log-facility local7;
 
diff --git a/opengate/doc/ja/install.html b/opengate/doc/ja/install.html
index 7c90679..cdcfb4a 100644
--- a/opengate/doc/ja/install.html
+++ b/opengate/doc/ja/install.html
@@ -500,7 +500,7 @@ Opengate
 
 

ƒCƒ“ƒXƒg[ƒ‹ì‹Æ‚ªŠ®—¹‚·‚é‚ƁA/usr/local/etcˆÈ‰º‚Édhcpd.conf.sample‚ª¶¬‚³‚ê‚Ä‚¢‚éB“¯ƒfƒBƒŒƒNƒgƒŠ‚Édhcpd.conf‚Æ‚µ‚ăRƒs[‚µAdhcpd—p‚̐ݒèƒtƒ@ƒCƒ‹‚ðì¬‚·‚éB

-

ˆÈ‰º‚ɁAÝ’è—á‚ðŽ¦‚·B

+

ˆÈ‰º‚ɁAÝ’è—á‚ðŽ¦‚·BƒŠ[ƒXŽžŠÔ‚́AŽžŠÔŠÄŽ‹‚̏ꍇ‚ÉŽg‚¤‹–—eÅ‘厞ŠÔiopengatesrv.conf“à‚ÌDuration/Maxj‚æ‚è’·‚­‚·‚邱‚ƁB

 option domain-name "og.saga-u.ac.jp";
@@ -509,8 +509,8 @@ option subnet-mask 255.255.255.0;
 option broadcast-address 192.168.1.255;
 option routers 192.168.1.1;
 
-default-lease-time 600;
-max-lease-time 7200;
+default-lease-time 86400;
+max-lease-time 604800;
 ddns-update-style none;
 log-facility local7;
 
diff --git a/opengate/javahtml/en/accept-http.html b/opengate/javahtml/en/accept-http.html
index 7c705bd..d0f68a3 100644
--- a/opengate/javahtml/en/accept-http.html
+++ b/opengate/javahtml/en/accept-http.html
@@ -39,7 +39,7 @@ if(!navigator.javaEnabled()){
 

If yellow bar is not displayed between above two lines, please click TERMINATE -and close your browser. +and close your browser. If authentication page is not displayed, access to other web page.