[Ultrapossum-cvs 844] ultrapossum/module/server 1.23,1.24,10server

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 13日 (水) 17:06:32 JST


===================================================================
RCS file: ultrapossum/module/server/10server,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ultrapossum/module/server/10server	2004/10/10 12:05:45	1.23
+++ ultrapossum/module/server/10server	2004/10/13 08:06:32	1.24
@@ -172,10 +172,15 @@
 
 UPDATEDN=`ultrapossum_getconf UPDATEDN $UPDATERDN,$SUFFIX`
 if test "x$UPDATEREF" = "x"; then
+  if test "x$DOMAIN" = "x"; then
+    fqdn=$LDAPMASTER
+  else
+    fqdn=$LDAPMASTER.$DOMAIN
+  fi
   if test "x$LDAPLISTENPORT" != "x"; then
-    UPDATEREF="ldap://$LDAPMASTER:$LDAPLISTENPORT/"
+    UPDATEREF="ldap://$fqdn:$LDAPLISTENPORT/"
   else
-    UPDATEREF="ldap://$LDAPMASTER/"
+    UPDATEREF="ldap://$fqdn/"
   fi
 fi
 



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