[Ultrapossum-cvs 556] ultrapossum/module/startTLS 1.1,1.2,11startTLS

Back to archive index

Masato Taruishi taru****@users*****
2004年 9月 24日 (金) 23:05:57 JST


===================================================================
RCS file: ultrapossum/module/startTLS/11startTLS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ultrapossum/module/startTLS/11startTLS	2004/06/24 08:43:02	1.1
+++ ultrapossum/module/startTLS/11startTLS	2004/09/24 14:05:57	1.2
@@ -66,14 +66,20 @@
 
 # URIs to accept
 LDAPSLISTENPORT=$(ultrapossum_getconf LDAPSLISTENPORT "$ldapslistenport")
-LDAPSURILIST=$(ultrapossum_getconf LDAPSURILIST ldaps://:$LDAPSLISTENPORT/)
+if test "x$LDAPSLISTENPORT" != "x"; then
+  LDAPSURILIST=$(ultrapossum_getconf LDAPSURILIST ldaps://:$LDAPSLISTENPORT/)
+else
+  LDAPSURILIST=$(ultrapossum_getconf LDAPSURILIST "ldaps:///")
+fi
 
 fi #cache
 
 eval "`ultrapossum_parse_config startTLS`"
 
 if test "x$ULTRAPOSSUM_MODULE_STARTTLS" = "xinstalled"; then
-  SLAPDURILIST="$SLAPDURILIST $LDAPSURILIST"
+  if test "x$LDAPSURILIST" != "x"; then
+    SLAPDURILIST="$SLAPDURILIST $LDAPSURILIST"
+  fi
   CHROOTFILES="$CHROOTFILES $TLSCERTIFICATEFILE $TLSCERTIFICATEKEYFILE"
 fi
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index